Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927708 - app-containers/podman-5.0.0: fails to build when SELinux enabled
Summary: app-containers/podman-5.0.0: fails to build when SELinux enabled
Status: RESOLVED DUPLICATE of bug 927966
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-24 12:11 UTC by Ed Santiago
Modified: 2024-04-03 14:15 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Santiago 2024-03-24 12:11:51 UTC
....
test -z "-Z" || chcon -t container_runtime_exec_t bin/podman
chcon: failed to change context of 'bin/podman' to ‘unconfined_u:object_r:container_runtime_exec_t’: Invalid argument
make: *** [Makefile:358: bin/podman] Error 1
 * ERROR: app-containers/podman-5.0.0::gentoo failed (compile phase):

Reproducible: Always




`container_runtime_exec_t` is defined in https://github.com/containers/container-selinux/  which AFAICT is not packaged for Gentoo
Comment 1 Rahil Bhimjiani 2024-03-24 15:18:01 UTC
> which AFAICT is not packaged for Gentoo

We do have sec-policy/selinux-podman, which might be outdated at this point. I would love to update it but don't have SELinux gentoo machine. 

On my main machine, I can't do it thanks to +homed. (I've to choose between SElinux and homed). I've yet to learn how to setup KVM/QEMU vm. Dont want to spend on cloud VM (VPS)
Comment 2 Kenton Groombridge gentoo-dev 2024-04-03 14:15:32 UTC

*** This bug has been marked as a duplicate of bug 927966 ***