-
Notifications
You must be signed in to change notification settings - Fork 107
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
c9s: afterburn hitting selinux denials when installing an OKD cluster #1555
Comments
aleskandro
added a commit
to aleskandro/openshift-os
that referenced
this issue
Jul 18, 2024
This commit implements a systemd unit to apply custom SELinux modules in SCOS shipped as CILs in the read-only /usr/lib/okd/selinux/ folder. Refers openshift#1555
aleskandro
added a commit
to aleskandro/openshift-os
that referenced
this issue
Jul 18, 2024
Adds a systemd unit to load custom SELinux rules and workaround for afterburn failures the afterburn systemd units fail as the SELinux domain of the afterburn binary is restricted from changing the content of files in /run, /run/metadata and /home/$user/.ssh. This commit adds a afterburn-custom.cil SELinux module to allow the afterburn services to succeed and the nodes to properly join a cluster. The module is loaded by the okd-selinux.service implemented by 336013f Refers openshift#1555
aleskandro
added a commit
to aleskandro/openshift-os
that referenced
this issue
Jul 18, 2024
the afterburn systemd units fail as the SELinux domain of the afterburn binary is restricted from changing the content of files in /run, /run/metadata and /home/$user/.ssh. This commit adds a afterburn-custom.cil SELinux module to allow the afterburn services to succeed and the nodes to properly join a cluster. The module is loaded by the okd-selinux.service implemented by 336013f Refers openshift#1555
aleskandro
added a commit
to aleskandro/openshift-os
that referenced
this issue
Jul 18, 2024
This commit implements a systemd unit to apply custom SELinux modules in SCOS shipped as CILs in the read-only /usr/lib/okd/selinux/ folder. Refers openshift#1555
aleskandro
added a commit
to aleskandro/openshift-os
that referenced
this issue
Jul 18, 2024
the afterburn systemd units fail as the SELinux domain of the afterburn binary is restricted from changing the content of files in /run, /run/metadata and /home/$user/.ssh. This commit adds a afterburn-custom.cil SELinux module to allow the afterburn services to succeed and the nodes to properly join a cluster. The module is loaded by the okd-selinux.service implemented by 336013f Refers openshift#1555
aleskandro
added a commit
to aleskandro/openshift-os
that referenced
this issue
Jul 18, 2024
the afterburn systemd units fail as the SELinux domain of the afterburn binary is restricted from changing the content of files in /run, /run/metadata and /home/$user/.ssh. This commit adds a afterburn-custom.cil SELinux module to allow the afterburn services to succeed and the nodes to properly join a cluster. The module is loaded by the okd-selinux.service implemented by 336013f Refers openshift#1555
aleskandro
added a commit
to aleskandro/openshift-os
that referenced
this issue
Jul 19, 2024
the afterburn systemd units fail as the SELinux domain of the afterburn binary is restricted from changing the content of files in /run, /run/metadata and /home/$user/.ssh. This commit adds a afterburn-custom.cil SELinux module to allow the afterburn services to succeed and the nodes to properly join a cluster. The module is loaded by the okd-selinux.service implemented by 336013f Refers openshift#1555
aleskandro
added a commit
to aleskandro/openshift-os
that referenced
this issue
Jul 19, 2024
the afterburn systemd units fail as the SELinux domain of the afterburn binary is restricted from changing the content of files in /run, /run/metadata and /home/$user/.ssh. This commit adds a afterburn-custom.cil SELinux module to allow the afterburn services to succeed and the nodes to properly join a cluster. The module is loaded by the okd-selinux.service implemented by 336013f Refers openshift#1555
aleskandro
added a commit
to aleskandro/openshift-os
that referenced
this issue
Jul 19, 2024
the afterburn systemd units fail as the SELinux domain of the afterburn binary is restricted from changing the content of files in /run, /run/metadata and /home/$user/.ssh. This commit adds a afterburn-custom.cil SELinux module to allow the afterburn services to succeed and the nodes to properly join a cluster. The module is loaded by the okd-selinux.service implemented by 336013f Refers openshift#1555
aleskandro
added a commit
to aleskandro/openshift-os
that referenced
this issue
Jul 19, 2024
This commit implements a systemd unit to apply custom SELinux modules in SCOS shipped as CILs in the read-only /usr/lib/okd/selinux/ folder. Refers openshift#1555
aleskandro
added a commit
to aleskandro/openshift-os
that referenced
this issue
Jul 19, 2024
the afterburn systemd units fail as the SELinux domain of the afterburn binary is restricted from changing the content of files in /run, /run/metadata and /home/$user/.ssh. This commit adds a afterburn-custom.cil SELinux module to allow the afterburn services to succeed and the nodes to properly join a cluster. The module is loaded by the okd-selinux.service implemented by 336013f Refers openshift#1555
aleskandro
added a commit
to aleskandro/openshift-os
that referenced
this issue
Jul 21, 2024
the afterburn systemd units fail as the SELinux domain of the afterburn binary is restricted from changing the content of files in /run, /run/metadata and /home/$user/.ssh. This commit adds a afterburn-custom.cil SELinux module to allow the afterburn services to succeed and the nodes to properly join a cluster. The module is loaded by the okd-selinux.service implemented by 336013f Refers openshift#1555
Can you file a bug on the RHEL board against the selinux-policy component and the version set to CentOS Stream 9? |
@aleskandro already filed: https://issues.redhat.com/browse/RHEL-49735 |
aleskandro
added a commit
to aleskandro/openshift-os
that referenced
this issue
Aug 6, 2024
the afterburn systemd units fail as the SELinux domain of the afterburn binary is restricted from changing the content of files in /run, /run/metadata and /home/$user/.ssh. This commit adds a afterburn-custom.cil SELinux module to allow the afterburn services to succeed and the nodes to properly join a cluster. The module is loaded by the okd-selinux.service implemented by 336013f Refers openshift#1555
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When installing an OKD cluster, some nodes do not come up. It turns out they do not have a node name because the afterburn service does not run. It errors out due to selinux denials:
Also, the denials in the audit logs:
This has started happening after #1552 where we had to use selinux version
selinux-policy-38.1.36-1.el9
asselinux-policy-38.1.36-1.el9
is not available anymore (#1514).The text was updated successfully, but these errors were encountered: