Hi Stéphane - I know this is closed but I came across a similar failure
after migrating from 16.04 to 16.10.   As above the migration of
/etc/default/lxd-bridge failed and left me with no networking in the lxd
containers.

After a lot of hunting I found that the migration script did not
correctly handle the migration of the LXD_CONFILE setting. (I have some
dnsmasq dhcp-host entries to ensure my containers get reliable IP4
addresses.)

What I had in /etc/default/lxd-bridge was this...

LXD_CONFILE="/etc/lxd/dnsmasq.conf"

But what got set up by the migration script in: lxc network edit lxdbr0

raw.dnsmasq: conf-file /etc/lxd/pjr-dnsmasq.conf

Note: this is missing an equals sign after conf-file and should be...

raw.dnsmasq: conf-file=/etc/lxd/pjr-dnsmasq.conf

Without that dnsmasq always fails and my hosts had no IP4 networking.

Would be great if the migration script can be changed so that anyone
else moving from 16.04 LTS doesn't have this problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629540

Title:
  package lxd (not installed) failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1629540/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to