Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unattended-upgrades is automatically enabled in docker #754

Closed
ivanmaria opened this issue Jul 31, 2024 · 3 comments
Closed

unattended-upgrades is automatically enabled in docker #754

ivanmaria opened this issue Jul 31, 2024 · 3 comments
Labels
confirmed-bug Issues with confirmed bugs fixed-release Issues that fixed on next release, waiting to be released

Comments

@ivanmaria
Copy link

Do you want to request a feature or report a bug?
bug

What is the current behavior?
In dockerfile, 'software-properties-common' package is being installed. This library installs 'unattended-upgrades' via recommends.
This library creates a new file '/etc/apt/apt.conf.d/20auto-upgrades' and sets the following config:

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";

This means apt with try to update the package lists and auto upgrade the packages within the docker container at runtime at specific intervals. Through observation, we found out that this was happening every Thursday 12pm IST across all timezones.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
NA

What is the expected behavior?
We do not want to auto upgrade packages at runtime since unchecked updates may bring down the whole application down.

Did this work in previous versions of DocumentServer?
no

DocumentServer Docker tag:
Docker-DocumentServer

Host Operating System:
NA

Question:

  1. Can we modify the dockerfile and add '--no-install-recommends' so that the docker is not bloated with such similar packages?
@avdddd1111
Copy link

Hello @ivanmaria !

I can confirm - this is bug.
Issue #69609.

@Rita-Bubnova Rita-Bubnova added the confirmed-bug Issues with confirmed bugs label Aug 7, 2024
@Rita-Bubnova
Copy link
Member

This has been fixed (ONLYOFFICE/sdkjs@12e7079) and will be released in the next release.

@Rita-Bubnova Rita-Bubnova added the fixed-release Issues that fixed on next release, waiting to be released label Sep 13, 2024
@Rita-Bubnova
Copy link
Member

DocumentServer v8.2.0 is released so I close this issue. Feel free to comment or reopen it if you got further questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed-bug Issues with confirmed bugs fixed-release Issues that fixed on next release, waiting to be released
Projects
None yet
Development

No branches or pull requests

3 participants