uc20 recovery mode only works with ethernet

Bug #1881778 reported by Paul Larson on 2020-06-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
High
Ian Johnson

Bug Description

If you have a device that only connects via wifi, using recovery mode will not be possible in current core20 images (currently testing 20200529.3 on pi). Once entering recovery mode, if you don't have ethernet connected, it will never find an IP. The only netplan config during the recovery session makes it clear why this is the case:
$ cat /etc/netplan/00-snapd-config.yaml
# This is the initial network config.
# It can be overwritten by cloud-init or console-conf.
network:
    version: 2
    ethernets:
        all-en:
            match:
                name: "en*"
            dhcp4: true
        all-eth:
            match:
                name: "eth*"
            dhcp4: true

Changed in snapd:
importance: Undecided → High
assignee: nobody → Ian Johnson (anonymouse67)
status: New → Confirmed
Ian Johnson (anonymouse67) wrote :
Changed in snapd:
status: Confirmed → In Progress
Ian Johnson (anonymouse67) wrote :

The fix for this will be Fix Committed in 2.46, but unfortunately this is not testable until we have a rebuild of the ubuntu-core-initramfs package to pick up snapd 2.46, and then the kernel snap needs to be rebuilt with that new version of ubuntu-core-initramfs. I expect this will be a few weeks but should be done before 1.0.

Changed in snapd:
status: In Progress → Fix Committed
Zygmunt Krynicki (zyga) on 2020-06-23
Changed in snapd:
milestone: none → 2.46
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers