casper fails to add any users because GID 999 is already taken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Fix Released
|
Critical
|
Simon Quigley | ||
systemd (Debian) |
New
|
Unknown
|
|||
systemd (Ubuntu) |
Confirmed
|
High
|
Nick Rosbrook |
Bug Description
This bug is due to the latest systemd upload in Ubuntu. systemd-journald now uses GID 999, when casper explicitly sets the live user to that UID and GID.
Rather than going through the painstaking task of updating systemd to use a *different* user, let's just update casper to use 1000, which is the first dynamically-
[1] https:/
[ Original Report ]
Normally, when one first boots a live ISO, a desktop automatically appears, asking users if they want to try or install Ubuntu (or, in the case of Lubuntu, they are simply dropped into a working desktop with an installation desktop icon available). As of the Lubuntu ISO on January 27, 2023, this has stopped occuring. Plymouth shows the initial boot animation, but the user is then dropped to a solid black screen. No user input is accepted. Attempting to switch to a TTY and sign in fails with the default "lubuntu" username and a blank password (the error "Login incorrect" is displayed).
On Ubuntu Desktop, the behavior is even stranger. Rather than being shown a "Try or Install Ubuntu" screen, an initial system setup wizard appears that takes the user through the process of creating a user account. On a live ISO. Only after this wizard is finished does the "Try or Install Ubuntu" screen appear. Attempting to log into a TTY using the default "ubuntu" username and a blank password fails the same way as Lubuntu does, if done before the wizard is finished. However, one can log into a TTY if they finish the wizard and then attempt to log into the TTY using the credentials provided during user account setup.
This issue affects at least the Lubuntu ISOs as of January 27, 2023, and the Ubuntu Desktop ISO at least as of January 28, 2023 (it is assumed that the 27th ISO for Ubuntu Desktop is also broken). The ISO from the 26th is most likely unaffected as there is successful testing information for Lubuntu on the 26th, so something likely happened between the 26th and the 27th to cause this breakage.
Steps to reproduce:
1. Download the latest Lunar daily ISO of Ubuntu Desktop or Lubuntu.
2. Boot the ISO (hardware is irrelevant - this appears to occur on both physical and virtual hardware).
For Lubuntu:
3. Wait until you are dropped to a black, blank screen.
4. Wait a while, then attempt to switch to a TTY and attempt to log in using "lubuntu" as the username and a blank password. The login attempt will be denied.
For Ubuntu Desktop:
3. Wait until you are provided with an initial system setup wizard.
4. Switch to a TTY and attempt to log in using "ubuntu" as the username and a blank password. The login attempt will be denied.
5. Switch back to the system setup wizard, and complete it.
6. After completing the wizard, switch to a TTY again and attempt to log in using the credentials provided to the wizard. The login attempt will be successful.
Related branches
- Steve Langasek: Disapprove
- Diff: 0 lines
affects: | ubuntu → livecd-rootfs |
description: | updated |
affects: | livecd-rootfs → casper |
affects: | casper → casper (Ubuntu) |
summary: |
- Live ISO login is utterly broken, package causing problem is currently - unknown + casper fails to add any users because GID 999 is already taken |
description: | updated |
Changed in casper (Ubuntu): | |
importance: | Undecided → Critical |
assignee: | nobody → Simon Quigley (tsimonq2) |
Changed in casper (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in systemd (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: |
added: foundations-todo removed: rls-ll-incoming |
Changed in systemd (Ubuntu): | |
assignee: | nobody → Nick Rosbrook (enr0n) |
Changed in systemd (Debian): | |
status: | Unknown → New |
Lubuntu lunar ISOs booted on
- hp dc7700 (c2d-e6320, 5gb, nvidia quadro nvs 290)
an old BIOS only box
- sony vaio ultrabook svp11216cgb (i5-9400u, 4gb, intel haswell-ULT)
more modern uEFI box
and the LIVE session is unusable.
This issue was noted first by KGIII & reported on #lubuntu-devel, today is not the first ISO where this issue was noted.
<kgiii> I was trying to do a quick test and bumped into this. If it's still an issue on Monday, I'll go ahead and try on real hardware. I want to eliminate me as the problem, but it's multiple versions of VirtualBox on two separate bits of hardware. So, that mostly eliminates me - mostly...
<kgiii> Effected builds 20230127 and 20230128. And, I figured this one was important enough to report to chat. I couldn't find a way by the black screen.