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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南