Bug 1065001

Summary: Starting docker service removes IPv6 default route
Product: [Fedora] Fedora EPEL Reporter: Lucas Maneos <redhat>
Component: docker-ioAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: admiller, golang-updates, jkeck, lsm5, mattdm, mgoldman, skottler, vbatts
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: docker-io-0.8.0-3.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-22 01:49:33 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 Lucas Maneos 2014-02-13 16:47:25 UTC
Description of problem:

The docker init script does this:

    preexec="/sbin/sysctl"
    [ -x $preexec ] || exit 6
    $preexec -w net.ipv4.ip_forward=1 > /dev/null 2>&1
    $preexec -w net.ipv6.conf.all.forwarding=1 > /dev/null 2>&1

These two settings are not quite equivalent.  In particular, net.ipv6.conf.all.forwarding=1 disables autoconfiguration.

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

0.7.6-2.el6

How reproducible:


Steps to Reproduce:
1. Start with a host using stateless IPV6 networking configuration.
2. Install docker-io.
3. Start docker-io service.


Actual results:
Loss of ::/0 route (previously auto-configured via a router advertisment).

Expected results:
No changes in routing table.

Additional info:

According to Documentation/networking/ip-sysctl.txt setting net.ipv6.conf.xxx.accept_ra to 2 should re-enable it for that interface but that doesn't seem to work for me.

Comment 1 Fedora Update System 2014-02-14 16:12:24 UTC
docker-io-0.8.0-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/docker-io-0.8.0-3.el6

Comment 2 Fedora Update System 2014-02-16 11:25:13 UTC
Package docker-io-0.8.0-3.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing docker-io-0.8.0-3.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-0580/docker-io-0.8.0-3.el6
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-02-22 01:49:33 UTC
docker-io-0.8.0-3.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.