Bug 1420570

Summary: DHCPv6 broken
Product: Red Hat Enterprise Linux 6 Reporter: Christian Elsen <elsenc>
Component: initscriptsAssignee: David Kaspar // Dee'Kej <deekej>
Status: CLOSED CURRENTRELEASE QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.9CC: deekej
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-09 17:16:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Elsen 2017-02-09 00:52:56 UTC
Description of problem: IPv6 address acquisition via DHCP is not possible. 


Version-Release number of selected component (if applicable):
RHEL-6.9_HVM_Beta-20161219-x86_64-2-Hourly2-GP2

How reproducible: 
Possible to use AWS with above AMI. Configure VPC for IPv6 first. 

Steps to Reproduce:
1. Enable IPv6 address acquisition via DHCPv6
1a. Add to /etc/sysconfig/network: 
NETWORKING_IPV6=yes
1b. Add to /etc/sysconfig/network-scripts/ifcfg-eth0
IPV6INIT=yes
DHCPV6C=yes
NM_CONTROLLED=no
2. Restart network with "sudo service network restart"
3. Observe error message and that no IPv6 address was acquired. 

Actual results:
No IPv6 address acquired. 

Expected results:
Should acquire IPv6 address

Additional info:
Error is within the file /etc/sysconfig/network-scripts/ifup-eth;
Line 327 needs to be changed from
if /sbin/dhclient “$DHCLIENTARGS”; then
to 
if /sbin/dhclient $DHCLIENTARGS; then

Comment 2 Lukáš Nykrýn 2017-02-09 13:52:19 UTC
What version of initscripts do you use? This should be fixed in >= 9.03.57

Comment 3 David Kaspar // Dee'Kej 2017-02-09 17:16:27 UTC
(In reply to Lukáš Nykrýn from comment #2)
> What version of initscripts do you use? This should be fixed in >= 9.03.57

Exactly as Lukáš says, this is already fixed for current RHEL-6.9 build. See:
https://github.com/fedora-sysv/initscripts/commit/590adf623afff95c4b601f6e

Comment 4 David Kaspar // Dee'Kej 2017-02-09 17:20:14 UTC
Ahh, I hit the 'Save Changes' pre-maturely... 

I also wanted to thank you for your bug report, much appreciated.

If you stumble upon anything else, feel free to open new bug report for it.

With kind regards,

David