# 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.
Created attachment 142465 [details, diff] dhclient-script.patch This patch fixes the problem.
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