Package: pdnsd Version: 1.2.4par-0.1 Severity: normal Tags: patch Hi,
Attached is the diff for my pdnsd 1.2.4par-0.2 NMU. bye, - michael
diff -u pdnsd-1.2.4par/debian/changelog pdnsd-1.2.4par/debian/changelog --- pdnsd-1.2.4par/debian/changelog +++ pdnsd-1.2.4par/debian/changelog @@ -1,3 +1,13 @@ +pdnsd (1.2.4par-0.2) unstable; urgency=medium + + * Non-maintainer upload. + * Check for bind named pidfile in initscript and do not + try to startup, otherwise pdnsd installation bails + out if named is running on the same host (Closes: #389609) + * add --no-create-home to adduser call. + + -- Michael Ablassmeier <[EMAIL PROTECTED]> Thu, 12 Oct 2006 08:18:52 +0200 + pdnsd (1.2.4par-0.1) unstable; urgency=low * Non-maintainer upload. diff -u pdnsd-1.2.4par/debian/init.d pdnsd-1.2.4par/debian/init.d --- pdnsd-1.2.4par/debian/init.d +++ pdnsd-1.2.4par/debian/init.d @@ -85,6 +85,11 @@ case "$1" in start) echo -n "Starting $DESC: $NAME" + if [ -e /var/run/named.pid ] || + [ -e /var/run/bind/run/named.pid ]; then + echo " (skipping startup: named (bind) already running)." + exit 0 + fi gen_cache start case "$?" in diff -u pdnsd-1.2.4par/debian/postinst pdnsd-1.2.4par/debian/postinst --- pdnsd-1.2.4par/debian/postinst +++ pdnsd-1.2.4par/debian/postinst @@ -2,7 +2,7 @@ set -e -id pdnsd > /dev/null 2>&1 || adduser --system --ingroup proxy --home /var/cache/pdnsd --gecos pdnsd pdnsd || true +id pdnsd > /dev/null 2>&1 || adduser --system --ingroup proxy --home /var/cache/pdnsd --no-create-home --gecos pdnsd pdnsd || true if [ "$1" = "configure" -a -n "$2" ] && dpkg --compare-versions "$2" lt "1.1" ; then if [ -f /var/cache/pdnsd/pdnsd.cache ]; then