packages: pam/pam.spec - restart crond in pam trigger, would match also cro...
glen
glen at pld-linux.org
Tue Dec 14 21:58:29 CET 2010
Author: glen Date: Tue Dec 14 20:58:29 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- restart crond in pam trigger, would match also cronds which are not upgraded (vixie-crond has no upgrade path in th); rel 2
---- Files affected:
packages/pam:
pam.spec (1.307 -> 1.308)
---- Diffs:
================================================================
Index: packages/pam/pam.spec
diff -u packages/pam/pam.spec:1.307 packages/pam/pam.spec:1.308
--- packages/pam/pam.spec:1.307 Sat Oct 30 14:17:46 2010
+++ packages/pam/pam.spec Tue Dec 14 21:58:24 2010
@@ -5,11 +5,8 @@
%bcond_with prelude # build with Prelude IDS support
%bcond_without selinux # build without SELinux support
%bcond_without audit # build with Linux Auditing library support
-#
+
%define pam_pld_version 1.1.2-1
-#
-%define _sbindir /sbin
-#
Summary: Pluggable Authentication Modules: modular, incremental authentication
Summary(de.UTF-8): Einsteckbare Authentifizierungsmodule: modulare, inkrementäre Authentifizierung
Summary(es.UTF-8): Módulos de autentificación plugables (PAM)
@@ -21,7 +18,7 @@
Summary(uk.UTF-8): Інструмент, що забезпечує аутентифікацію для програм
Name: pam
Version: 1.1.3
-Release: 1
+Release: 2
Epoch: 1
License: GPL or BSD
Group: Base
@@ -80,6 +77,8 @@
Conflicts: udev < 1:138-5
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _sbindir /sbin
+
%description
PAM (Pluggable Authentication Modules) is a powerful, flexible,
extensible authentication system which allows the system administrator
@@ -373,6 +372,13 @@
rm -rf /var/lock/console
fi
+%triggerin -- cronie,vixie-cron,hc-cron,fcron,mcron
+# restart crond if pam is upgraded
+# (crond is linked with old libpam but tries to open modules linked with new libpam)
+if [ "$1" != 1 ]; then
+ %service -q crond restart
+fi
+
%post -p <lua>
fh, error = io.open("/var/log/tallylog")
if fh ~= nil then
@@ -532,6 +538,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.308 2010/12/14 20:58:24 glen
+- restart crond in pam trigger, would match also cronds which are not upgraded (vixie-crond has no upgrade path in th); rel 2
+
Revision 1.307 2010/10/30 12:17:46 baggins
- 1.1.3 (fixes CVE-2010-3853, CVE-2010-3430, CVE-2010-3431)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pam/pam.spec?r1=1.307&r2=1.308&f=u
More information about the pld-cvs-commit
mailing list