snapd fails to reload LXD snap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Committed
|
High
|
Philip Meulengracht |
Bug Description
The update of snapd to rev 22991 seems to break a
$ snap restart --reload lxd
The commands fails with:
error: cannot perform the following tasks:
- Run service command "reload-or-restart" for running services of snap "lxd" (systemctl command [reload-or-restart snap.lxd.
Job failed. See "journalctl -xe" for details.)
Looking at the system logs shows
The job identifier is 922.
Oct 08 17:36:57 j0 systemd[1]: snap.lxd.
Oct 08 17:36:57 j0 systemd[1]: Failed to listen on Socket unix for snap application lxd.daemon.
This was working with previous snapd versions and causes our test suites to fail starting today on Oct 8
Trying to reload only the lxd.daemon command fails in the same way
snap restart --reload lxd.daemon
error: cannot perform the following tasks:
- Run service command "reload-or-restart" for services ["daemon"] of snap "lxd" (systemctl command [reload-or-restart snap.lxd.
Job failed. See "journalctl -xe" for details.)
Steps to reproduce:
1. Create a new LXD instance $ lxc launch ubuntu:j j0
2. Refresh snaps within the instance an ensure rev 22991 of snapd is installed
3. Initialize lxd: $ lxd init --auto
4. Try to reload LXD: $ snap restart --reload lxd
Changed in snapd: | |
status: | New → Confirmed |
Could this be due to an attempted fix for https:/ /bugs.launchpad .net/snapd/ +bug/2028141 ?