[Bug 2089155] Re: [SRU] Do not restart keepalived on unattended-upgrades

Nick Rosbrook 2089155 at bugs.launchpad.net
Fri Dec 6 19:17:17 UTC 2024


** Also affects: keepalived (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: needrestart (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: keepalived (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Also affects: needrestart (Ubuntu Oracular)
   Importance: Undecided
       Status: New

-- 
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:
  In Progress
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