Skip to content

How to update systemd to version >219 on Amazon Linux 2

0

I have an EC2 running Amazon Linux 2 with systemd version 219 installed. I want to update to newer version but after using sudo yum update systemd, the answer is "No packages marked for update". Is there systemd version >219 available for Amazon Linux 2? If so how to get it updated?

asked 3 years ago1.7K views
1 Answer
1
Accepted Answer

I checked the following release notes and "219" is the latest.
https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-20221216.html

EXPERT
answered 3 years ago
EXPERT
reviewed 2 years ago
  • That means we don't have latest systemd versions as per https://github.com/systemd/systemd/releases for Amazon Linux 2 then. I was hoping to set one of my systemd services to auto restart using RuntimeMaxSec property but that's supported by systemd v >=229.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.