subiquity on UC18 says it is UC16 (and 18 too)

Bug #1882983 reported by Ian Johnson
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
subiquity
Confirmed
Undecided
Unassigned

Bug Description

I was fiddling with some things on my rpi4 UC18 install with the released images from cdimage after running console-conf and after a reboot I did not have working networking. This caused console-conf to display the expected message about "You cannot log in until the system has an IP address.", but it also confusingly claimed the device was a UC16 device:

[ OK ] Started Update UTMP about System Runlevel Changes.

Ubuntu Core 16 on <no ip address> (ttyS0)

You cannot log in until the system has an IP address.
(Is there supposed to be a DHCP server running on your network?)
Ubuntu Core 18 on <no ip address> (ttyS0)

You cannot log in until the system has an IP address. (Is there
supposed to be a DHCP server running on your network?)

Personalize your account at https://login.ubuntu.com.

This was taken from the serial getty I don't know if subiquity displays the same message about UC16 on the display as well, but obviously this is not a UC16 device so it should not be saying Ubuntu Core 16.

Revision history for this message
Michael Vogt (mvo) wrote :

Fwiw, this is in write_login_details_standalone():
"""
    if len(ips) == 0:
        tty_name = os.ttyname(0)[5:]
        print("Ubuntu Core 16 on <no ip address> ({})".format(tty_name))
        print()
""""

Changed in subiquity:
status: New → Confirmed
Revision history for this message
Claudio Matsuoka (cmatsuoka) wrote :

This also happened in amd64 uc18, on the VGA console, apparently when a request for an IP address failed.

Revision history for this message
Stéphane Graber (stgraber) wrote :

Just noticed the same here when playing with appliances, this really should get fixed...

Revision history for this message
jagdish gediya (jvgediya) wrote :

I am also facing this problem when I tried to bring up ubuntu core on imx8(arm64) based board.

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.