From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Description of problem:
If the system crashes hard, then when the system starts up, some services
refuse to start because they have locks set in the /var/lock/subsys directory.
Basically, need to mod rc.sysinit to clear that directory. Maybe you could
make a directory like /etc/sysinit-clear.d that contains symbolic links to
directories to be cleared at system startup.
That way, rpms could install their favorite directories there to be
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.power-off running system
2.watch for subsystems that don't start OK
for afile in /var/lock/* /var/run/*; do
if [ -d "$afile" ]; then
[ "`basename $afile`" != "news" -a "`basename $afile`" != "sudo" -a
"`basename $afile`" != "mon" ] && rm -f $afile/*
rm -f $afile
Does this not work for you?
closed, no response