RE: mount point labels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux