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
질문됨 2년 전1995회 조회
1개 답변
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
전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠