lxd daemon does not start automatically

Bug #1452358 reported by Christopher Townsend
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
lxd (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

After install the lxd package in 15.04, the lxd daemon is not started, either after the package installation or after a system reboot.

I have to manually issue "systemctl start lxd" to get it to run.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: lxd 0.7-0ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3
Uname: Linux 3.19.0-16-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Wed May 6 12:04:14 2015
InstallationDate: Installed on 2013-03-18 (778 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
SourcePackage: lxd
UpgradeStatus: Upgraded to vivid on 2014-10-20 (197 days ago)

Revision history for this message
Christopher Townsend (townsend) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lxd (Ubuntu):
status: New → Confirmed
Revision history for this message
Jeff Lane  (bladernr) wrote :

Same here. Installed lxd based on the instructions found on ubuntu.com:
https://insights.ubuntu.com/2015/03/20/installing-lxd-and-the-command-line-tool/

since the lxd daemon does not start on its own, the instructions in the quick start fail:

ubuntu@these-grandmother:~$ lxd-images import lxc ubuntu vivid amd64 --alias vivid
LXD isn't running.
ubuntu@these-grandmother:~$ service lxd start
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to manage system services or units.
Authenticating as: Ubuntu (ubuntu)
Password:
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
==== AUTHENTICATION FAILED ===
Failed to start lxd.service: Access denied
ubuntu@these-grandmother:~$ sudo service lxd start
ubuntu@these-grandmother:~$ lxd-images import lxc ubuntu vivid amd64 --alias vivid
Downloading the GPG key for https://images.linuxcontainers.org
Downloading the image list for https://images.linuxcontainers.org
Validating the GPG signature of /tmp/tmpwejpywf2/index.json.asc
Downloading the image: https://images.linuxcontainers.org/images/ubuntu/vivid/amd64/default/20150604_03:49/lxd.tar.xz

Changed in lxd (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Stéphane Graber (stgraber) wrote :

This has been fixed in wily.

Changed in lxd (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.