Re: MySQL custom datadir location - other daemons too

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

 



(re-sending reply to mailing list, Reply-To is broken for this list)

Jan-Frode Myklebust wrote:

It seems you're moving /var/lib/mysql to /db/mysql

true

I've found that if I mount /db like this, SELinux does not complain anymore:

mount -o defcontext=system_u:object_r:var_t /db

The new problem is, if I put defcontext=... in /etc/fstab, for some
reason /db errors out when the system boots up and tries to mount it, so
/db ends up not mounted.

But, I'm quite uncertain on how to map your tmpdir and basedir.

tmpdir=/db/tmp/
basedir=/db

What where the original location of these ?

tmpdir=/tmp/
basedir=/var/lib

--
Florin Andrei

http://florin.myip.org/

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

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux