[systemd-devel] Delete stale *.journal-files from containers

Peter Paule systemd-devel at fedux.org
Thu Oct 29 01:59:01 PDT 2015


Hi Mantas,

> journald doesn't know all possible ways other machines' journals might
> appear here – the directory might belong to a *running* container, it might
> be written to over NFS by a thin client (where the client's journald might
> have different policies), it might be imported by journal-remote (where the
> admin might want to keep it for archival purposes), and so on.
>
> Therefore journald will not delete journals with other machine-ids, since
> doing so would possibly apply two conflicting policies to the same logs –
> yours, and the container's/client's.

Thanks a lot for your reply. Ok. Sure. So I need to setup a "find"-job  
and remove them manually. Correct?





More information about the systemd-devel mailing list