Bug 132361 - /sbin/dhclient-script does not like 'netprofiles'
/sbin/dhclient-script does not like 'netprofiles'
Product: Fedora
Classification: Fedora
Component: dhcp (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jason Vas Dias
Depends On:
Blocks: FC3Target
  Show dependency treegraph
Reported: 2004-09-11 13:10 EDT by Manuel Moreno
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-15 09:49:10 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 Manuel Moreno 2004-09-11 13:10:47 EDT
Description of problem:

/sbin/dhclient-script does not work with 'netprofiles' when several of
them use dhcp on the same physical interface

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

How reproducible:

Steps to Reproduce:
1. create two profiles that use dhcp on the same interface i.e eth0
eth0-profa and eth0-profb
2. try to change profiles with system-config-network-cmd -p profa -a
Actual results:
error setting interface parameters

Expected results:
dhcp setting right interface parameters

Additional info:

this seems to fix it:

diff -uNa dhclient-script.old dhclient-script
--- dhclient-script.old 2004-09-11 17:58:48.065313456 +0100
+++ dhclient-script     2004-09-11 17:59:06.548503584 +0100
@@ -83,7 +83,7 @@
 [ -f ../network ] && . ../network
 [ -f ../networking/network ] && . ../networking/network

+CONFIG=`fgrep -il "DEVICE=${interface}" ifcfg-* | cut -f2 -d '-'`

 need_config ${CONFIG}
Comment 1 Jason Vas Dias 2004-09-15 09:49:10 EDT
 This has been fixed in latest Fedora Core release (FC3t2).

Comment 2 John Flanagan 2004-12-21 14:41:46 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.