User not created during 18.04.1 live installation

Bug #1803904 reported by Nick Zaccardi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
Invalid
Undecided
Unassigned
subiquity (Ubuntu)
New
Undecided
Unassigned

Bug Description

During installation of a new 18.04.1 (ubuntu-18.04.1-live-server-amd64.iso) the install would complete successfully, machine would reboot and I would not be able to login. After dropping into a root shell in recovery mode and looking at /etc/passwd, the user was not there.

I also noticed that the host name was not being properly set to the assigned value during the install. Instead it was "localhost.localdomain".

Moving to the alternate installer (ubuntu-18.04.1-server-amd64.iso) did not have this issue.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

If you can reproduce this, could you run cloud-init collect-logs (as root) and attach the resulting tarball to this report?

The user definitely does get created under normal circumstances...

Revision history for this message
Nick Zaccardi (nzac) wrote :

Hi Michael,

I am now noticing that the installer is indeed throw an error. I am not sure if that was happening previously, I certainly didn't notice it in any case. The attached log is from /var/log/curtin/install.log, will that be helpful? cloud-init collect-logs says that the log file doesn't exist.

Let me know if I can provide any additional information. I will not have access to this machine after today until next week because of my holiday travel in the US.

Best,
Nick

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: [Bug 1803904] Re: User not created during 18.04.1 live installation

On Wed, 21 Nov 2018 at 06:41, Nick Zaccardi <email address hidden>
wrote:

> Hi Michael,
>
> I am now noticing that the installer is indeed throw an error. I am not
> sure if that was happening previously, I certainly didn't notice it in
> any case. The attached log is from /var/log/curtin/install.log, will
> that be helpful? cloud-init collect-logs says that the log file doesn't
> exist.
>

Ah that would explain things, I would not expect the user to be created on
first boot if the install fails. In general of course, one wouldn't expect
booting into the installed system if the install fails to work, so I guess
you got a bit lucky here? :)

FWIW, it looks like you're hitting
https://bugs.launchpad.net/subiquity/+bug/1767584. The 18.04.2 version of
the installer due in February should include the fix for this.

Cheers,
mwh

>
>

Changed in subiquity:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.