techniques to fix damaged systems

NiftyFedora Mitch niftyfedora at niftyegg.com
Fri Sep 19 18:58:04 UTC 2008


On Fri, Sep 19, 2008 at 5:02 AM, Dr. Michael J. Chudobiak
<mjc at avtechpulse.com> wrote:
>> rpm -qa | xargs yumdownloader
>> rpm -Uvh --force *.rpm
>
> For the curious, this did in fact restore my system. I also ran
>
> touch /.autorelabel
> touch /.autofsck
>

The two "touch" commands should do less than the expected...

/.autofsck  is removed in a normal reboot.
It has value in an abnormal reboot often
after a power failure for example.

I think the user was expecting the result of

    touch /forcefsck

In the normal case /.autorelabel is also removed
Look at /etc/rc.sysinit for the place where mount points
are autorelabled when AUTORELABEL is tested for
both from /etc/selinux/config and the kernel command line.






-- 
 NiftyFedora
 T o m M i t c h e l l




More information about the fedora-list mailing list