On Sat, Jan 19, 2008 at 05:22:05PM +0100, Filippo Giunchedi wrote:
> reported below:
> REMOVE CRON.DAILY [] ['/etc/cron.daily/pam_shield.cron: line 3: 
> /usr/sbin/shield-purge: No such file or directory\n']
> AUTOREMOVE CRON.DAILY [] ['/etc/cron.daily/pam_shield.cron: line 3: 
> /usr/sbin/shield-purge: No such file or directory\n']
> 
> you should check if the binary is there

I've uploaded a fixed package to delayed/7-days, NMU patch attached.

filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:

Gretchen: Donnie Darko? What the hell kind of name is that? It's like
          some sort of superhero or something
Donnie: What makes you think I'm not?
-- from Donnie Darko (2001)
diff -u pam-shield-0.9.2/debian/patches/series pam-shield-0.9.2/debian/patches/series
--- pam-shield-0.9.2/debian/patches/series
+++ pam-shield-0.9.2/debian/patches/series
@@ -3,0 +4 @@
+cron_fix.patch
diff -u pam-shield-0.9.2/debian/changelog pam-shield-0.9.2/debian/changelog
--- pam-shield-0.9.2/debian/changelog
+++ pam-shield-0.9.2/debian/changelog
@@ -1,3 +1,10 @@
+pam-shield (0.9.2-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Check for executable in cron file (Closes: #461574)
+
+ -- Filippo Giunchedi <[EMAIL PROTECTED]>  Thu, 01 May 2008 17:53:43 +0200
+
 pam-shield (0.9.2-3) unstable; urgency=low
 
   * Checked against new debian-policy and changed to 3.7.3
only in patch2:
unchanged:
--- pam-shield-0.9.2.orig/debian/patches/cron_fix.patch
+++ pam-shield-0.9.2/debian/patches/cron_fix.patch
@@ -0,0 +1,8 @@
+--- a/pam_shield.cron	2008-05-01 17:52:01.000000000 +0200
++++ b/pam_shield.cron	2008-05-01 17:52:21.000000000 +0200
+@@ -1,4 +1,4 @@
+ #! /bin/sh
+ 
+-/usr/sbin/shield-purge -c /etc/security/shield.conf
++[ -x /usr/sbin/shield-purge ] && /usr/sbin/shield-purge -c /etc/security/shield.conf
+ 

Reply via email to