Periodic cron for package/security list updates causing hanging issues on docker
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Fix Released
|
Undecided
|
Thomas Bechtold | ||
Bionic |
New
|
Undecided
|
Unassigned | ||
Focal |
New
|
Undecided
|
Unassigned |
Bug Description
The upstream Ubuntu docker image has periodic update enabled (i.e. AutoAptEnable APT::Periodic:
In my scenario I had a team add Nginx that ran cron on startup and periodically to do maintenance work. This brought in cron (for better or worse).
With cron now in place to do Nginx related things it also started processing the APT related cron which done in conjunction with Nginx would cause CPU spikes (due to intentional resource limitations) and made apt-config hang in the container, which also makes the container often hang.
See https:/
Related branches
- Utkarsh Gupta: Approve
- Tomáš Virtus (community): Approve
-
Diff: 28 lines (+10/-0)2 files modifieddebian/changelog (+7/-0)
live-build/functions (+3/-0)
Changed in cloud-images: | |
assignee: | nobody → Thomas Bechtold (toabctl) |
status: | New → In Progress |
Changed in cloud-images: | |
status: | Fix Committed → Fix Released |
Thank you for opening this bug. It appears it's been open for a while. Sorry about not replying earlier. As you can see toabctl picked this up and has proposed a fix to the way we build our Docker containers. Because this goes into livecd-rootfs, we will need to follow the SRU process to propagate this change through all the versions of Ubuntu.