Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

More var woes: MySQL won't start; audits logged



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










BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org