Based on the information in the bug, I believe I found a patch for this issue.  
I'm planning on uploading an NMU (although DomainKeys is relatively obsolete, 
I think it's worthwhile to provide this package in Wheezy) that fixes this and 
a few other things.  Since it includes non-RC changes as well, I'll upload to 
delay/2.  Feel free to cancel and replace it with your own upload or ask me to 
increase the delay.  NMU diff attached.

Scott K

diff -u dk-milter-1.0.0.dfsg/debian/dk-filter.init dk-milter-1.0.0.dfsg/debian/dk-filter.init
--- dk-milter-1.0.0.dfsg/debian/dk-filter.init
+++ dk-milter-1.0.0.dfsg/debian/dk-filter.init
@@ -2,8 +2,8 @@
 #
 ### BEGIN INIT INFO
 # Provides:		dk-filter
-# Required-Start:	$syslog
-# Required-Stop:	$syslog
+# Required-Start:	$remote_fs $syslog
+# Required-Stop:	$remote_fs $syslog
 # Should-Start:		$local_fs $network
 # Should-Stop:		$local_fs $network
 # Default-Start:	2 3 4 5
@@ -26,6 +26,11 @@
 
 test -x $DAEMON || exit 0
 
+if [ ! -d $RUNDIR ] ; then
+	mkdir $RUNDIR
+	chown $USER $RUNDIR
+fi
+
 # Include dk-filter defaults if available
 if [ -f /etc/default/dk-filter ] ; then
 	. /etc/default/dk-filter
diff -u dk-milter-1.0.0.dfsg/debian/changelog dk-milter-1.0.0.dfsg/debian/changelog
--- dk-milter-1.0.0.dfsg/debian/changelog
+++ dk-milter-1.0.0.dfsg/debian/changelog
@@ -1,3 +1,16 @@
+dk-milter (1.0.0.dfsg-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add missing assertion failure change for case of missing key
+    Closes: #481072, LP: #520612
+    - Patch from 'guyver.nkama' via Launchpad
+  * Really create $RUNDIR in init script if it doesn't exist (change from
+    Ubuntu)
+  * Add $remote_fs to Required-Start and Required-Stop in
+    debian/dk-filter.init
+
+ -- Scott Kitterman <sc...@kitterman.com>  Fri, 23 Mar 2012 00:51:38 -0400
+
 dk-milter (1.0.0.dfsg-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
only in patch2:
unchanged:
--- dk-milter-1.0.0.dfsg.orig/libdk/dk.c
+++ dk-milter-1.0.0.dfsg/libdk/dk.c
@@ -1097,6 +1097,9 @@
 		if (dk->dk_key != NULL)
 			return DK_STAT_OK;
 
+		if (dk->dk_selector == NULL)
+			return DK_STAT_NOKEY;
+
 		ssel = dk_sterilize(dk->dk_selector);
 		if (ssel == NULL)
 		{

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to