** Summary changed: - Do not restart keepalived on unattended-upgrades + [SRU] Do not restart keepalived on unattended-upgrades
** Changed in: needrestart (Ubuntu) Assignee: (unassigned) => Pragyansh Chaturvedi (r41k0u) ** Description changed: + [ 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. + ``` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089155 Title: [SRU] Do not restart keepalived on unattended-upgrades To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/keepalived/+bug/2089155/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs