Skip to contentSkip to conversation

[Fwd: Re: bind-mounted homedirs]

Fwd: Re: bind-mounted homedirs Daniel J Walsh 1 participant 1 message Feb 10, 2009 SELinux security module

lore
Share & tools
lore
#0 lore raw

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

Still trying to think of a good solution for alternate file layouts.

This email below points out another problem in addition to /home mapping.

Maybe we could add a
semanage fcontext --duplicate /home /exports/home semanage fcontext --duplicate /var/log /cluster/log

Which would cause semanage to duplicate all file context mappings that begin with the prefix /home to /exports/home.

What do you think?

- -------- Original Message --------
Subject: Re: bind-mounted homedirs
Date: Wed, 4 Feb 2009 09:26:06 +0000
From: [email protected]
Organization: PayPoint.net
To: Daniel J Walsh <[email protected]>, Paul Howarth <[email protected]>
CC: [email protected]
References: <[email protected]> <[email protected]> <[email protected]>

Hello,

Quoted 2 lines

File, but I think the solution is to be able to add alternative roots in
the libsemanage.conf file and have it do the labeling for you.

I do have a very similar problem - I run a bit modified version of base filesystem (for cluster purpose) and some directories are moved to /node or /cluster and symlinked to original location.
For example there is /var/log which is a symlink to /node/var/log. And during relabels/restorecon log files in /node/var/log are not labeled properly (labeled as default_t).

It's not really possible to give alternative root paths in semanage.conf, is it ?
If so ,that would solve my problem.

Kind Regards,
Pawel Gega

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

iEYEARECAAYFAkmR1AwACgkQrlYvE4MpobMiwwCgutTQapXKuhwdIjDhGU3wPoBb EV8AoOtxtO8PN22CTw2jRnndTaS+Zl0W
=Bfta
-----END PGP SIGNATURE-----

--
fedora-selinux-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-selinux-list