This is a direct consequence of bug 1575572. In particular this part:

runcmd:
- [ systemctl, start, dcos-docker-install.service ]

In 16.04 final this was not actually working. I. e. you asked for
starting this service, but it wasn't actually started. This got fixed in
bug 1575572, so that packages that you install in "packages:" or
"runcmd:" (which start services) or direct start requests like your's
from above now actually do what you asked it to.

So this is indeed a behaviour change, but I fail to see how it is a
regression and not a bug fix? I. e. can you clarify why you would expect
docker not to start despite your explicit runcmd to do so?

** Changed in: init-system-helpers (Ubuntu)
       Status: New => Incomplete

** Changed in: init-system-helpers (Ubuntu Xenial)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to init-system-helpers in
Ubuntu.
https://bugs.launchpad.net/bugs/1588477

Title:
  regression-update: systemd init behavior change

Status in init-system-helpers package in Ubuntu:
  Incomplete
Status in init-system-helpers source package in Xenial:
  Incomplete

Bug description:
  regression-update for 1575572.

  After the time 1575572 was checked in we observed a behavior change in
  the systemd init.

  We have been able to repro the issue and can observe that dpkg seems
  to start docker on “16.04.201605310 Daily”, but not “16.04.201605280
  Daily”.

  The problem seems to be that in 16.04.201605310.Daily after  “dcos-
  docker-install.service” runs “Job for docker.service” can be seen
  trying to start docker.  On 16.04.0-LTS, it does not try to start
  docker while running “dcos-docker-install.service”.  Why is the binary
  being started now and not before?

  Below are the Contents of the cloud-init, with the 3 docker
  installation files that fail:

  Contents of Cloud-Init, show relationship between Systemd files
  #cloud-config

  write_files:
  - path: /etc/systemd/system/dcos-docker-install.service
    permissions: "0644"
    content: |
      [Unit]
      After=network-online.target
      Wants=network-online.target
      [Service]
      Type=oneshot
      Environment=DEBIAN_FRONTEND=noninteractive
      StandardOutput=journal+console
      StandardError=journal+console
      ExecStartPre=/usr/bin/curl -fLsSv --retry 20 -Y 100000 -y 60 -o 
/tmp/d.deb 
https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.0-0~xenial_amd64.deb
      ExecStart=/usr/bin/bash -c "try=1;until dpkg -D3 -i /tmp/d.deb || ((try > 
5));do echo retry $((try++));sleep 120;done;systemctl --now start docker"
  - path: /etc/systemd/system/docker.service.d/execstart.conf
    permissions: "0644"
    content: |
      [Service]
      Restart=always
      StartLimitInterval=0
      RestartqSec=15
      ExecStart=
      ExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay
  - path: /etc/systemd/system/docker.socket
    permissions: "0644"
    content: |
      [Unit]
      PartOf=docker.service
      [Socket]
      ListenStream=/var/run/docker.sock
      SocketMode=0660
      SocketUser=root
      SocketGroup=docker
      ListenStream=2375
      BindIPv6Only=both
      [Install]
      WantedBy=sockets.target
  runcmd:
  - [ ln, -s, /bin/rm, /usr/bin/rm ]
  - [ ln, -s, /bin/mkdir, /usr/bin/mkdir ]
  - [ ln, -s, /bin/tar, /usr/bin/tar ]
  - [ ln, -s, /bin/ln, /usr/bin/ln ]
  - [ ln, -s, /bin/cp, /usr/bin/cp ]
  - [ ln, -s, /bin/systemctl, /usr/bin/systemctl ]
  - [ ln, -s, /bin/mount, /usr/bin/mount ]
  - [ ln, -s, /bin/bash, /usr/bin/bash ]
  - [ systemctl, stop, resolvconf.service ]
  - [ systemctl, disable, resolvconf.service ]
  - [ systemctl, stop, lxc-net.service ]
  - [ systemctl, disable, lxc-net.service ]
  - [ systemctl, mask, lxc-net.service ]
  - [ systemctl, start, dcos-docker-install.service ]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/init-system-helpers/+bug/1588477/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to