[systemd-devel] systemd-namespace-* cleaning?

Lennart Poettering lennart at poettering.net
Wed May 2 17:54:28 PDT 2012


On Wed, 25.04.12 09:34, Colin Guthrie (gmane at colin.guthr.ie) wrote:

> Hi,
> 
> Is there any defined strategy for tidying up the
> /tmp/systemd-namespace-* folders (other than /tmp on tmpfs)?
> 
> Nothing seems to be shipped by default in the tmpfiles.d stuff and it
> should really be on service stop that this is cleanup up anyway I believe.

The subdirs are created by PrivateTmp=yes, and should be cleaned up by
the same logic as /tmp itself.

Unfortunately there was a bug where we never actually deleted subdirs
from /tmp due to aging. This is fixed now in git
(e5f3d1ba124f14477d6b5434982d7d44a472a66f).


Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list