-
Notifications
You must be signed in to change notification settings - Fork 381
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
[RFE] oc debug node: Use unconfined_t
as SELinux context for debug container
#641
Comments
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
We encountered this issue again in https://bugzilla.redhat.com/show_bug.cgi?id=1924926. Can I get an initial review? Should I start working on it? |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
Run the node debug pod under an unconfined SELinux context (unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023) to avoid issues with the `spc_t` context. Fixes: openshift#641 See also: - https://bugzilla.redhat.com/show_bug.cgi?id=1839065 - https://bugzilla.redhat.com/show_bug.cgi?id=1896369
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
Run the node debug pod under an unconfined SELinux context (unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023) to avoid issues with the `spc_t` context. Fixes: openshift#641 See also: - https://bugzilla.redhat.com/show_bug.cgi?id=1839065 - https://bugzilla.redhat.com/show_bug.cgi?id=1896369
According to Daniel Walsh 2020-05-29 17:41:48 UTC, the source problem was fixed in container-selinux v2.135.0. Should this issue be closed then? |
The last time I check, it wasn't fixed. I had made: #842 |
The SELinux policy has been changed to allow container runtimes to create unconfined container for host debugging (BZ#1839065) instead of using the
spc_t
semi-restricted context that leads to weird error cases (BZ#1896369).This is released with RHSA-2020:3053.
For OCP, this can be enabled starting with 4.6 as it includes the fixed SELinux policy in the release image.
For OKD, this can be enabled starting with 4.6 as Fedora CoreOS has included the fix for a while.
The text was updated successfully, but these errors were encountered: