All of lore.kernel.org
 help / color / mirror / Atom feed
* [Fwd: Re: bind-mounted homedirs]
@ 2009-02-10 19:22 Daniel J Walsh
  0 siblings, 0 replies; only message in thread
From: Daniel J Walsh @ 2009-02-10 19:22 UTC (permalink / raw)
  To: SE Linux

[-- Attachment #1: Type: text/plain, Size: 1777 bytes --]

-----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: pgega@secpay.com
Organization: PayPoint.net
To: Daniel J Walsh <dwalsh@redhat.com>, Paul Howarth <paul@city-fan.org>
CC: fedora-selinux-list@redhat.com
References: <49787F7C.2090907@city-fan.org>
<20090126203147.75c37c15@metropolis.intra.city-fan.org>
<497F13A8.9050105@redhat.com>

Hello,

> 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-----

[-- Attachment #2: Attached Message Part --]
[-- Type: text/plain, Size: 127 bytes --]

--
fedora-selinux-list mailing list
fedora-selinux-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[-- Attachment #3: Attached Message Part.sig --]
[-- Type: application/octet-stream, Size: 72 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-10 19:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-10 19:22 [Fwd: Re: bind-mounted homedirs] Daniel J Walsh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.