path: root/debian/libpam-modules.templates
diff options
authorSteve Langasek <>2008-12-28 01:31:21 -0600
committerSteve Langasek <>2019-01-03 17:28:20 -0800
commit65f06c6f86c3c538b4fb9e971b72246c4066f517 (patch)
tree13dc1cfb9dfab936d35143e7258df2644ddd429f /debian/libpam-modules.templates
parent77244630ce373b906d4c18a08fcc9b4ac5dab4c8 (diff)
have libpam-modules Pre-Depend on ${misc:Depends} and add a debconf question to
the libpam-modules preinst, so we can reliably warn users about xscreensaver and xlockmore before libpam-modules is unpacked; at the same time, clean up the text of the libpam0g debconf template to not refer to the screensavers.
Diffstat (limited to 'debian/libpam-modules.templates')
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/libpam-modules.templates b/debian/libpam-modules.templates
new file mode 100644
index 00000000..b928751e
--- /dev/null
+++ b/debian/libpam-modules.templates
@@ -0,0 +1,9 @@
+Template: libpam-modules/disable-screensaver
+Type: error
+_Description: xscreensaver and xlockmore must be restarted before upgrading
+ One or more running instances of xscreensaver or xlockmore have been
+ detected on this system. Because of incompatible library changes, the
+ upgrade of the libpam-modules package will leave you unable to
+ authenticate to these programs. You should arrange for these programs
+ to be restarted or stopped before continuing this upgrade, to avoid
+ locking your users out of their current sessions.