[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: Forrest Taylor <ftaylor redhat com>
- Cc: Eric Paris <eparis parisplace org>, Daniel J Walsh <dwalsh redhat com>, Fedora SELinux List <fedora-selinux-list redhat com>
- Subject: RE: mount point labels
- Date: Wed, 02 May 2007 07:29:44 -0400
On Tue, 2007-05-01 at 14:34 -0600, Forrest Taylor wrote:
> On Tue, 2007-05-01 at 12:42 -0400, Stephen Smalley wrote:
> > > 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.
>
> I cannot get this to work in RHEL5. It complains if I have it in
> auto.master (syntax error), so I tried to place an entry in auto.misc
> (for /misc). It will mount, but not with the context that I specified.
> The logs mention that it is using genfs_contexts.
>
> Looking at the mounts, I see that the options for the autofs mount point
> include: context=""
>
> So, the options are not getting passed to the mount command, or are
> being overridden by automount. Any other ideas?
File a bug against autofs?
--
Stephen Smalley
National Security Agency
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]