From a19849914a8f54b7be1201daaee8a46a027546fd Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 16 Mar 2011 13:52:52 +0000 Subject: [PATCH] * libvirtd: Remove the pid on startup. If it exists, libvirtd tends to segfault. svn path=/nixos/trunk/; revision=26365 --- modules/virtualisation/libvirtd.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/virtualisation/libvirtd.nix b/modules/virtualisation/libvirtd.nix index 9aacd02f95a..5d82bf1e07a 100644 --- a/modules/virtualisation/libvirtd.nix +++ b/modules/virtualisation/libvirtd.nix @@ -61,6 +61,7 @@ in preStart = '' mkdir -p /var/log/libvirt/qemu -m 755 + rm -f /var/run/libvirtd.pid ''; exec = "${pkgs.libvirt}/sbin/libvirtd --daemon --verbose";