mount point labels
Stephen Smalley
sds at tycho.nsa.gov
Tue May 1 16:42:49 UTC 2007
On Tue, 2007-05-01 at 09:20 -0700, Clarkson, Mike R (US SSA) wrote:
> The kernel version is 2.6.18-8.1.1.el5, and the version of nfs-utils is
> 1:1.0.9-16.el5.
>
> I do already have the same file system automounted elsewhere. Is that
> causing the problem?
Yes, the context= mount must be applied on the first mount of the
filesystem or it has no effect.
> By the way, can mount point labels be applied to automounted file
> systems? If so, how would I do that? Would I put the label into the
> automount file (auto.*) in the /etc directory?
You can specify mount options in your automounter maps (like
auto.master), so you should be able to specify a context= option there
too. I haven't specifically tried it though.
--
Stephen Smalley
National Security Agency
More information about the fedora-selinux-list
mailing list