[Bug 2089155] Re: [SRU] Do not restart keepalived on unattended-upgrades
Launchpad Bug Tracker
2089155 at bugs.launchpad.net
Tue Dec 10 20:43:40 UTC 2024
This bug was fixed in the package needrestart - 3.6-8ubuntu7
---------------
needrestart (3.6-8ubuntu7) plucky; urgency=medium
* Don't restart glusterd automatically (LP: #2085070)
- d/p/lp2085070/0020-ubuntu-avoid-restart-glusterd.patch:
Add regex to ignore glusterd and for automatic restart
* Don't restart keepalived automatically (LP: #2089155)
- d/p/lp2089155/0021-ubuntu-avoid-restart-keepalived.patch:
Add regex to ignore keepalived and for automatic restart
-- Pragyansh Chaturvedi <pragyansh.chaturvedi at canonical.com> Tue, 10
Dec 2024 13:22:02 +0530
** Changed in: needrestart (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to needrestart in Ubuntu.
https://bugs.launchpad.net/bugs/2089155
Title:
[SRU] Do not restart keepalived on unattended-upgrades
Status in keepalived package in Ubuntu:
New
Status in needrestart package in Ubuntu:
Fix Released
Status in keepalived source package in Noble:
New
Status in needrestart source package in Noble:
New
Status in keepalived source package in Oracular:
New
Status in needrestart source package in Oracular:
New
Bug description:
[ Impact ]
* keepalived.service should not be automatically restarted after an
update as other services which depend on it might get disrupted.
* This change adds a regex pattern for keepalived.service in the default
needrestart.conf to prevent it's automatic restart.
[ Test Plan ]
* Install keepalived
* Create /etc/keepalived/keepalived.conf and add some sample text in
it after ! (essentially a comment)
* Enable and start keepalived using systemctl (it might get stuck
while starting, just interrupt it using Ctrl-C)
* Then run `sudo apt reinstall libc6`
* keepalived.service will appear under `Restarting services...`, while it
should actually appear under `Service restarts being deferred:`
[ Where problems could occur ]
* If another service using /usr/sbin/keepalived gets restarted, this problem
might reoccur.
[ Other Info ]
* Original bug report:
```
unattended-upgrades has restarted keepalived (noble,now 1:2.2.8-1build2 amd64) due to the update of library libglib2.0-0t64.
It is not excluded in /etc/needrestart/needrestart.conf, like other services (OpenVPN, frr).
Please add an entry so keepalived is not restarted automatically by unattended-upgrades.
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/keepalived/+bug/2089155/+subscriptions
More information about the foundations-bugs
mailing list