[Resolvconf-devel] Bug#502863: resolvconf: shell script contains nonworking code
Peter T. Breuer
ptb at inv.it.uc3m.es
Mon Oct 20 10:41:48 UTC 2008
Package: resolvconf
Version: 1.42
Severity: important
The following lines from the /sbin/resolvconf script cause my shell
(bash) to bomb:
[ "${IFACE/\/}" = "$IFACE" ] || { report_iface_err "Slash" ; exit 1 ; }
[ "${IFACE/ }" = "$IFACE" ] || { report_iface_err "Space" ; exit 1 ; }
It appears to be that slash stuff in the variable. The error is:
/sbin/resolvconf: 1: Bad substitution
Commenting th elines stops the error.
I have
ii bash 3.2-4 The GNU Bourne Again SHell
There's also other stuff wrong, but I'll file separate reports. No
/etc/resolvconf/run/enable-updates file, or something like that, and
nothing does anything and links point to nowhere.
-- System Information:
Debian Release: lenny/sid
APT prefers hardy-updates
APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-19-generic (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Versions of packages resolvconf depends on:
ii coreutils 6.10-6 The GNU core utilities
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
resolvconf recommends no packages.
resolvconf suggests no packages.
-- debconf information:
resolvconf/downup-interfaces:
resolvconf/link-tail-to-original: false
resolvconf/linkify-resolvconf: true
More information about the Resolvconf-devel
mailing list