diff options
author | Sam Hartman <hartmans@debian.org> | 2021-02-24 13:27:05 -0500 |
---|---|---|
committer | Steve Langasek <steve.langasek@canonical.com> | 2021-09-15 17:52:36 -0700 |
commit | 952595e2b7cbcb2c7964c4c60c5d4a8fc5f56046 (patch) | |
tree | c656488832c93eab030ef16d1ff09719fa886fd2 /debian/libpam0g.templates | |
parent | eade3115c8869136ed5a8579a6c8797b4b822796 (diff) | |
download | pam-952595e2b7cbcb2c7964c4c60c5d4a8fc5f56046.tar.gz pam-952595e2b7cbcb2c7964c4c60c5d4a8fc5f56046.tar.bz2 pam-952595e2b7cbcb2c7964c4c60c5d4a8fc5f56046.zip |
debian/libpam0g.postinst: Handle systemd units
Debian policy now considers init scripts optional. When booted with
systemd, use systemd facilities for determining whether a service is
enabled and restarting. We might want to try restarting services that
are running even if disabled. I don't think we did that in the init
script case, and I don't know a good way to determine which units
should be restarted.
* Update template description because the services are no longer
considered init scripts on most systems. It wouldn't be worth the
translation churn alone, but we have another template change in the
same version.
* Override lintian warning regarding calling systemctl.
oops lintian
Diffstat (limited to 'debian/libpam0g.templates')
-rw-r--r-- | debian/libpam0g.templates | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/libpam0g.templates b/debian/libpam0g.templates index 64a616ac..6026ee73 100644 --- a/debian/libpam0g.templates +++ b/debian/libpam0g.templates @@ -3,7 +3,7 @@ Type: string _Description: Services to restart for PAM library upgrade: Most services that use PAM need to be restarted to use modules built for this new version of libpam. Please review the following space-separated - list of init.d scripts for services to be restarted now, and correct it + list of services to be restarted now, and correct it if needed. Template: libpam0g/xdm-needs-restart |