Re: [Nix-dev] nixops deploying to libvirtd
For leases, this is a bug in nixops, I'll open a PR. On Wed, Dec 16, 2015 at 12:01 AM, Domen Kožarwrote: > 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 < > rwall...@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@lists.science.uu.nl >> http://lists.science.uu.nl/mailman/listinfo/nix-dev >> >> > ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] nixops deploying to libvirtd
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 < rwall...@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@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev > > ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] nixops deploying to libvirtd
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@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev