[pkg-dhcp-devel] Bug#781768: /sbin/dhclient: typo in debug script makes then useless

Vincent Danjean vdanjean at debian.org
Thu Apr 2 19:01:20 UTC 2015


Package: isc-dhcp-client
Version: 4.3.1-6
Severity: normal
File: /sbin/dhclient
Tags: patch

  Hi,

  In /etc/dhcp/dhclient-enter-hooks.d/debug and
/etc/dhcp/dhclient-exit-hooks.d/debug, there is a loop on variable name
that should be dumped in the log file. However, there is a typo so that,
currently, only the name of the variable is dumped (not its contents).
  The script has:
                        var="${prefix}${basevar}"
                        eval "content=\$var"
It should be
                        var="${prefix}${basevar}"
                        eval "content=\$$var"
(ie $var should be expanded before the protected $ do its work in the eval)

  Regards,
    Vincent


-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel, mipsel

Kernel: Linux 3.19.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages isc-dhcp-client depends on:
ii  debianutils       4.4+b1
ii  iproute2          3.16.0-2
ii  isc-dhcp-common   4.3.1-6
ii  libc6             2.19-17
ii  libdns-export100  1:9.9.5.dfsg-9
ii  libirs-export91   1:9.9.5.dfsg-9
ii  libisc-export95   1:9.9.5.dfsg-9

isc-dhcp-client recommends no packages.

Versions of packages isc-dhcp-client suggests:
ii  avahi-autoipd  0.6.31-4+b2
ii  resolvconf     1.76.1

-- no debconf information



More information about the pkg-dhcp-devel mailing list