lxd fails to start with error: failed group lookup: numerical result out of range
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Using Ubuntu Server 14.04 with repository:
http://
lxd version: 2.2-0ubuntu1~
During installation it gets stuck at:
Processing triggers for ureadahead (0.100.0-16) ...
Setting up liblxc1 (2.0.4-
Setting up lxd (2.2-0ubuntu1~
If I stop the service, the installation finishes.
However, starting with: `service lxd start` fails (gets stuck).
Trying to start lxd with:
lxd --group lxd --verbose --debug
Returns:
INFO[09-
WARN[09-
WARN[09-
WARN[09-
INFO[09-
INFO[09-
INFO[09-
INFO[09-
INFO[09-
DBUG[09-
DBUG[09-
INFO[09-
DBUG[09-
error: failed group lookup: numerical result out of range
`grep "lx" /etc/group` returns:
lxc-dnsmasq:x:126:
lxd:x:127:sudo_user
If I start it this way: `lxd --auto` it works (except it doesn't bring up the network interface).
If I reconfigure the package (which will ask for several questions, as interface name, network, etc), lxdbr0 is up and running (but goes down with the previous command).
I tried to run `lxd`, and then `lxd init`. These is as far as I got:
Name of the storage backend to use (dir or zfs) [default=dir]:
Would you like LXD to be available over the network (yes/no) [default=no]?
Would you like stale cached images to be updated automatically? (yes/no) [default=yes]?
Do you want to configure the LXD bridge (yes/no) [default=yes]?
start: Job failed to start
invoke-rc.d: initscript lxd, action "start" failed.
error: Failed to configure the bridge
There must be some configuration (missing or mistaken) which may be causing this problem. More information could be added to diagnose this situation.
root@trusty:~# apt-add-repository ppa:ubuntu- lxc/lxd- stable /launchpad. net/~ubuntu- lxc/+archive/ ubuntu/ lxd-stable
This PPA contains the latest stable release of LXD as well as the latest stable version of any of its dependencies.
More info: https:/
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpaz28wb 17/secring. gpg' created 17/pubring. gpg' created ubuntu. com 7/trustdb. gpg: trustdb created [132/258] security. ubuntu. com trusty-security InRelease security. ubuntu. com trusty- security/ main Sources security. ubuntu. com trusty- security/ universe Sources ppa.launchpad. net trusty InRelease [20.9 kB] archive. ubuntu. com trusty InRelease security. ubuntu. com trusty- security/ main amd64 Packages security. ubuntu. com trusty- security/ universe amd64 Packages security. ubuntu. com trusty- security/ main Translation-en archive. ubuntu. com trusty-updates InRelease security. ubuntu. com trusty- security/ universe Translation-en ppa.launchpad. net trusty/main amd64 Packages [5618 B] archive. ubuntu. com trusty-backports InRelease archive. ubuntu. com trusty Release.gpg ppa.launchpad. net trusty/main Translation-en [4266 B] archive. ubuntu. com trusty-updates/main Sources archive. ubuntu. com trusty- updates/ restricted Sources archive. ubuntu. com trusty- updates/ universe Sources archive. ubuntu. com trusty- updates/ multiverse Sources archive. ubuntu. com trusty-updates/main amd64 Packages archive. ubuntu. com trusty- updates/ restricted amd64 Packages archive. ubuntu. com trusty- updates/ universe amd64 Packages archive. ubuntu. com trusty- updates/ multiverse amd64 Packages archive. ubuntu. com trusty-updates/main Translation-en archive. ubuntu. com trusty- updates/ multiverse Translation-en archive. ubuntu. com trusty- updates/ restricted Translation-en archive. ubuntu. com trusty- updates/ universe Translation-en archive. ubuntu. com trusty- backports/ main Sources archive. ubuntu. com trusty- backports/ restricted Sources archive. ubuntu. com trusty- backports/ universe Sources archive. ubuntu. com trusty- backports/ multiverse Sources archive. ubuntu. com trusty- backports/ main amd64 Packages archive. ubuntu. com trusty- backports/ restricted amd64 Packages archive. ubuntu. com trusty- backports/ universe amd64 Packages archive. ubuntu. com trusty- backports/ multiverse amd64 Packages archive. ubuntu. com trusty- backports/ main Translation-en archive. ubuntu. com trusty- backports/ multiverse Translation-en archive. ubuntu. com trusty- backports/ re...
gpg: keyring `/tmp/tmpaz28wb
gpg: requesting key 7635B973 from hkp server keyserver.
gpg: /tmp/tmpaz28wb1
gpg: key 7635B973: public key "Launchpad PPA for Ubuntu LXC team" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
aroot@trusty:~# apt update
Hit http://
Hit http://
Hit http://
Get:1 http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:2 http://
Hit http://
Hit http://
Get:3 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://