FC6 crashed/ rc.sysinit

jim tate mickeyboa at sbcglobal.net
Sat Dec 30 02:06:39 UTC 2006


On bootup  FC6 crashes and locks up box.  

Error message:  /etc/rc.d/rc.sysinit: Line 821  1499 Seg. Fault  rm -f 
$afile/*   

Below is the section in rc.sysinit, and line 821 is indicated below, is 
where crash happens.
 What can I do to fix problem?

 
# Clean up /var.  I'd use find, but /usr may not be mounted.
for afile in /var/lock/* /var/run/* ; do
    if [ -d "$afile" ]; then

Line 821       case "$afile" in
                     */news|*/mon)    ;;
                     */sudo)        rm -f $afile/*/* ;;
                     */vmware)    rm -rf $afile/*/* ;;
                     */samba)    rm -rf $afile/*/* ;;
                     */screen)    rm -rf $afile/* ;;
                     */cvs)        rm -rf $afile/* ;;
                     */dovecot)    rm -f $afile/*/* ;;
                     */cups)        rm -f $afile/*/* ;;
                     *)        rm -f $afile/* ;;
       esac
    else
       rm -f $afile
    fi
done
rm -f /var/lib/rpm/__db* &> /dev/null
rm -f /var/gdm/.gdmfifo &> /dev/null



Any Ideals
Jim
 




More information about the fedora-list mailing list