aboutsummaryrefslogtreecommitdiff
path: root/debian/libpam0g.postinst
Commit message (Collapse)AuthorAgeFilesLines
* Revert renaming libpam0g to libpam0t64 for time_t transition: aptSam Hartman2024-02-291-0/+233
| | | | | | | | sometimes removess libpam0g rather than simply letting libpam0t64 replace libpam0g (and deconfiguring libpam0g), leaving a system where essential packages are broken, Closes: #1065017 This reverts commit f8b66079e991a07d5c708aacfe8ddb2f164b5ef9.
* timet transitionSam Hartman2024-02-021-233/+0
|
* libpam0g.postinst: fix syntax error in systemd unit restartSam Hartman2021-09-151-1/+1
|
* debian/libpam0g.postinst: code review fixesMark Hindley2021-09-151-2/+2
| | | | | | | | * Fix indentation * set service so argument to function is used * remove dead code
* debian/libpam0g.postinst: Handle systemd unitsSam Hartman2021-09-151-13/+41
| | | | | | | | | | | | | | | | | | 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
* Restart services on upgrade to 1.4.0. Closes: #978555.Steve Langasek2020-12-281-2/+2
|
* Correctly display the notification when a manual DM restart is needed.Steve Langasek2019-02-141-1/+3
|
* turn around inverted xdm check from the prior uploadSteve Langasek2019-02-141-1/+1
|
* Fix the name of the samba services to be restarted on upgrade.Steve Langasek2019-02-131-0/+1
|
* update xdm restart handling to cope with changes to what xdm writes to utmpSteve Langasek2019-02-131-1/+3
| | | | Bug-Debian: https://bugs.debian.org/922239
* Bump the version check for service restarts to 1.3.1-2. Closes: #922178.Steve Langasek2019-02-121-2/+2
|
* debian/libpam0g.templates, debian/libpam0g.postinst: add a new question,Steve Langasek2019-01-081-9/+14
| | | | | | libraries/restart-without-asking, that allows admins to accept the service restarts once for all so that they don't have to repeatedly say "ok". LP: #745004.
* debian/libpam0g.postinst: according to Kubuntu developers, kdm no longerSteve Langasek2019-01-081-2/+2
| | | | | | | keeps libpam loaded persistently at runtime, so it's not necessary to force a kdm restart on ABI bump. Which is good, since restarting kdm now seems to also log users out of running sessions, which we rather want to avoid. Closes: #632673, LP: #744944.
* Look for /etc/init.d/postgresql, not /etc/init.d/postgresql-8.{2,3},Steve Langasek2019-01-081-1/+2
| | | | | for service restarts; the latter are obsolete since squeeze. Closes: #631511.
* bump the maintainer script version check to 1.1.3-2Steve Langasek2019-01-081-2/+2
|
* bump the minimum version check in maintainer scripts for the restartSteve Langasek2019-01-081-2/+2
| | | | handling.
* Document the new symbols added in 1.1.1 in debian/libpam0g.symbols, andSteve Langasek2019-01-081-2/+2
| | | | | raise the minimum version for the service restarting code. Closes: #568480.
* And drop postgresql-{7.4,8.1} from the list, neither of which is presentSteve Langasek2019-01-081-2/+2
| | | | in stable.
* Add postgresql-8.3 to the list of services in need of restart on upgrade.Steve Langasek2019-01-081-1/+1
| | | | Closes: #563674.
* Clean up the libpam0g postinst a bit; invoke-rc.d has been a guaranteedSteve Langasek2019-01-081-21/+4
| | | | interface for two stable release cycles now
* Use /bin/sh instead of /bin/bash for libpam0g.postinst, since we'veSteve Langasek2019-01-081-1/+1
| | | | confirmed there are no longer any bashisms there. Closes: #519973.
* And bump the version checks in the libpam-modules {pre,post}inst, so thatSteve Langasek2019-01-081-2/+2
| | | | | the necessary services get restarted for any modules that need the new symbols.
* Look for cups instead of cupsys as an init script name when restartingSteve Langasek2019-01-031-1/+1
| | | | | services; thanks to Stephen Olander-Waters for pointing this out. Closes: #492977.
* new symbol in libpam.so.0, pam_modutil_audit_write; shlibs bump, andSteve Langasek2019-01-031-2/+2
| | | | do another round of service restarts on upgrade.
* drop a gratuitous +x bit on libpam0g.postinst, which will never be seenSteve Langasek2019-01-031-0/+0
|
* fix-up commit for grafting svn history onto git historySteve Langasek2019-01-021-0/+211