Re: Bind mounts with fedora 9

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

 



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

> Hello
> 
> 2008/6/4 Paul Howarth <paul@xxxxxxxxxxxx>:
> > 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.

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux