rootlesskit
rootlesskit copied to clipboard
mountSysfs needs to mount /sys/fs/selinux ?
https://github.com/rootless-containers/rootlesskit/blob/cde143e20a310dcca921caf8abe9bfb5de2a093d/pkg/child/child.go#L78-L95
According to https://github.com/podenv/silverkube/blob/eb3fac03bdbcc7a2e9a25c255a8146287269a2df/silverkube.py#L132 , it seems the function needs to mount /sys/fs/selinux as well as /sys/fs/cgroup ?
cc @TristanCacqueray
IIRC /sys/fs/selinux was not mounted and that caused some SELinux related code to fail early. Though mounting it was not enough and I didn't pursue making it work.