Le Wed, 25 Jul 2012 11:24:52 +0200,
Andreas Beckmann <[email protected]> a écrit :

> On 2012-07-19 11:36, Laurent Bigonville wrote:
> > The current version of libselinux is checking both /sys/fs/selinux
> > and /selinux (in that order) to find a selinuxfs, so things should
> > continue to work properly in any cases.
> 
> So squeeze uses /selinux, wheezy uses /sys/fs/selinux as mountpoint?

Yes in squeeze, selinuxfs is mounted /selinux. On wheezy (and later) it
will first try to mount it on /sys/fs/selinux and then, if that
directory is not available, on /selinux as a fallback.

> When doing squeeze (or squeeze2anything) tests - what is the correct
> mountpoint inside the chroot? What if the hosts runs squeeze? What if
> the host runs wheezy?

I the squeeze2anything case, the filesystem should still be mounted
in /selinux.

I was proposing moving to /sys/fs/selinux only for consistency with the
host machine. Maybe this could be postponed for later.

Cheers

Laurent Bigonville


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to