[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#910753: apt: Race condition between apt's systemd timers & cloud-init



Control: reassign -1 cloud-init

On Wed, Oct 10, 2018 at 10:14:14AM -0700, Ross Vandegrift wrote:
> Package: apt
> Version: 1.7.0
> Severity: normal
> 
> Hello,
> 
> When a cloud VM is booted with systemd, the timers for apt's periodic actions
> are launched in parallel with cloud-init.  cloud-init does some initial
> setup, but it also allows end users to customize the system by e.g.,
> installing packages with apt.

I have not heard or seen this before.

> 
> Would you be open to adding cloud-init.target to the After list on
> apt-daily.timer? 

No. cloud-init injects itself into the boot to try to run as early
as possible. It must ensure it works properly itself, and probably
wants to run Before=timers.target.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en


Reply to: