Hi Majoosh, thanks.
But I created an empty /var/lib/mysql partition before I wanted to install mysql. With the result that I could not install mysql successfully. I probably have to re-enact it again because I do not remember whether the install failed or the server did not start up. It was the later, I think. Regards Peter On Wed, Sep 23, 2015 at 12:12 PM, majoosh chacko <[email protected]> wrote: > > Before moving the data do an ls -aliZ /var/lib/ | grep -i mysql and use > the same security context accordingly once you move it to new > server/partition using "chcon" > > Regards > Majoosh > > > On Wed, Sep 23, 2015 at 11:53 AM, Peter Ross <[email protected]> wrote: > >> Hi all, >> >> one of my "lingering issues" since I am back working in Linuxland >> (especially CentOS): >> >> I have the "habit" to have dedicated virtual disks (or similar) for data, >> e.g. /var/lib/mysql (so I can snapshot them separately, clone and move >> between VMs etc.) >> >> But that makes SELinux unhappy. I was surprised, actually.. >> >> What do I have to add to the SELinux contexts to allow this to happen? >> >> Regards >> Peter >> >> >> _______________________________________________ >> luv-main mailing list >> [email protected] >> http://lists.luv.asn.au/listinfo/luv-main >> >> >
_______________________________________________ luv-main mailing list [email protected] http://lists.luv.asn.au/listinfo/luv-main
