Re: Urgent help on replacing /var

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



On 8/3/12, Lamar Owen <lowen@xxxxxxxx> wrote:
> On Friday, August 03, 2012 06:24:46 AM Emmanuel Noobadmin wrote:
>> In a moment of epic stupidity, having ran out of space on the root
>> partition of a server due to /var chewing up the space, I added a
>> separate drive for the purpose of mounting it as /var
> ...
>
> This sort of things pops up from time to time.... from a thread back in
> April.....

Lesson learnt, never try to fix things I'm not familiar with when
feeling pressured by relentless error messages, especially if nobody
else is complaining yet.

>> rpm -qa | while read line; do echo $line && rpm --setperms $line; done
>>

> By extension:
>
> rpm -qa | while read line; do echo $line && rpm --setugids $line; done
>
> should handle ownerships.  Then, reenable selinux in permissive mode, and
> set it to relabel on the next boot.

Thanks for this tip, I'll try it and then see if there is anything
else in audit log that needs attention.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux