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

Lennart Poettering mzerqung at 0pointer.de
Fri Apr 29 15:56:26 PDT 2011


On Fri, 29.04.11 00:37, Michał Piotrowski (mkkp4x4 at gmail.com) wrote:

> Hi,
> 
> I think it's a very good decision - I never understood why selinux dir
> is directly under /.

Yes, I think this would be a good thing to have in F16.

Note however that this needs a tiny kernel patch to work, to create the
mount point under /sys/fs/selinux. This is a trivial patch and has been
done for /sys/fs/cgroup before, so I assume this would be easy to get
in and just needs a champion to push this forward.

> By the way, maybe it would be good to think about the meaning of /srv
> existance? For seven years FHS requires that this directory exists
> http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE16A
> but "The methodology used to name subdirectories of /srv is
> unspecified as there is currently no consensus on how this should be
> done" - so even the authors of the standard did not have anything to
> say about how this directory should be used. Is there a rational
> reason for the existence of this directory besides FHS conformance?

I think /srv actually makes a lot of sense. Probably not so much on the
desktop, but the boundaries are blurry, and I see no reason to set
things up differently in this respect between servers and desktops. I
see little benefit in removing this directory.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list