← Back to team overview

debcrafters-packages team mailing list archive

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

 

** Merge proposal linked:
   https://code.launchpad.net/~uralt/ubuntu/+source/needrestart/+git/needrestart/+merge/487792

-- 
You received this bug notification because you are a member of
Debcrafters packages, 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