lunar riscv64 preinstalled image shows login prompt before login is possible
Bug #2013403 reported by
Steve Langasek
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
livecd-rootfs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Testing the lunar unmatched daily image in qemu, I was given a login prompt on console and tried to log in, and it repeatedly failed.
This is because cloud-init had not finished running, so the user that was provisioned via nocloud data was not actually available.
There should not be a race. The login prompt should not be shown until after the user exists - either by changing the ordering of the systemd units, or by not using cloud-init to configure the initial user. (I don't see any obvious reason that a hard-coded initial user/password should be done via cloud-init instead of being prepopulated in /etc/passwd, but feel free to enlighten me.)
Related branches
~adam-retter/ubuntu/+source/uvtool:emu-riscv64
Superseded
for merging
into
ubuntu/+source/uvtool:ubuntu/devel
- Robie Basak: Needs Resubmitting
- Ubuntu Sponsors: Pending requested
-
Diff: 86 lines (+39/-0) (has conflicts)4 files modifiedsetup.py (+5/-0)
template-emu-riscv64.xml (+21/-0)
uvtool/libvirt/__init__.py (+8/-0)
uvtool/libvirt/kvm.py (+5/-0)
~thibf/uvtool:thibf/uvt-kvm_wait_system_booting
- Robie Basak: Approve
- Brett Holman (community): Approve
-
Diff: 73 lines (+34/-21)1 file modifieduvtool/libvirt/kvm.py (+34/-21)
Changed in cloud-init (Ubuntu): | |
status: | Triaged → In Progress |
To post a comment you must log in.
This bug has been reported on the Ubuntu ISO testing tracker.
A list of all reports related to this bug can be found here: /iso.qa. ubuntu. com/qatracker/ reports/ bugs/2013403
https:/