systemd vacuuming does not work for remote journals
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Xenial |
Fix Released
|
Low
|
Dan Streetman | ||
Bionic |
Fix Released
|
Low
|
Dan Streetman | ||
Disco |
Won't Fix
|
Low
|
Unassigned | ||
Eoan |
Fix Released
|
Low
|
Dan Streetman |
Bug Description
[impact]
attempting to vacuum journals using -D with the 'root' (in journald terms) journal directory fails to perform any vacuuming. This can lead to journal files continually increasing in size and filling up the filesystem.
[test case]
see original description below.
[regession potential]
this removes a check in the code when iterating journal directories during vacuuming, so any regression would likely occur during vacuuming, possibly causing failure to vacuum.
[scope]
this is fixed upstream by commit c488660e6edb3c1
[original description]
systemd has an issue in regard to vacuuming remote journals: https:/
Steps to reproduce on "Description: Ubuntu 18.04.3 LTS":
root@1:~# du -hs /var/log/
8.6G /var/log/
root@1:~# journalctl -D /var/log/
root@1:~# du -hs /var/log/
8.6G /var/log/
Would it be possible to backport this trivial patch https:/
Changed in systemd (Ubuntu Disco): | |
status: | Confirmed → Won't Fix |
description: | updated |
Changed in systemd (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in systemd (Ubuntu Bionic): | |
status: | Confirmed → In Progress |
Changed in systemd (Ubuntu Eoan): | |
status: | Confirmed → In Progress |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Bionic): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Xenial): | |
assignee: | nobody → Dan Streetman (ddstreet) |
importance: | Undecided → Low |
Fixed in v244, I think hits is a minor issue that does not seem to warrant a backport.