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

Brian Murray 1935972 at bugs.launchpad.net
Wed Jul 14 19:00:21 UTC 2021


>From what I can piece together from the debian/changelog it seems that
the version is hard-coded because it is only ever updated when the
libpam0g.symbols file is updated which is why services would need to be
restarted. Subsequently, I'm dropping that part of the patch.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
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 Ubuntu-sponsors mailing list