aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2009-06-16 12:59:27 +0200
committerHarald Hoyer <harald@redhat.com>2009-06-16 12:59:27 +0200
commite2cd6a6b94e6993f4b5ce982c329fecd41efe0fb (patch)
tree72687183033502d485b818f38b8cd5cfe8796003
parent37f574511902944a19a75aa9f30e6263f7702d56 (diff)
downloadinitscripts-e2cd6a6b94e6993f4b5ce982c329fecd41efe0fb.tar
initscripts-e2cd6a6b94e6993f4b5ce982c329fecd41efe0fb.tar.gz
initscripts-e2cd6a6b94e6993f4b5ce982c329fecd41efe0fb.tar.bz2
initscripts-e2cd6a6b94e6993f4b5ce982c329fecd41efe0fb.tar.xz
initscripts-e2cd6a6b94e6993f4b5ce982c329fecd41efe0fb.zip
cleanup /var/run/libvirt
https://bugzilla.redhat.com/show_bug.cgi?id=505600 libvirt-0.6.3-8.el5 now includes /var/run/libvirt/network and /var/run/libvirt/qemu so the /var cleanup script rc.sysinit needs to be extended to accommodate the additional directory depth, otherwise the user gets messages on boot about not being able to remove the files because they are directories.
-rwxr-xr-xrc.d/rc.sysinit1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 90f4c3dd..0f5a8ec2 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -864,6 +864,7 @@ for afile in /var/lock/* /var/run/* ; do
*/cvs) rm -rf $afile/* ;;
*/dovecot) rm -f $afile/*/* ;;
*/cups) rm -f $afile/*/* ;;
+ */libvirt) rm -rf $afile/*/* ;;
*) rm -f $afile/* ;;
esac
else