cloud-init-dev team mailing list archive
-
cloud-init-dev team
-
Mailing list archive
-
Message #02668
[Merge] ~smoser/cloud-init:bug/1693361-apt-get-locks into cloud-init:master
The proposal to merge ~smoser/cloud-init:bug/1693361-apt-get-locks into cloud-init:master has been updated.
Commit Message changed to:
systemd: make cloud-final.service run before apt daily services.
This is really just a work around for apt. The solution here is to cause
cloud-init-final.service to run Before the processes that run daily and may
cause a lock on the apt database.
apt-daily-upgrade.service contains 'After=apt-daily.service'.
Per systemd man page:
Timer units automatically gain a Before= dependency on the service
they are supposed to activate.
Thus following order is enforced, so we can just be 'Before' the first.
apt-daily.timer
apt-daily.service
apt-daily-upgrade.timer
apt-daily-upgrade.service
LP: #1693361
For more details, see:
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/325513
--
Your team cloud-init commiters is requested to review the proposed merge of ~smoser/cloud-init:bug/1693361-apt-get-locks into cloud-init:master.