tag 570160 + pending
thanks

Dear maintainer,

I've prepared an NMU for nsd3 (versioned as 3.2.4-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG Key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Ostbahn-Kurti & Die Chefpartie: Stadt aus Sta
diff -Nru nsd3-3.2.4/debian/changelog nsd3-3.2.4/debian/changelog
--- nsd3-3.2.4/debian/changelog	2010-01-25 16:41:40.000000000 +0100
+++ nsd3-3.2.4/debian/changelog	2010-03-08 22:43:12.000000000 +0100
@@ -1,3 +1,14 @@
+nsd3 (3.2.4-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "Installation fails because of missing /etc/nsd3/nsd.conf"; apply
+    patch from martin f krafft (closes: #570160).
+  * Fix lintian errors: add $remote_fs to required-start and -stop in the init
+    script. (The other lintian error about /var/run/nsd3/ looks bogus as this
+    directory is re-created in the init script anyway.)
+
+ -- gregor herrmann <gre...@debian.org>  Mon, 08 Mar 2010 22:30:10 +0100
+
 nsd3 (3.2.4-1) unstable; urgency=low
 
   * New upstream version 3.2.4
diff -Nru nsd3-3.2.4/debian/init nsd3-3.2.4/debian/init
--- nsd3-3.2.4/debian/init	2010-01-25 16:41:40.000000000 +0100
+++ nsd3-3.2.4/debian/init	2010-03-08 22:34:41.000000000 +0100
@@ -1,8 +1,8 @@
 #!/bin/sh -e
 ### BEGIN INIT INFO
 # Provides:          nsd3
-# Required-Start:    $syslog
-# Required-Stop:     $syslog
+# Required-Start:    $syslog $remote_fs
+# Required-Stop:     $syslog $remote_fs
 # Should-Start:      $local_fs
 # Should-Stop:       $local_fs
 # Default-Start:     2 3 4 5
@@ -26,14 +26,18 @@
     log_end_msg $?
 }
 
-case "$(nsd_cfg pidfile)" in
-    /var/run/nsd3/*)
-        mkdir -p /var/run/nsd3 && chown "$(nsd_cfg username nsd)" /var/run/nsd3
-        ;;
-esac
-
 case "$1" in
     start)
+        if test \! -f /etc/nsd3/nsd.conf; then
+            log_begin_msg "Not starting nsd3 due to missing configuration file."
+            log_end_msg 0
+            exit 0
+        fi
+        case "$(nsd_cfg pidfile)" in
+            /var/run/nsd3/*)
+                mkdir -p /var/run/nsd3 && chown "$(nsd_cfg username nsd)" /var/run/nsd3
+                ;;
+        esac
         if test \! -f "$(nsd_cfg database /var/lib/nsd3/nsd.db)"; then
             nsdc_log rebuild "Building nsd3 zones..."
         fi

Attachment: signature.asc
Description: Digital signature

Reply via email to