Bug 486507

Summary: ifup-eth doesn't run dhcpv6c if no IPv4 address
Product: [Fedora] Fedora Reporter: Bill Nickless <bill.nickless>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: notting, rvokal, stas_k_spam
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 8.86.3-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-20 16:04:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch for ifup-eth to start dhcp6c when no IPv4 address is configured none

Description Bill Nickless 2009-02-20 03:25:42 UTC
Created attachment 332664 [details]
Patch for ifup-eth to start dhcp6c when no IPv4 address is configured

Description of problem:

ifup-eth is supposed to start dhcp6c if the ifcfg-eth? has DHCPV6C=yes.  But if IPADDR is blank, ifup-eth doesn't do that.

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

initscripts-8.86-1

How reproducible:

Put these configuration lines in /etc/sysconfig/network:

NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=centos52.v6tb.labworks.org

Put these configuration lines in /etc/sysconfig/network-scripts/ifcfg-eth0:

DEVICE=eth0
HWADDR=00:50:56:94:5F:F7
DHCPV6C=yes
ONBOOT=yes

Actual results:

The dhcp6c client process is not started, so the DHCPv6 server never assigns the appropriate client address.

Expected results:

The dhcp6c client should be started and the interface should get its IPv6 address from the local DHCPv6 server.

Additional info:

Comment 1 Bill Nottingham 2009-02-20 14:44:43 UTC
*** Bug 466306 has been marked as a duplicate of this bug. ***

Comment 2 Bill Nottingham 2009-03-20 16:04:58 UTC
Fixed differently here, mainly just to avoid code duplication:

http://git.fedorahosted.org/git/?p=initscripts.git;a=commitdiff;h=eb389d68f4637418983e4b514a67eb84cf2f4d7b

Also backported to F-10 branch for a future update.

Comment 3 Fedora Update System 2009-04-02 18:04:35 UTC
initscripts-8.86.1-1 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/initscripts-8.86.1-1

Comment 4 Fedora Update System 2009-04-03 04:16:17 UTC
initscripts-8.86.2-1 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/initscripts-8.86.2-1

Comment 5 Fedora Update System 2009-04-22 20:22:46 UTC
initscripts-8.86.3-1 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.