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

2015-11-02 Thread Lennart Poettering
On Wed, 28.10.15 14:39, Peter Paule (systemd-de...@fedux.org) wrote: > > Hi, > > I use `docker` to run containers. Each container uses `systemd` as PID 1. I > pass `-v /var/log/journal:/var/log/journal` to `docker run` to accumulate > journals on the docker host. Every time a container is

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

2015-10-29 Thread Peter Paule
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

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

2015-10-28 Thread Peter Paule
Hi, I use `docker` to run containers. Each container uses `systemd` as PID 1. I pass `-v /var/log/journal:/var/log/journal` to `docker run` to accumulate journals on the docker host. Every time a container is started, a new journal file is generated based on the machine-id, leaving