Your message dated Sun, 22 Jul 2007 11:17:05 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#434199: fixed in pdnsd 1.2.5par-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: pdnsd
Version: 1.2.5par-2
Severity: important

Hi,

resolvconf script incorrectly expects the output
of /lib/resolvconf/list-records to be non-empty. When an empty list is
returned, the script hangs because cat expects data from stdin.

On my configuration, this bug disallows the machine to shutdown
correctly, and it also needs some Ctrl-C hitting to boot.

Patch attached.

-- 
Jindrich Makovicka
--- pdnsd.orig	2007-07-22 12:08:05.000000000 +0200
+++ pdnsd	2007-07-22 12:04:52.000000000 +0200
@@ -37,9 +37,15 @@
 	done
 }
 
-uniquify "`cat $(/lib/resolvconf/list-records)                      \
-            | sed -n -e 's/^[[:space:]]*nameserver[[:space:]]\+//p' \
-            | grep -v '^127.0.0.1$'`"
+FILES=$(/lib/resolvconf/list-records)
+
+if test -n "$FILES" ; then
+    uniquify "`cat $FILES \
+                | sed -n -e 's/^[[:space:]]*nameserver[[:space:]]\+//p' \
+                | grep -v '^127.0.0.1$'`"
+else
+    RSLT=""
+fi
 
 if [ -n "$RSLT" ] ; then
 	OUTPUT="$(/usr/sbin/pdnsd-ctl server resolvconf up "$RSLT" || :)"

--- End Message ---
--- Begin Message ---
Source: pdnsd
Source-Version: 1.2.5par-3

We believe that the bug you reported is fixed in the latest version of
pdnsd, which is due to be installed in the Debian FTP archive:

pdnsd_1.2.5par-3.diff.gz
  to pool/main/p/pdnsd/pdnsd_1.2.5par-3.diff.gz
pdnsd_1.2.5par-3.dsc
  to pool/main/p/pdnsd/pdnsd_1.2.5par-3.dsc
pdnsd_1.2.5par-3_amd64.deb
  to pool/main/p/pdnsd/pdnsd_1.2.5par-3_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre Habouzit <[EMAIL PROTECTED]> (supplier of updated pdnsd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 22 Jul 2007 12:56:26 +0200
Source: pdnsd
Binary: pdnsd
Architecture: source amd64
Version: 1.2.5par-3
Distribution: unstable
Urgency: medium
Maintainer: Pierre Habouzit <[EMAIL PROTECTED]>
Changed-By: Pierre Habouzit <[EMAIL PROTECTED]>
Description: 
 pdnsd      - Proxy DNS Server
Closes: 434199
Changes: 
 pdnsd (1.2.5par-3) unstable; urgency=medium
 .
   * (debian/resolvconf): fix deadlock in resolvconf scripts when there is no
     interface file (Closes: 434199). Thanks to Jindrich Makovicka for having
     understood the problem, though a slightly different patch has been checked
     in.
Files: 
 7da9915ec64020e1db33d34921320ee2 655 net optional pdnsd_1.2.5par-3.dsc
 c6ada4571f99cfabb5a56fbd26759c94 66548 net optional pdnsd_1.2.5par-3.diff.gz
 d2cd34fc647a06734c93f46c88e57131 266556 net optional pdnsd_1.2.5par-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGoziavGr7W6HudhwRAhjgAJwMGHMgCcMAswj1o5a2pJdYTBamhgCfYj5m
/RVGPfBETdlQniIiIcOGeDw=
=3GL3
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to