[Nix-dev] nixops deploying to libvirtd

Domen Kožar domen at dev.si
Wed Dec 16 00:01:35 CET 2015


Just FYI, /var/lib/libvirt/images needs to be writable by the user
deploying using nixops.

On Thu, Jun 18, 2015 at 11:00 PM, Richard Wallace <
rwallace at thewallacepack.net> wrote:

> Hello all,
>
> I'm trying to get a project setup to deploy to libvirtd locally instead of
> VirtualBox because I've grown a bit tired of VirtualBox being so buggy.
> But I'm having issues getting the libvirtd deployment going and I'm hoping
> someone can help me along.
>
> I'm running NixOS on the host, so in my configuration.nix I added
> "virtualisation.libvirtd.enabled = true;" and added my user into the
> "libvirtd" group.
>
> When trying to deploy the first time, I received the error
>
>     error: [Errno 13] Permission denied: '/var/lib/libvirt/images'
>
> So I went off and created it with 770 perms owned by root:libvirtd. After
> trying to deploy again, I get
>
>     error: [Errno 2] No such file or directory:
> '/var/lib/libvirt/dnsmasq/default.leases'
>
> I'm not sure what I need to do now, so I'm a bit stuck. Any advice?
>
> Thanks,
> Rich
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151216/d3da587a/attachment.html 


More information about the nix-dev mailing list