]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Don't leak open fd to virsh in libvirt-guests init script
authorJiri Denemark <jdenemar@redhat.com>
Tue, 22 Jun 2010 14:47:02 +0000 (16:47 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 22 Jun 2010 15:48:14 +0000 (17:48 +0200)
commit6c267f01b1db9756779ad897588dbcf2ea95fcc4
tree59c68860fd0adb4984654d7394bcca4b5e75e381
parentcab5a52aa295603f2c847da463724cd8999cedab
Don't leak open fd to virsh in libvirt-guests init script

Running virsh while having /var/lib/libvirt/libvirt-guests file open
makes SELinux emit messages about preventing virsh from reading that
file. Since virsh doesn't really want to read anything, it's better to
run it with /dev/null on stdin to prevent those messages.
daemon/libvirt-guests.init.in