Package: nsd3 Version: 3.0.7-3.lenny1 Severity: wishlist Tags: patch It would make it easier to run nsd3 on a read-only system (with /var/lib/nsd3 on a tmpfs), if the nsd3 init.d script would just rebuild the database on startup, unless it already existed (or maybe even just unconditionally), like so:
--- /tmp/nsd3 2009-04-13 12:19:30.982644651 +0200
+++ /etc/init.d/nsd3 2009-04-13 12:20:22.000000000 +0200
@@ -29,6 +29,7 @@
case "$1" in
start)
+ [ -f /var/lib/nsd3/nsd.db ] || ctl nsd rebuild "Building nsd3 zones..."
ctl root start "Starting nsd3..."
;;
stop)
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
.''`. martin f. krafft <[email protected]> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

