Bug 106275 - dhclient-script ignores prepend, append statements
dhclient-script ignores prepend, append statements
Product: Red Hat Linux
Classification: Retired
Component: dhcp (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jason Vas Dias
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2003-10-04 14:11 EDT by Jim Richardson
Modified: 2007-04-18 12:58 EDT (History)
0 users

See Also:
Fixed In Version: dhclient-3.0.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-08-20 11:42:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jim Richardson 2003-10-04 14:11:09 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux)

Description of problem:
According to the dhclient.conf man page you should be able to prepend and/or append statements to the resolv.conf which is written upon successful dchp.

I have looked through the script and there appears to be no support for this.

I realize I can set PEERDNS = NO to disable writing, but there are instances where prepending/appending would be very desirable.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. add statement "prepend nameserver;" to the appropriate dhclient*.conf
2. perform an ifdown/ifup on the appropriate dhcp interface


Actual Results:  the resulting resolv.conf file will not have the desired prepended entry

Expected Results:  3. the resulting resolv.conf file would have the desired prepended entry

Additional info:
Comment 1 Jason Vas Dias 2004-08-20 11:42:01 EDT
dhclient-3.0.1+ (latest version) now fully supports and honours
the prepend, append, and supersede options in /etc/dhclient-${IF}.conf
(eg./etc/dhclient-eth0.conf if eth0 is being configured with DHCP).
Comment 2 John Flanagan 2004-12-21 14:42:11 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.