/usr/share/unattended-upgrades/unattended-upgrade-shutdown always running, uses too much memory

Bug #1982540 reported by Steve Langasek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)
New
High
Unassigned

Bug Description

On a default idle Ubuntu kinetic container, the second largest process by resident memory is '/usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal'.

We want unattended-upgrades to be installed by default in all container images, but this process is heavyweight and needs to go.

I see two possible solutions:
- construct a systemd unit that DTRT at shutdown without having to leave a process resident (but er the u-u maintainer knows a bit about systemd so this may not be feasible with the desired semantics?)
- instead of running the python script, implement a small shell wrapper that waits for the signal and execs u-u-shutdown, so that we only pay the memory cost of this script during shutdown.

Tags: fr-2570
Steve Langasek (vorlon)
tags: added: fr-2570
Changed in unattended-upgrades (Ubuntu):
importance: Undecided → High
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.