Unexpected / unwanted unattended-upgrades behaviour after kernel upgrade when Livepatch enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unattended-upgrades (Ubuntu) |
Confirmed
|
Undecided
|
Canonical Server | ||
Focal |
Confirmed
|
Undecided
|
Unassigned | ||
Jammy |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Following the resolution for bug #1747499, after a kernel upgrade when Livepatch is enabled, the current behaviour in unattended-upgrades (2.3ubuntu0.2 and later) is not to touch /var/run/
While this works as intended in terms of suppressing an extra message in motd, it defeats the ability of unattended-upgrades to restart automatically with the new kernel, which is reliant on /var/run/
This is unexpected / unwanted behaviour in scenarios where a) Livepatch is being used to provide fast-response kernel patching; and b) Unattended-
I believe this counts as a regression caused by the resolution to bug #1747499. It also has the potential to be a security threat if Livepatch doesn't work comprehensively for a particular kernel flaw, and an administrator is reliant on expected behaviour according to unattended-upgrades settings.
Potential options for a fix that come to mind:
1. Revert to original behaviour in /etc/kernel/
2. Add an extra configuration setting (eg Unattended-
3. Add support in /etc/kernel/
(This is my first time reporting a bug in this system, and I apologise if I haven't followed the usual descriptive format.)
tags: | added: rls-ff-incoming rls-mm-incoming |
tags: | added: server-triage-discuss |
tags: | removed: server-triage-discuss |
Status changed to 'Confirmed' because the bug affects multiple users.