Bug 477534 - ifup-eth calls dhcp6c when IPv6 is disabled
Summary: ifup-eth calls dhcp6c when IPv6 is disabled
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-21 17:58 UTC by Ryan O'Hara
Modified: 2014-03-17 03:16 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-12-22 16:06:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ryan O'Hara 2008-12-21 17:58:22 UTC
If IPV6INIT is set to "no" in an interface's ifcfg file, dhcp6c will still get called. This seems incorrect. IPV6INIT = "no" should disable IPv6 for that interface and the ifup-eth script should honor that.

Here is the relevant code form ifup-eth:

# IPv6 initialisation?
/etc/sysconfig/network-scripts/ifup-ipv6 ${CONFIG}
if [[ "${DHCPV6C}"  = [Yy1]* ]] && [ -x /sbin/dhcp6c ]; then
    /sbin/dhcp6c ${DEVICE};


The ifup-ipv6 script actually checks the value of IPV6INIT, and if it is not set to "yes", the script exits. Regardless of what ifup-ipv6 does, ifup-eth will continue to run dhcp6c.

Bottom line that that I would expect IPV6INIT="no" to prevent dhcp6c from being run.

Comment 1 Bill Nottingham 2008-12-22 16:06:30 UTC
You have conflicting configuration - you've explicitly configured dhcp6c to run.


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