[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: mount point labels
- From: Stephen Smalley <sds tycho nsa gov>
- To: "Clarkson, Mike R (US SSA)" <mike clarkson baesystems com>
- Cc: Eric Paris <eparis parisplace org>, Daniel J Walsh <dwalsh redhat com>, fedora-selinux-list redhat com
- Subject: RE: mount point labels
- Date: Tue, 01 May 2007 12:42:49 -0400
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]