From e2cd6a6b94e6993f4b5ce982c329fecd41efe0fb Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 16 Jun 2009 12:59:27 +0200 Subject: 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. --- rc.d/rc.sysinit | 1 + 1 file changed, 1 insertion(+) (limited to 'rc.d') 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 -- cgit v1.2.1