[Bug 2148487] Re: [26.04] Resolute does not add lxd to the user when subiquity creates the account

Olivier Gayot 2148487 at bugs.launchpad.net
Fri Apr 17 15:09:05 UTC 2026


** Changed in: subiquity (Ubuntu)
       Status: New => Fix Committed

-- 
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/2148487

Title:
  [26.04] Resolute does not add lxd to the user when subiquity creates
  the account

Status in subiquity:
  Fix Committed
Status in subiquity package in Ubuntu:
  Fix Committed

Bug description:
  On Noble, when you install from ISO using subiquity, the user you
  create during the install process is added automatically to the lxd
  group (even if lxd is not installed by defaut).  I think this may have
  been done when LXD moved to snaps so that someone could install the
  lxd snap and immediately start using it without the hassle of adding a
  user group and logging out and back in first.

  On Resolute, this has regressed, and the user created by subiquity no
  longer is added immediately to the lxd group during install.  So,
  contrary to the above, when the user logs in and installs the lxd
  snap, attempts to use it fail because the user is not in the lxd group
  by default.

  This is, I believe, not an issue in MAAS installs because the cloud
  config adds the ubuntu user to a lxd group during provisioning (in
  line with what subiquity did in Noble).

  This is causing issues with validation testing pripor to release as
  our test processes expected that the user would be in the group
  immediately as has been the case before.  Can this please be fixed in
  subiquity before release?

  Resolute:
  cloud.cfg:
  bladernr at resolute-test:~$ grep "default user" /etc/cloud/cloud.cfg -A5
    # Default user name + that default users groups (if added/used)
    default_user:
      name: ubuntu
      lock_passwd: True
      gecos: Ubuntu
      groups: [adm, cdrom, dip, lxd, sudo]

  Resolute user immediately after install from ISO:
  bladernr at resolute-test:~$ groups
  bladernr adm cdrom sudo dip plugdev users

  Noble:
  Noble user immediately after install from ISO:
  bladernr at noble-test:~$ groups
  bladernr adm cdrom sudo dip plugdev lxd

To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/2148487/+subscriptions





More information about the foundations-bugs mailing list