[Piuparts-devel] Bug#682068: piuparts: Please mount selinuxfs to /sys/fs/selinux
Laurent Bigonville
bigon at debian.org
Mon Jul 30 14:31:35 UTC 2012
Le Wed, 25 Jul 2012 11:24:52 +0200,
Andreas Beckmann <debian at abeckmann.de> 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
More information about the Piuparts-devel
mailing list