diff options
author | Steve Langasek <steve.langasek@canonical.com> | 2020-12-28 19:20:35 -0800 |
---|---|---|
committer | Steve Langasek <steve.langasek@canonical.com> | 2020-12-28 19:20:35 -0800 |
commit | 8f074119704ecce25b250363b76f69968bc935f3 (patch) | |
tree | a0d732fb7eab78c0139376d0a0c9d728fb48f803 | |
parent | ef4fee49c1d45573f8c6ac53de71af4882d718de (diff) | |
download | pam-8f074119704ecce25b250363b76f69968bc935f3.tar.gz pam-8f074119704ecce25b250363b76f69968bc935f3.tar.bz2 pam-8f074119704ecce25b250363b76f69968bc935f3.zip |
Restart services on upgrade to 1.4.0. Closes: #978555.
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/libpam-modules.preinst | 2 | ||||
-rw-r--r-- | debian/libpam0g.postinst | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog index 9878c380..7c5dc800 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pam (1.4.0-2) UNRELEASED; urgency=medium + + * Restart services on upgrade to 1.4.0. Closes: #978555. + + -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 28 Dec 2020 19:20:06 -0800 + pam (1.4.0-1) unstable; urgency=medium * New upstream release. Closes: #948188. diff --git a/debian/libpam-modules.preinst b/debian/libpam-modules.preinst index 034dfaab..3a86a8fb 100644 --- a/debian/libpam-modules.preinst +++ b/debian/libpam-modules.preinst @@ -4,7 +4,7 @@ set -e . /usr/share/debconf/confmodule -if dpkg --compare-versions "$2" lt-nl 1.3.1-2; then +if dpkg --compare-versions "$2" lt-nl 1.4.0-2; then db_version 2.0 if pidof xscreensaver xlockmore >/dev/null; then diff --git a/debian/libpam0g.postinst b/debian/libpam0g.postinst index 953078a0..55928557 100644 --- a/debian/libpam0g.postinst +++ b/debian/libpam0g.postinst @@ -87,7 +87,7 @@ installed_services() { if [ "$1" = "configure" ] then if [ ! -z "$2" ]; then - if dpkg --compare-versions "$2" lt 1.3.1-2; then + if dpkg --compare-versions "$2" lt 1.4.0-2; then db_version 2.0 echo -n "Checking for services that may need to be restarted..." @@ -197,7 +197,7 @@ then # Shut down the frontend, to make sure none of the # restarted services keep a connection open to it db_stop - fi # end upgrading and $2 lt 1.3.1-2 + fi # end upgrading and $2 lt 1.4.0-2 fi # Upgrading fi |