[Bug 1881588] Re: pre-seeding lxd on Core appliances breaks console-conf user creation
Oliver Grawert
1881588 at bugs.launchpad.net
Fri Jul 3 10:59:44 UTC 2020
ok, answering myself again:
https://github.com/lxc/lxd-pkg-snap/blob/latest-
edge/snapcraft/commands/daemon.start#L192
which simply calls:
chroot /var/lib/snapd/hostfs/ \
useradd --system -M -N --home /var/snap/lxd/common/lxd \
--shell /bin/false --extrausers lxd || true
i dont see how the system can end up managed here ...
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1881588
Title:
pre-seeding lxd on Core appliances breaks console-conf user creation
Status in snapd:
Invalid
Status in subiquity:
In Progress
Status in subiquity package in Ubuntu:
Invalid
Status in subiquity source package in Xenial:
Confirmed
Status in subiquity source package in Bionic:
Confirmed
Bug description:
when seeding appliance images with lxd, user creation gets impossible.
console-conf skips the user creation, system-user assertions do not
work either because there is already a user exisiting in the image.
the tty screen shows instructions to log in with "lxd@<IP ADDRESS>"
...
since the lxd user is a special case hack in Ubuntu Core images, "snap
create-user ..." should probably learn to ignore its existence ...
To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1881588/+subscriptions
More information about the foundations-bugs
mailing list