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

Re: Bind mounts with fedora 9



On Tue, 10 Jun 2008 21:45:29 -0400
"Sergio Pascual" <sergio pasra gmail com> wrote:

> Hello
> 
> 2008/6/4 Paul Howarth <paul city-fan org>:
> > Or:
> > # umount /var/lib/mysql
> > # chcon -t mnt_t /var/lib/mysql
> > # service netfs start
> >
> 
> This can't be, because /var/lib/mysql has to be mysqld_db_t in order
> to work

Yes it can. The mount point should be mnt_t so that it can have
something mounted on it, and then the filesystem that is mounted there
has a context type of mysqld_db_t at its top level so everything works
as normal. That is why I suggested unmounting the filesystem before
fixing the label, and then re-mounting it (as "service netfs start"
would do, emulating the boot process).

Paul.


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