Updating Amazon Linux 2 packages selinux-policy and selinux-policy-targeted

0

I'm trying to install snapd on my system, but when running **yum install snapd ** I get the following error:

Error: Package: snapd-selinux-2.54.1-1.el7.noarch (epel) Requires: selinux-policy-base >= 3.13.1-268.el7_9.2

While there are various packages that provide selinux-policy-base, the latest version available seems to be: 3.13.1-192.amzn2.6.7, not the required 3.13.1-268. However, according to the Amazon Linux 2 release notes (https://aws.amazon.com/amazon-linux-2/release-notes/), the Amazon Linux 2.0.20211201.0 Update should provide both selinux-policy-3.13.1-268.amzn2.2.2.noarch and selinux-policy-targeted-3.13.1-268.amzn2.2.2.noarch.

My understanding is that Amazon Linux 2 should do an in place upgrade simply by running yum upgrade, but I've tried this to no avail. What's also interesting is that other packages in the Amazon Linux 2.0.20211201.0 Update are available. For instance nspr-4.32.0-1.amzn2.x86_64 and nss-softokn-3.67.0-3.amzn2.x86_64 are both there.

How do I get the latest Amazon Linux versions of selinux-policy-base and selinux-policy-targeted?

mighty
gefragt vor 2 Jahren1995 Aufrufe
1 Antwort
0

Amazon Linux 2 does not support SELinux. Amazon Linux 2022 (now in preview) and Bottlerocket both support SELinux, though.

I do not believe AL2 supports snapd, either.

AWS
EXPERTE
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen