Comment 21 for bug 1922898

Revision history for this message
Carl Hörberg (carl-hoerberg) wrote : Re: SEGFAULT on upgrade to 0.102-0ubuntu1~20.04.1

Ok, so to summarize what happened here was that we've modified unattended-upgrade with:

Unattended-Upgrade::Origins-Pattern {
    "origin=*";
};

instead of the default:

Unattended-Upgrade::Allowed-Origins {
        "${distro_id}:${distro_codename}";
        "${distro_id}:${distro_codename}-security";
        "${distro_id}ESMApps:${distro_codename}-apps-security";
        "${distro_id}ESM:${distro_codename}-infra-security";
};

So we also unattendently upgrade packages from focal-packages.

And because unattended-upgrade default to Unattended-Upgrade::MinimalSteps "true"; then libnetplan0 was upgraded before and independetly from netplan.io, and the upgrade process was running systemctl daemon-reload in between, which caused a segfault in netplan generate, which caused our network interface to loose its IP and didn't acquire a new one.