Your message dated Tue, 27 Jan 2015 11:03:54 +0000
with message-id <e1yg3w2-0003g9...@franck.debian.org>
and subject line Bug#775356: fixed in resolvconf 1.76.1
has caused the Debian Bug report #775356,
regarding resolvconf: bashisms in /etc/dhcp/dhclient-enter-hooks.d/resolvconf:
shopt and [[ ... ]]
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
775356: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775356
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: resolvconf
Severity: serious
Version: 1.76
Tags: ipv6
Justification: breaks IPv6 networking / bashism in '#!/bin/sh' sourced script
(Policy ยง10.4)
Dear Thomas,
on a fresh Jessie installation, the file
/etc/dhcp/dhclient-enter-hooks.d/resolvconf is sourced by
isc-dhcp-client's /sbin/dhclient-script which has a "#!/bin/sh" shebang
line (since 4.3.1-2 / 27th of September 2014 / Shellshock) on which
resolvconf has no influence.
But /etc/dhcp/dhclient-enter-hooks.d/resolvconf contains two bashisms
which only appear if DHCPv6 is in use:
# dhclient -6 eth0
/sbin/dhclient-script: 55: /sbin/dhclient-script: shopt: not found
/sbin/dhclient-script: 60: /sbin/dhclient-script: [[: not found
/sbin/dhclient-script: 60: /sbin/dhclient-script: [[: not found
/sbin/dhclient-script: 60: /sbin/dhclient-script: [[: not found
/sbin/dhclient-script: 68: /sbin/dhclient-script: shopt: not found
#
The affected lines are:
https://sources.debian.net/src/resolvconf/1.76/etc/dhcp/dhclient-enter-hooks.d/resolvconf/#L55
and
https://sources.debian.net/src/resolvconf/1.76/etc/dhcp/dhclient-enter-hooks.d/resolvconf/#L60
Purging resolvconf fixes the issue.
I may come up with a proper patch later. But something like 'printf "%s"
"$nameserver" | grep -qi "^fe80::"' as test in the if clause should do
the trick. (Thanks to Goswin Brederlow for the idea!)
P.S.: No wicd involved this time. ;-)
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages resolvconf depends on:
ii debconf [debconf-2.0] 1.5.55
ii ifupdown 0.7.52
ii init-system-helpers 1.22
ii initscripts 2.88dsf-58
ii lsb-base 4.1+Debian13+nmu1
resolvconf recommends no packages.
resolvconf suggests no packages.
-- debconf-show failed
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (500, 'buildd-unstable'),
(400, 'stable'), (110, 'experimental'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.17-rc5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
--- End Message ---
--- Begin Message ---
Source: resolvconf
Source-Version: 1.76.1
We believe that the bug you reported is fixed in the latest version of
resolvconf, which is due to be installed in the Debian FTP archive.
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 775...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Hood <jdth...@gmail.com> (supplier of updated resolvconf 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 23 Jan 2015 21:46:34 +0100
Source: resolvconf
Binary: resolvconf
Architecture: source all
Version: 1.76.1
Distribution: unstable
Urgency: medium
Maintainer: resolvconf maintainers <resolvconf-de...@lists.alioth.debian.org>
Changed-By: Thomas Hood <jdth...@gmail.com>
Description:
resolvconf - name server information handler
Closes: 775356
Changes:
resolvconf (1.76.1) unstable; urgency=medium
.
* [eb81ca0] Eliminate bashisms.
Thanks to Michael Gilbert (Closes: #775356)
Checksums-Sha1:
3a0c954a1fcf62b6402ae46c0c8468ebc3b749c8 1712 resolvconf_1.76.1.dsc
bfa94c839d8df041c36a1ad7f7371ab262b72bdb 72328 resolvconf_1.76.1.tar.xz
bd9fb92a2676b76d50d69739a047c0701d11ca95 78064 resolvconf_1.76.1_all.deb
Checksums-Sha256:
b4f41d16156c4b95d552f6358bba2ec44bf3b8fc3d58ef72fc45c19c6926b321 1712
resolvconf_1.76.1.dsc
05318a7988f2b6fa400468ea096f0ccf73d166ac47a4fbab287ff63bea9502d3 72328
resolvconf_1.76.1.tar.xz
e7da311f90339d238761acb568a9aebea7a4eb94f34abada695e97aef2a6bc63 78064
resolvconf_1.76.1_all.deb
Files:
167ec5c33324cf1bce6f889150b50d38 1712 net optional resolvconf_1.76.1.dsc
16f395f43ef5d832922b0cd4a82efcaa 72328 net optional resolvconf_1.76.1.tar.xz
240c1ed4540f2150271ddb8ac83fbca7 78064 net optional resolvconf_1.76.1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJUx291AAoJEFifA/AbpVA4iU4P/iLrqBn/n3JOWIcSIMixhedx
jcpvXYChhAUhd5vYD4vixaMgntSEgDKrJjNosVR02MfwEE1FLUJ5syVCEJnLso5B
/ufHf2jN+/XctvdrCiKixp6AX9/nUc/wtFifhZvnLzTMRAMLj4n+YnMz3hPUWQYb
64YDU4YsPYGY3OsdqDPlXhm2wyzYhmXTlfE1NWEbwWZ9aYeJvkbCe+uhkngPJSfi
MGiupWdI3qNRaT0nHGS8d1UeP5kxwXKiK8Jolv930qJDZ4k9y6Lok+BfzO6SAGHA
SFT77Hs8bLcKq5twWp8SprbefaNAOzBtzOnxsDUhIQnhfPHPbV9ZJi88uL6U8NiI
maabPEEJqklyr52Evoqd99ny+DEiRsCb4Sv5QjEBc2oO/FgwpPTH+v/ToNN7bDaF
XalEd80yrNSDr0ruDqOHwVmyBPJeaRw4GUyH1Dr4TyQYy8KmnA2W6mcjFJrUlbCq
ozUi0gEn5pLGG4n8FaD5fYwTomKmVmVMxNJKhe+rmZbmow2WM+jdKLY033VrtNJy
K9HLzGFCigvpbNAmE4wuj96CxSyDzEgDhPUay5IRvLTY7b1AjdOtM0AoDwjppHZy
DgdTH7lHIaABYC+k6XpUBgor83ggpB6NBPGAW6BpdzSqWF/8TSL5QowCYJWufJMk
faJ8V64wmDaZnSx46dWd
=egY9
-----END PGP SIGNATURE-----
--- End Message ---