]> git.ipfire.org Git - thirdparty/systemd.git/commit
journald: when we are asked to rotate all files, let's also look at closed files
authorLennart Poettering <lennart@poettering.net>
Thu, 25 Oct 2018 16:39:27 +0000 (18:39 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 25 Oct 2018 19:44:48 +0000 (21:44 +0200)
commita33687b792908aa6c9f4c0b22e8935643ee0ddb6
tree583d652a4ce6266a63ab6f6331bea78450b45c2f
parentf06ba264bcf941c11c5007409472a39d6188920c
journald: when we are asked to rotate all files, let's also look at closed files

Before this when asked for rotation we'd only rotate files we have open
anyway. However there might be a number of other files on disk that are
active (i.e. not archived yet) but not open. Let's take care of those
too, so that rotation is always comprehensive, and the user gets the
guarantee that afterthe rotation all stored data is in archived files.

Fixes: #1017
src/journal/journald-server.c