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?

K676
已提问 1 年前915 查看次数
1 回答
1
已接受的回答

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

profile picture
专家
已回答 1 年前
profile picture
专家
已审核 1 个月前
  • 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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则