needrestart on Ubuntu 24.04 is restarting google-guest-agent startup and shutdown scrips on reinstall but they should not be restarted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
needrestart (Ubuntu) |
Fix Released
|
Undecided
|
Simon Chopin | ||
Noble |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The recent change in Ubuntu 24.04 and needrestart which results in services being restarted automatically , details @ https:/
[Test plan]
Boot a Noble image on GCE
rm /etc/needrestar
apt reinstall libc6
# Check that the scripts weren't restarted
[ Where problems could occur ]
Assuming no syntax error, this is fairly safe as a version of it has been shipped in the GCE images as a workaround, and the service names are pretty specific.
[Original report]
The recent change in Ubuntu 24.04 and needrestart which results in services being restarted automatically , details @ https:/
It can be worked around by setting `NEEDRESTART_
This bug is to track the work of getting this added to the packaged `/etc/needresta
Similar to the work done for cloud-init @ https:/
tags: | added: foundations-todo |
Changed in needrestart (Ubuntu): | |
assignee: | nobody → Simon Chopin (schopin) |
Changed in needrestart (Ubuntu): | |
status: | New → Fix Committed |
description: | updated |
Changed in needrestart (Ubuntu Noble): | |
status: | New → In Progress |
tags: |
added: verification-done verification-done-noble removed: verification-needed verification-needed-noble |
tags: | removed: verification-done |
tags: | added: verification-done |
This bug was fixed in the package needrestart - 3.6-8ubuntu3
---------------
needrestart (3.6-8ubuntu3) oracular; urgency=medium
* d/p/ubuntu- mode.patch: Don't touch /run/reboot- required on kernel updates
(LP: #2065863)
* Ubuntu mode: disable it if restart mode has been explicitly set
(LP: #2068543)
* Add some inline documentation for the Ubuntu mode (LP: #2068573)
* Don't restart the google-guest-agent service (LP: #2063442)
* Don't restart the GH runner provisioner (LP: #2067800)
* tests: guard against looping when failing.
-- Simon Chopin <email address hidden> Fri, 14 Jun 2024 11:57:11 +0200