First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 208558
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Davide Pesavento <davidepesa@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dhclient-script.patch dhclient-script.patch patch Davide Pesavento 2008-02-02 10:52 0000 498 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 208558 depends on: Show dependency tree
Bug 208558 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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.

------- Comment #1 From Davide Pesavento 2008-02-02 10:52:27 0000 -------
Created an attachment (id=142465) [details]
dhclient-script.patch

This patch fixes the problem.

------- Comment #2 From Jakub Moc (RETIRED) 2008-02-02 11:08:41 0000 -------
Which ebuild and version is this about?

------- Comment #3 From Harald van Dijk 2008-02-02 13:47:04 0000 -------
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.

------- Comment #4 From Davide Pesavento 2008-02-02 15:47:18 0000 -------
(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

------- Comment #5 From SpanKY 2008-03-29 19:47:37 0000 -------
ran `sed -i 's:echo -e:printf:' */*.patch` in the dhcp dir

First Last Prev Next    No search results available      Search page      Enter new bug