Public bug reported: The Bionic lxd.preinst script has:
# Add each admin user to the lxd group - for systems installed # before precise for u in $(getent group admin | sed -e "s/^.*://" -e "s/,/ /g"); do adduser "$u" lxd >/dev/null || true done however the "admin" group has no special meaning in Ubuntu >= 12.04, see [1]. I installed a clean Bionic system from ISO and the group doesn't even get created in the installed system. This means that the group is arbitrary, and can also be a remote group. I think the admin -> lxd auto-add code should be dropped from lxd.preinst. See LP: #1942195 for a very similar issue affecting samba, solved by dropping the auto-add code. [1] https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes/UbuntuDesktop#PrecisePangolin.2FReleaseNotes.2FCommonInfrastructure.Common_Infrastructure ** Affects: lxd (Ubuntu) Importance: Undecided Status: Fix Released ** Affects: lxd (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: lxd (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: lxd (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1950635 Title: Users in group 'admin' get automatically added to group 'lxd' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1950635/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs