3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
Bjørn Forsman f52f9bf7cd nixos/libvirtd-service: fix for garbage collected emulator paths
libvirtd puts the full path of the emulator binary in the machine config
file. But this path can unfortunately be garbage collected while still
being used by the virtual machine. Then this happens:

Error starting domain: Cannot check QEMU binary /nix/store/z5c2xzk9x0pj6x511w0w4gy9xl5wljxy-qemu-1.5.2-x86-only/bin/qemu-kvm: No such file or directory

Fix by updating the emulator path on each service startup to something
valid (re-scan $PATH).
2013-11-27 23:09:57 +01:00
..
config Disable various services when running inside a container 2013-11-26 18:19:45 +01:00
hardware Add some primops to lib 2013-11-12 13:48:30 +01:00
installer Put /efi and /loader on the main livecd partition for efi booting with unetbootin 2013-11-14 18:18:46 -05:00
misc Don't set the default channel to 13.10 when installing from master 2013-11-11 11:26:15 +01:00
profiles Hack to work around the lack of isPath 2013-10-28 22:45:57 +01:00
programs nixos: capitalize a bunch of service descriptions 2013-11-09 20:45:50 +01:00
security polkit: Add some examples 2013-11-18 18:04:17 +01:00
services Add support for lightweight NixOS containers 2013-11-27 17:14:10 +01:00
system Add support for lightweight NixOS containers 2013-11-27 17:14:10 +01:00
tasks Disable various services when running inside a container 2013-11-26 18:19:45 +01:00
testing Allow running NixOS services outside of systemd 2013-11-18 18:04:17 +01:00
virtualisation nixos/libvirtd-service: fix for garbage collected emulator paths 2013-11-27 23:09:57 +01:00
module-list.nix Add support for lightweight NixOS containers 2013-11-27 17:14:10 +01:00
rename.nix Drop environment.x11Packages 2013-10-30 18:47:43 +01:00