Bug 1420570 - DHCPv6 broken
Summary: DHCPv6 broken
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: initscripts
Version: 6.9
Hardware: All
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: David Kaspar [Dee'Kej]
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-09 00:52 UTC by Christian Elsen
Modified: 2017-02-09 17:21 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-09 17:16:27 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


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