nixpkgs/nixos/modules/virtualisation
Bjørn Forsman b9f5b880e7 nixos/libvirtd-service: fix for dnsmasq (dir perms 700 -> 755)
Fixes this:

Nov 09 16:18:54 nixos-laptop systemd[1]: Starting Libvirt Virtual Machine Management Daemon...
Nov 09 16:18:54 nixos-laptop dnsmasq[15809]: read /etc/hosts - 2 addresses
Nov 09 16:18:54 nixos-laptop dnsmasq[15809]: failed to load names from /var/lib/libvirt/dnsmasq/default.addnhosts: Permission denied
Nov 09 16:18:54 nixos-laptop dnsmasq[15809]: cannot read /var/lib/libvirt/dnsmasq/default.hostsfile: Permission denied
Nov 09 16:18:55 nixos-laptop systemd[1]: Started Libvirt Virtual Machine Management Daemon.

I don't understand the reason for the original 700 permission bits.
Apparently read-access is needed and Ubuntu also use 755 perms.

Use "chmod" instead of "mkdir -m" to set permissions because mkdir doesn't
modify permissions on existing directories.
2013-11-10 14:07:29 +01:00
..
amazon-config.nix
amazon-image.nix Don't set an initial null root password for Amazon / VirtualBox images 2013-11-01 15:04:21 +01:00
ec2-data.nix Remove remaining references to Upstart 2013-10-31 13:26:06 +01:00
libvirtd.nix nixos/libvirtd-service: fix for dnsmasq (dir perms 700 -> 755) 2013-11-10 14:07:29 +01:00
nova-config.nix
nova-image.nix Rename environment.nix -> nix.package 2013-10-28 22:45:57 +01:00
nova.nix
qemu-opts
qemu-vm.nix nixos-rebuild build-vm: Ignore the user's LUKS devices 2013-10-29 13:31:01 +01:00
virtualbox-guest.nix Don't enable acpid for VirtualBox guests 2013-10-17 14:41:58 +02:00
virtualbox-image.nix Don't set an initial null root password for Amazon / VirtualBox images 2013-11-01 15:04:21 +01:00
xen-dom0.nix
xen-domU.nix