[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: problems with tmpfs and relabeling
- From: Bill Nottingham <notting redhat com>
- To: Stephen Smalley <sds tycho nsa gov>
- Cc: fedora-selinux-list redhat com
- Subject: Re: problems with tmpfs and relabeling
- Date: Tue, 18 Apr 2006 16:48:34 -0400
Bill Nottingham (notting redhat com) said:
> > > mount -o fscontext=system_u:object_r:fs_t:s0 ...
> >
> > Considering this is scratch space that will be used just like
> > the 'stock' filesystem for various things (/var, /etc state
> > files, etc.), this seems to be the right solution. I'll try
> > this.
>
> So, this doesn't work for me... the initial mount of the tmpfs
> fails (with no avc). Subsequent mounts succeed, but, well, at that point
> you're screwed.
Aha, it's failing because system_u:system_r:mount_t can't
relabel a filesystem to system_u:object_r:fs_t.
Bill
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]