You are not logged in.

#1 2013-01-16 12:20:58

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

what are the directories systemd-private-xxxxxx ?

I see a lot of empty directories in /tmp and /var/tmp that have names like systemd-private-xxxxxx. Does anyone know what are the purpose of these directories? They seem to accumulate in /var/tmp.

Last edited by olive (2013-01-16 12:21:35)

Offline

#2 2013-01-16 12:42:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,407
Website

Re: what are the directories systemd-private-xxxxxx ?

I have no such directories.  What services are running when this happens?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-01-16 13:01:09

digirium
Member
Registered: 2012-11-15
Posts: 51

Re: what are the directories systemd-private-xxxxxx ?

I have a bunch of these too, all empty. There are 98 of them dated between Dec 17 2012 and today.

proc-sys...t_misc.automount loaded active running   Arbitrary Executable File Formats File System Automount Point
dbus.service                loaded active running   D-Bus System Message Bus
getty@tty1.service          loaded active running   Getty on tty1
lighttpd.service            loaded active running   A secure, fast, compliant and very flexible web-server
mysqld.service              loaded active running   MariaDB database server
ntpd.service                loaded active running   Network Time Service
php-fpm.service             loaded active running   The PHP FastCGI Process Manager
polkit.service              loaded active running   Authorization Manager
slim.service                loaded active running   SLiM Simple Login Manager
systemd-journald.service    loaded active running   Journal Service
systemd-logind.service      loaded active running   Login Service
systemd-udevd.service       loaded active running   udev Kernel Device Manager
udisks2.service             loaded active running   Disk Manager
dbus.socket                 loaded active running   D-Bus System Message Bus Socket
systemd-journald.socket     loaded active running   Journal Socket
systemd-udevd-kernel.socket loaded active running   udev Kernel Socket

Those are the services that are running.

Offline

#4 2013-01-16 14:51:37

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,239

Re: what are the directories systemd-private-xxxxxx ?

They are created by services with PrivateTmp=true (usually ntpd). They should be cleaned automatically after haven't been used for the amount of time specified in /usr/lib/tmpfiles.d/tmp.conf (30 days by default)

Offline

Board footer

Powered by FluxBB