-
In: https://github.com/containers/bootc#using-bootc-install $ podman run --privileged would force spc_t which is unconfined and should be able to do the boot install. Secondarily are you saying all bootc images will have an embeded bootc? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
And more. Today I landed code such that bootc goes to quite some effort to re-exec itself as Line 43 in 53cd1e6 (We also need to mount selinuxfs in the container, and re-exec ourself for that)
Yes, so they can perform in-place OS updates after install via This said...running the install as a privileged container but OS updates directly on the host does argue for potentially also running OS updates as a privileged container too. But my hesitation in going down this route is that it is more likely to create chicken/egg problems where your container runtime is broken, and it'd be fixed by an OS update, but to apply that OS update you need a container runtime... |
Beta Was this translation helpful? Give feedback.
spc_t
doesn't havemac_admin
which allows writing unknown selinux labels. We haveinstall_t
today. If you recall this distinction has been a huge ongoing source of trouble.And more.
Today I landed code such that bootc goes to quite some effort to re-exec itself as
install_t
. Seebootc/lib/src/lsm.rs
Line 43 in 53cd1e6
(We also need to mount selinuxfs in the container, and re-exec ourself for that)