https://bugzilla.redhat.com/show_bug.cgi?id=1119413
Bug ID: 1119413 Summary: docker-io systemd unit file specifies environment file. But, does not uses it. Product: Fedora Version: 20 Component: docker-io Assignee: lsm5@switzerlandmail.ch Reporter: prudhvi@mapr.com QA Contact: extras-qa@fedoraproject.org CC: admiller@redhat.com, golang@lists.fedoraproject.org, hushan.jia@gmail.com, lsm5@switzerlandmail.ch, mattdm@redhat.com, mgoldman@redhat.com, s@shk.io, vbatts@redhat.com
Description of problem:
docker-io package installs docker.service systemd unitfile that uses EnvironemtFile (/etc/sysconfig/docker). But, does not uses it on ExecStart.
For our use case we run docker with special storage options to increase the default rootfs size on the container to 30GB. To do that we have to specify additional command line flags to the docker daemon (--storage-opt dm.basesize=30G --storage-opt dm.loopdatasize=200G).
Having to edit ExecStart on every docker-io package update does not scale. This bug requests the use of Environment flags defined in (/etc/sysconfig/docker) to be used on the ExecStart command line.
How reproducible: Always
Steps to Reproduce: 1. Install docker-io 2. Specify additional command line flags in environment file and start service 3. The service doesn't start with the given flags.
Actual results: Service doesn't start with correct command line flags
Expected results: Service starts with correct command line falgs.
Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1119413
Daniel Walsh dwalsh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |dwalsh@redhat.com
--- Comment #1 from Daniel Walsh dwalsh@redhat.com --- In RHEL7 we now have
cat /lib/systemd/system/docker.service [Unit] Description=Docker Application Container Engine Documentation=http://docs.docker.io After=network.target Requires=docker.socket
[Service] Type=notify EnvironmentFile=-/etc/sysconfig/docker ExecStart=/usr/bin/docker -d $OPTIONS Restart=on-failure LimitNOFILE=1048576 LimitNPROC=1048576
[Install] WantedBy=multi-user.target
and cat /etc/sysconfig/docker # /etc/sysconfig/docker
# Modify these options if you want to change the way the docker daemon runs OPTIONS=--selinux-enabled -H fd://
https://bugzilla.redhat.com/show_bug.cgi?id=1119413
--- Comment #2 from Lokesh Mandvekar lsm5@fedoraproject.org --- ack, adding this to fedora as well. Thanks Prudhvi and Dan
https://bugzilla.redhat.com/show_bug.cgi?id=1119413
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=1119413
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- docker-io-1.0.0-9.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/docker-io-1.0.0-9.fc20
https://bugzilla.redhat.com/show_bug.cgi?id=1119413
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- docker-io-1.0.0-9.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/docker-io-1.0.0-9.fc19
https://bugzilla.redhat.com/show_bug.cgi?id=1119413
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- Package docker-io-1.0.0-9.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing docker-io-1.0.0-9.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-8877/docker-io-1.0.0-9.f... then log in and leave karma (feedback).
https://bugzilla.redhat.com/show_bug.cgi?id=1119413
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version| |docker-io-1.0.0-9.fc20 Resolution|--- |ERRATA Last Closed| |2014-07-30 03:01:51
--- Comment #6 from Fedora Update System updates@fedoraproject.org --- docker-io-1.0.0-9.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1119413
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- docker-io-1.1.2-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/docker-io-1.1.2-2.fc19
https://bugzilla.redhat.com/show_bug.cgi?id=1119413
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- docker-io-1.1.2-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/docker-io-1.1.2-3.fc19
https://bugzilla.redhat.com/show_bug.cgi?id=1119413
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|docker-io-1.0.0-9.fc20 |docker-io-1.1.2-3.fc19
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- docker-io-1.1.2-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
golang@lists.fedoraproject.org