FS#41338 - [docker] Faulty service file
Attached to Project:
Community Packages
Opened by nfnty (nfnty) - Friday, 25 July 2014, 00:53 GMT
Last edited by Sébastien Luttringer (seblu) - Saturday, 26 July 2014, 15:10 GMT
Opened by nfnty (nfnty) - Friday, 25 July 2014, 00:53 GMT
Last edited by Sébastien Luttringer (seblu) - Saturday, 26 July 2014, 15:10 GMT
|
Details
Description:
docker.service is missing a line: Requires=docker.socket Seems to be an upstream bug from the 1.1.2 release. In the master branch contrib/init/systemd/socket-activation/docker.service has the missing line. Additional info: * package version(s) 1:1.1.2-1 Steps to reproduce: systemctl start docker |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Saturday, 26 July 2014, 15:10 GMT
Reason for closing: Fixed
Additional comments about closing: docker-1:1.1.2-2
Saturday, 26 July 2014, 15:10 GMT
Reason for closing: Fixed
Additional comments about closing: docker-1:1.1.2-2
1) Requires doesn't ensure any ordering. So, docker.socket could start after docker.service, leading to a startup failure.
2) Lousy enable behavior. If docker is started in such a way by docker.service that it *requires* /run/docker.sock to already exist, then the .service should have Also=docker.socket in the [Install] section, and not the current WantedBy directive.