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
demandé il y a un an915 vues
1 réponse
1
Réponse acceptée

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

profile picture
EXPERT
répondu il y a un an
profile picture
EXPERT
vérifié il y a un mois
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions