Hide Forgot
Description of problem: There is message during boot: ... Mounting local filesystems: [ OK ] Enabling local filesystem quotas: [ OK ] rm: cannot remove '/var/lock/condor/local': Is a directory ... Version-Release number of selected component (if applicable): RHEL 5.6 (There is no such a bug on RHEL6) condor-7.6.0-0.1.el5 How reproducible: 100% Steps to Reproduce: 1. install condor 2. reboot system 3. watch boot log Actual results: There is "rm: cannot remove '/var/lock/condor/local': Is a directory" in boot log. Expected results: There will not be "rm: cannot remove '/var/lock/condor/local': Is a directory" in boot log.
This is an issue with initscripts, please file there instead. $ rpm -qf /etc/rc.d/rc.sysinit initscripts-8.45.30-3.el5_5.1 ... # 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 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/*/* ;; */libvirt) rm -rf $afile/*/* ;; *) rm -f $afile/* ;; esac else rm -f $afile fi done ...