packages: pam/pam.spec, pam/system-auth.pamd - rel 5 - added pam_systemd.so...
baggins
baggins at pld-linux.org
Sun Feb 12 13:23:16 CET 2012
Author: baggins Date: Sun Feb 12 12:23:16 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 5
- added pam_systemd.so to global system-auth config (rationale inside)
---- Files affected:
packages/pam:
pam.spec (1.323 -> 1.324) , system-auth.pamd (1.13 -> 1.14)
---- Diffs:
================================================================
Index: packages/pam/pam.spec
diff -u packages/pam/pam.spec:1.323 packages/pam/pam.spec:1.324
--- packages/pam/pam.spec:1.323 Mon Feb 6 12:02:12 2012
+++ packages/pam/pam.spec Sun Feb 12 13:23:11 2012
@@ -18,7 +18,7 @@
Summary(uk.UTF-8): Інструмент, що забезпечує аутентифікацію для програм
Name: pam
Version: 1.1.5
-Release: 4
+Release: 5
Epoch: 1
License: GPL or BSD
Group: Base
@@ -380,6 +380,15 @@
fi
exit 0
+%triggerpostun -- %{name} < 1:1.1.5-5
+# We want it added for painless upgarde even if it mean log pollution for non-systemd
+# enabled systems,
+# If this module is not present on systemd enabled system then `systemctl restart sshd.service`
+# will kill all sessions.
+if ! grep -qs pam_systemd /etc/pam.d/system-auth; then
+ echo "session optional pam_systemd.so" >>/etc/pam.d/system-auth
+fi
+
%post -p <lua>
fh, error = io.open("/var/log/tallylog")
if fh ~= nil then
@@ -548,6 +557,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.324 2012/02/12 12:23:11 baggins
+- rel 5
+- added pam_systemd.so to global system-auth config (rationale inside)
+
Revision 1.323 2012/02/06 11:02:12 baggins
- rel 4
- don't fail in postinst trigger
================================================================
Index: packages/pam/system-auth.pamd
diff -u packages/pam/system-auth.pamd:1.13 packages/pam/system-auth.pamd:1.14
--- packages/pam/system-auth.pamd:1.13 Mon Jun 27 14:25:21 2011
+++ packages/pam/system-auth.pamd Sun Feb 12 13:23:11 2012
@@ -16,5 +16,6 @@
session optional pam_keyinit.so revoke
session required pam_limits.so
+session optional pam_systemd.so
session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session required pam_unix.so
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pam/pam.spec?r1=1.323&r2=1.324&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pam/system-auth.pamd?r1=1.13&r2=1.14&f=u
More information about the pld-cvs-commit
mailing list