[23596] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r23236 - trunk/debathena/config/pam-config/debian

daemon@ATHENA.MIT.EDU (price@MIT.EDU)
Mon Nov 3 23:58:25 2008

Date: Mon, 3 Nov 2008 23:57:56 -0500 (EST)
From: price@MIT.EDU
Message-Id: <200811040457.XAA10679@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: price
Date: 2008-11-03 23:57:56 -0500 (Mon, 03 Nov 2008)
New Revision: 23236

Modified:
   trunk/debathena/config/pam-config/debian/changelog
   trunk/debathena/config/pam-config/debian/debathena-pam-config.postinst
Log:
work around a pam-auth-update bug in awful fashion

Modified: trunk/debathena/config/pam-config/debian/changelog
===================================================================
--- trunk/debathena/config/pam-config/debian/changelog	2008-11-04 03:26:39 UTC (rev 23235)
+++ trunk/debathena/config/pam-config/debian/changelog	2008-11-04 04:57:56 UTC (rev 23236)
@@ -1,3 +1,10 @@
+debathena-pam-config (1.11) unstable; urgency=low
+
+  * work around a pam-auth-update bug: force it to re-read the Default:
+    lines in our pam-configs
+
+ -- Greg Price <price@mit.edu>  Mon,  3 Nov 2008 23:57:08 -0500
+
 debathena-pam-config (1.10) unstable; urgency=low
 
   * force pam-auth-update on stock Hardy /etc/pam.d/common-*

Modified: trunk/debathena/config/pam-config/debian/debathena-pam-config.postinst
===================================================================
--- trunk/debathena/config/pam-config/debian/debathena-pam-config.postinst	2008-11-04 03:26:39 UTC (rev 23235)
+++ trunk/debathena/config/pam-config/debian/debathena-pam-config.postinst	2008-11-04 04:57:56 UTC (rev 23236)
@@ -31,6 +31,11 @@
             force=--force
         fi
         pam-auth-update --package $force
+        # pam-auth-update is broken.  (?)  Sigh.
+        perl -i -lne 'print unless (/^(krb5 | krb524 | athena-locker
+            | debathena-home-type | athena-session-tmpdir-mktemp)$/x)' \
+          /var/lib/pam/seen
+        pam-auth-update --package
     fi
 fi
 


home help back first fref pref prev next nref lref last post