[systemd-devel] systemd - move /selinux to /sys/fs/selinux - maybe remove /srv ?

Lennart Poettering mzerqung at 0pointer.de
Fri Apr 29 16:11:00 PDT 2011


On Fri, 29.04.11 11:07, Stephen Smalley (sds at tycho.nsa.gov) wrote:

> On Fri, 2011-04-29 at 00:37 +0200, Michał Piotrowski wrote:
> > Hi,
> > 
> > I think it's a very good decision - I never understood why selinux dir
> > is directly under /.
> 
> I guess I missed some discussion of this.  You'd need to update
> libselinux at least, definition of SELINUXMNT in
> libselinux/src/policy.h, used by selinux_init_load_policy() to mount
> selinuxfs for initial policy load.  And it may break rc scripts and
> other scripts/programs that have become accustomed to /selinux.

Yupp, systemd would also need a fix for this. But I'd be more than happy
to make this change.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list