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.
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.