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

Remove old kernels from long-running templates #442

Closed
emkll opened this issue Feb 6, 2020 · 2 comments
Closed

Remove old kernels from long-running templates #442

emkll opened this issue Feb 6, 2020 · 2 comments

Comments

@emkll
Copy link
Contributor

emkll commented Feb 6, 2020

Because linux-headers and linux-image packages are pulled in via apt dependency (securedrop-workstation-grsec metapackage), when the metapackage, headers and image are updated, the previous versions will remain installed. we should run autoremove as part of the update process (maybe the launcher?) to ensure we don't exhaust system storage.

A single kernel/header version takes ~650MB on disk (system storage default is 10GB, with ~50% used)

@conorsch
Copy link
Contributor

Should be resolved by #722, specifically https://github.com/freedomofpress/securedrop-workstation/pull/722/files#diff-c53f24489d05b8fbea9800086d050eb3ae5afa8742c864c0f655f8a78870a017R24-R28 Not marking as closed until we observe that change cleaning up historical kernel packages on a staging instance.

@legoktm
Copy link
Member

legoktm commented Jul 19, 2023

Indeed, this was fixed back in 2021 in 46abb0b which added apt-get autoremove -y to the update process.

@legoktm legoktm closed this as completed Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants