-
Notifications
You must be signed in to change notification settings - Fork 49
[RFE] rework SELinux patches #695
Copy link
Copy link
Open
Labels
area/selinuxIssues related to SELinuxIssues related to SELinuxkind/debtTechnological debt.Technological debt.
Description
Current situation
On Flatcar, we have SELinux patches. Some of these are quite old and could be upstreamed or purely deleted. Let's gather the feedback we had from an interesting discussion with https://wiki.gentoo.org/wiki/Project:SELinux folks:
-
selinux-unconfined: no customization -> let's move it to::portage-stable: sec-policy/selinux-unconfined: move from ::coreos-overlay flatcar-archive/portage-stable#314 -
icmp-bindcould be replaced withuser_ping boolean? (@krnowak if you want to try it ?) -
unlabeled.patchcould be upstreamed to refpolicy -
sshd.patchis broken (unconfined_t is not a file type so you cant put it on fcontexts) -
logging.patchseems fine, it has to use an interface (cant use kernel_t outside of kernel.te/if) could go upstream -
locallogin.patchcould go upstream - https://github.com/flatcar-linux/coreos-overlay/blob/main/sec-policy/selinux-base/files/0001-policy-ms-MCS-restricts-relabelfrom.patch could go upstream but need investigation
This is required for #673
Thanks a lot @perfinion for your time and your feedback :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/selinuxIssues related to SELinuxIssues related to SELinuxkind/debtTechnological debt.Technological debt.
Type
Projects
Status
🪵Backlog