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

Daniel J Walsh dwalsh at redhat.com
Fri Apr 29 08:21:59 PDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/29/2011 11:07 AM, Stephen Smalley 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.
> 

Here is the patch I am thinking about.

I think mock might need to be updated, maybe livecd tools.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk2615cACgkQrlYvE4MpobPYlQCfeB3H0/eTVITUbOkv66/P+0DB
7pAAn3nYJZSDLyJnDv7+VXwTlZQ3TW9R
=2hkb
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libselinux-mountpoint.patch
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110429/da402ad7/attachment-0001.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libselinux-mountpoint.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110429/da402ad7/attachment-0001.pgp>


More information about the systemd-devel mailing list