Bug 208558 - net-misc/dhcp - dhclient-script requires `echo -e`
|
Bug#:
208558
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: base-system@gentoo.org
|
Reported By: davidepesa@gmail.com
|
|
Component: Core system
|
|
|
URL:
|
|
Summary: net-misc/dhcp - dhclient-script requires `echo -e`
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-02-02 10:51 0000
|
# cat /etc/resolv.conf
# Generated by resolvconf
search pesa.homelinux.org
nameserver 192.168.86.2
-e # Generated by dhclient for interface eth0#
The last line looks strange.
After patching:
# cat /etc/resolv.conf
# Generated by resolvconf
search pesa.homelinux.org
nameserver 192.168.86.2
This is ok.
Which ebuild and version is this about?
dhclient and dhclient-script are part of net-misc/dhcp, and I can reproduce the
problem with version 3.1.0. echo -e is not supported by all shells (nor should
it), but is by bash, so systems where /bin/sh is bash won't be affected.
(In reply to comment #2)
> Which ebuild and version is this about?
>
net-misc/dhcp-3.1.0
app-shells/dash-0.5.4.6-r1
# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 3 gen 17:03 /bin/sh -> dash
ran `sed -i 's:echo -e:printf:' */*.patch` in the dhcp dir