The behavior of /etc/rc.d/rc.sysinit to delete all files in /var/run/* (including /var/run/news/*)[1] leads to a possible loss of news articles. /etc/rc.d/rc.news tries to detect a crashed innd by looking for /var/run/news/innd.pid and recovers $ACTIVE then by using the "-r" option[2]. But because rc.sysinit is deleting innd.pid _before_ $ACTIVE will be renumbered, inconsistencies will be created. [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 rm -f $afile/* else [2] ## Clean shutdown or already running? if [ -f ${SERVERPID} ] ; then if kill -0 `cat ${SERVERPID}` 2>/dev/null; then echo 'INND is running' exit 0 fi echo 'INND: PID file exists -- unclean shutdown!' RFLAG="-r" fi
*** Bug 8791 has been marked as a duplicate of this bug. ***Will be fixed in initscripts-4.85 when it is released.