[Bug 1858412] Re: systemd vacuuming does not work for remote journals
Ćukasz Zemczak
1858412 at bugs.launchpad.net
Mon Apr 27 19:08:14 UTC 2020
Hello Kai, or anyone else affected,
Accepted systemd into bionic-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/systemd/237-3ubuntu10.40 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
bionic to verification-done-bionic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-bionic. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: systemd (Ubuntu Bionic)
Status: In Progress => Fix Committed
** Tags added: verification-needed-bionic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1858412
Title:
systemd vacuuming does not work for remote journals
Status in systemd package in Ubuntu:
Fix Released
Status in systemd source package in Xenial:
In Progress
Status in systemd source package in Bionic:
Fix Committed
Status in systemd source package in Disco:
Won't Fix
Status in systemd source package in Eoan:
Fix Committed
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
c488660e6edb3c1375ab62514a8df035c3d712bf which is included starting in
version 244, so this is already included in Focal. This is needed for
Eoan, Bionic, and Xenial.
[original description]
systemd has an issue in regard to vacuuming remote journals:
https://github.com/systemd/systemd/issues/2376 - this affects 18.04 as
this version still has this problem.
Steps to reproduce on "Description: Ubuntu 18.04.3 LTS":
root at 1:~# du -hs /var/log/journal/remote/
8.6G /var/log/journal/remote/
root at 1:~# journalctl -D /var/log/journal/remote --vacuum-size=100M
root at 1:~# du -hs /var/log/journal/remote/
8.6G /var/log/journal/remote/
Would it be possible to backport this trivial patch
https://github.com/systemd/systemd/pull/13924 into 18.04?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1858412/+subscriptions
More information about the foundations-bugs
mailing list