[Bug 1935972] [NEW] postinst: Rely on needrestart when present on the system

Simon Chopin 1935972 at bugs.launchpad.net
Tue Jul 13 12:47:18 UTC 2021


Public bug reported:

This patch bypasses the custom restarting logic backed into the postinst
script if the needrestart utility is present, as it allows sharing the
logic with the rest of the system.

It also changes the custom logic to compare the old package version to
the current one instead of a hard-coded value. I don't feel particularly
strongly about this, so feel free to drop it :)

** Affects: pam (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "debdiff"
   https://bugs.launchpad.net/bugs/1935972/+attachment/5510736/+files/debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/1935972

Title:
  postinst: Rely on needrestart when present on the system

Status in pam package in Ubuntu:
  New

Bug description:
  This patch bypasses the custom restarting logic backed into the
  postinst script if the needrestart utility is present, as it allows
  sharing the logic with the rest of the system.

  It also changes the custom logic to compare the old package version to
  the current one instead of a hard-coded value. I don't feel
  particularly strongly about this, so feel free to drop it :)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1935972/+subscriptions




More information about the foundations-bugs mailing list