I verified that the snap-confine version in xenial-proposed fixes this
bug:
I tested this in a clean xenial kvm, with snap-confine 1.0.38:
elopio@ubuntu-xenial:/$ snapd-hacker-toolbelt.busybox cat /var/lib/lxd/canary
cat: can't open '/var/lib/lxd/canary': No such file or directory
elopio@ubuntu-xenial:/$ /snap/bin/juju bootstrap lxd lxd
ERROR creating LXD client: can't connect to the local LXD server: LXD socket
not found; is LXD installed & running?
Please install LXD by running:
$ sudo apt-get install lxd
and then configure it with:
$ newgrp lxd
$ lxd init
I enabled proposed and upgraded to 1.0.43-0ubuntu1~16.04.1
elopio@ubuntu-xenial:/$ sudo apt install snap-confine
[...]
elopio@ubuntu-xenial:/$ snapd-hacker-toolbelt.busybox cat /var/lib/lxd/canary
test
elopio@ubuntu-xenial:/$ /snap/bin/juju bootstrap lxd lxd
Creating Juju controller "lxd" on lxd/localhost
Looking for packaged Juju agent version 2.0-rc3 for amd64
Launching controller instance(s) on lxd/localhost...
- copying image for ubuntu-xenial from https://cloud-images.ubuntu.com/releases
[...]
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613845
Title:
Juju snap can no longer interact with LXD in devmode
To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-confine/+bug/1613845/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs