No chance of using SELinux on rootfs without security namespace?
I just realized -- my rootfs doesn't support xattr (reiser4).
Is there any chance I can use SELinux?
It would be difficult at best, unless you are only using it for a minimalist root and everything else is on some other filesystem type. Without xattrs, you do not have per-file security labels and therefore cannot set up automatic domain transitions on any of the executables in that filesystem or otherwise distinguish any of those files in the policy. Lack of xattr support in a native Linux filesystem is a significant drawback these days; xattrs are used not only for SELinux but also for ACLs, file capabilities, and various application purposes (user. namespace). reiser4 isn't in mainline AFAIK.
Quoted 9 lines · dE
I just realized -- my rootfs doesn't support xattr (reiser4).
Is there any chance I can use SELinux?
_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected]. To get help, send an email containing "help" to [email protected].
Quoted 10 lines · Stephen Smalley
It would be difficult at best, unless you are only using it for a minimalist root and everything else is on some other filesystem type. Without xattrs, you do not have per-file security labels and therefore cannot set up automatic domain transitions on any of the executables in that filesystem or otherwise distinguish any of those files in the policy. Lack of xattr support in a native Linux filesystem is a significant drawback these days; xattrs are used not only for SELinux but also for ACLs, file capabilities, and various application purposes (user. namespace). reiser4 isn't in mainline AFAIK.
Quoted 10 lines
Quoted 9 lines · dE
I just realized -- my rootfs doesn't support xattr (reiser4).
Is there any chance I can use SELinux?
_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected]. To get help, send an email containing "help" to [email protected].
Thanks for clarifying that.
I'll try out SELinux in that fedora VM.