error: open /var/lib/lxd/containers: no such file or directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxd (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Today's apt-get update && apt-get -u dist-upgrade returned some lxd errors:
Setting up liblxc1 (2.0.3-
Setting up lxc-common (2.0.3-
Installing new version of config file /etc/apparmor.
Installing new version of config file /etc/apparmor.
Setting up python3-lxc (2.0.3-
Setting up lxc1 (2.0.3-
Installing new version of config file /etc/init/
Installing new version of config file /etc/init/lxc.conf ...
Setting up lxc dnsmasq configuration.
Setting up lxd (2.0.3-
Job for lxd-containers.
lxd-containers.
Job for lxd-containers.
lxd-containers.
Setting up lxc-templates (2.0.3-
Setting up lxc (2.0.3-
Processing triggers for libc-bin (2.23-0ubuntu3) ...
sarnold@wopr:~$ systemctl status lxd-containers.
● lxd-containers.
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Mon 2016-07-11 15:21:40 PDT; 18s ago
Docs: man:lxd(1)
Process: 18531 ExecStart=
Main PID: 18531 (code=exited, status=1/FAILURE)
Jul 11 15:21:40 wopr systemd[1]: Starting LXD - container startup/shutdown...
Jul 11 15:21:40 wopr lxd[18531]: error: open /var/lib/
Jul 11 15:21:40 wopr systemd[1]: lxd-containers.
Jul 11 15:21:40 wopr systemd[1]: Failed to start LXD - container startup/shutdown.
Jul 11 15:21:40 wopr systemd[1]: lxd-containers.
Jul 11 15:21:40 wopr systemd[1]: lxd-containers.
Thanks
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: lxd 2.0.3-0ubuntu1~
ProcVersionSign
Uname: Linux 4.4.0-22-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Mon Jul 11 15:22:58 2016
InstallationDate: Installed on 2016-04-04 (98 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Beta amd64 (20160325)
ProcEnviron:
TERM=rxvt-unicode
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: lxd
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in lxd (Ubuntu): | |
importance: | Undecided → High |
Changed in lxd (Ubuntu): | |
status: | Confirmed → Fix Committed |
I'm having the same problem (same error), on a fresh installed ubuntu server 16.04. I just did apt-get update && apt-get upgrade, and it appeared. (No previous changes to the system at all).