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

Add additional qubes logs to logrotate #5820

Closed
brendanhoar opened this issue May 13, 2020 · 1 comment
Closed

Add additional qubes logs to logrotate #5820

brendanhoar opened this issue May 13, 2020 · 1 comment
Labels
C: other eol-4.0 Closed because Qubes 4.0 has reached end-of-life (EOL) P: major Priority: major. Between "default" and "critical" in severity.

Comments

@brendanhoar
Copy link

brendanhoar commented May 13, 2020

Qubes OS version
R4.0 w/ current testing

Affected component(s) or functionality
Some file patterns in /var/log/qubes have been added to the logrotate schedule by @marmarek, but the directory is still filling up with months of logs.

Brief summary
The following log file patterns were added to logrotate for /var/log/qubes already:

 qmemman.log
 qubes.log
 vm-*.log

However, the following file patterns were not not added:

 qubesdb*.log
 pacat*.log
 pacat*.log.old
 guid*.log
 guid*.log.old
 qrexec*.log

To Reproduce
Run your system

Expected behavior
All files in /var/logs/qubes should be no older than approximately a month. No space is taken by files older than 30 days.

Actual behavior
Approximately 5GB of space is taken by files older than 30 days.

Most of the space is used by the guid.*.log for windows HVMs (max size found: 1506117548 bytes). Apparently, very chatty.

qmemman can also get competitive at times (max size found: 260123859 bytes).

Additional context
Looks like the file that needs to be modified is logrotate-qubes
https://github.com/QubesOS/qubes-core-admin/blob/master/linux/system-config/logrotate-qubes

Solutions you've tried
Manually deleting files older than 30 days. Certainly satisfying...but I'd rather not worry about it.

Related, non-duplicate issues
#3603
#1547
#4972

@brendanhoar brendanhoar added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug labels May 13, 2020
@andrewdavidwong andrewdavidwong added this to the Release 4.0 updates milestone May 14, 2020
@andrewdavidwong andrewdavidwong added P: major Priority: major. Between "default" and "critical" in severity. and removed P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. labels Nov 23, 2020
@andrewdavidwong andrewdavidwong added the eol-4.0 Closed because Qubes 4.0 has reached end-of-life (EOL) label Aug 5, 2023
@github-actions
Copy link

github-actions bot commented Aug 5, 2023

This issue is being closed because:

If anyone believes that this issue should be reopened and reassigned to an active milestone, please leave a brief comment.
(For example, if a bug still affects Qubes OS 4.1, then the comment "Affects 4.1" will suffice.)

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: other eol-4.0 Closed because Qubes 4.0 has reached end-of-life (EOL) P: major Priority: major. Between "default" and "critical" in severity.
Projects
None yet
Development

No branches or pull requests

2 participants