More var woes: MySQL won't start; audits logged
Jarod Wilson
jarod-ajLrJawYSntWk0Htik3J/w at public.gmane.org
Fri Jun 12 14:52:30 EDT 2009
On Jun 12, 2009, at 2:38 PM, david-8uUts6sDVDvs2Lz0fTdYFQ at public.gmane.org wrote:
>> Boot the live cd, and mount the original / and the new /var
>> partitions.
>> mv /oldroot/var/* /newvar/
>> edit /oldroot/etc/fstab to add entry for newvar
>> touch /oldroot/.autorelabel
>
> That's pretty much what I did, except for the .autorelabel part.
> What is
> that?
selinux security context relabeling.
>> The last step should fix selinux before anything could fail because
>> of it.
>> There's a way you could do it while booted in the liveCD (involving
>> chroot
>> and
>> restorecon), but it's easier (but more time-consuming w.r.t. system
>> downtime)
>> to just relabel everything.
>
> Ah. I forgot about selinux. I despise it. It's caused me nothing but
> pain. Is that what the audit messages were from?
Possibly. audit and selinux are separate-but-incestuously-related
beasts... The blunt instrument route is to simply boot with the added
kernel params 'selinux=0 audit=0'.
--
Jarod Wilson
jarod-ajLrJawYSntWk0Htik3J/w at public.gmane.org
More information about the Discuss
mailing list