Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Package Request] - container-selinux #56

Closed
ripta opened this issue Dec 4, 2021 · 4 comments
Closed

[Package Request] - container-selinux #56

ripta opened this issue Dec 4, 2021 · 4 comments
Labels
enhancement New feature or request packages Package request
Milestone

Comments

@ripta
Copy link

ripta commented Dec 4, 2021

What package is missing from Amazon Linux 2022? Please describe and include package name.
container-selinux, which provides SELinux policies for container runtimes

Is this an update to existing package or new package request?
This is a new package request.

Is this package available in Amazon Linux 2?
No, container-selinux isn't available on AL2, but AL2 runs with SELinux disabled by default. On the other hand, AL2022 runs with SELinux enabled and enforcing by default.

@edwardvdv
Copy link

👍 Was about to open a new issue when I saw this. I completely agree, this is essential to make containerized workloads run in an SELinux enabled environment.

@stewartsmith
Copy link
Member

Naturally, this is a part of implementing #3 - but it's probably worthwhile we keep this open tracking the container-selinux package itself'

@stewartsmith stewartsmith added the packages Package request label Dec 5, 2021
@stewartsmith stewartsmith added the enhancement New feature or request label Jan 3, 2022
@samuelkarp
Copy link

No, container-selinux isn't available on AL2, but AL2 runs with SELinux disabled by default.

Hi @ripta! Just for completeness here: container-selinux is available in the Amazon Linux 2 selinux-ng Extra. You can enable the Extra and install the package as follows:

# amazon-linux-extras enable selinux-ng
# yum install container-selinux

@stewartsmith
Copy link
Member

bash-5.1# dnf info container-selinux
Last metadata expiration check: 4:03:05 ago on Fri Nov  4 16:47:43 2022.
Available Packages
Name         : container-selinux
Epoch        : 2
Version      : 2.189.0
Release      : 287.amzn2022
Architecture : noarch
Size         : 52 k
Source       : container-selinux-2.189.0-287.amzn2022.src.rpm
Repository   : amazonlinux
Summary      : SELinux policies for container runtimes
URL          : https://github.com/containers/container-selinux
License      : GPLv2
Description  : SELinux policy modules for use with container runtimes.

this is now in AL2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request packages Package request
Projects
None yet
Development

No branches or pull requests

4 participants