Bug 884344

Summary: Accumulation of /var/tmp/systemd-private-* directories
Product: [Fedora] Fedora Reporter: Dmytro Taranovsky <dmytro>
Component: systemdAssignee: systemd-maint
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: hill-robert, johannbg, lnykryn, metherid, msekleta, notting, plautrba, roth, systemd-maint, thomas, vpavlin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-201-2.fc18.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-16 02:58:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dmytro Taranovsky 2012-12-06 01:25:04 UTC
In /var/tmp/ I have hundreds of empty directories with names like systemd-private-XoPYzz, and a few more are created each day.  The correct behavior is to cleanup/remove these directories when they are no longer needed.

Comment 1 Michal Sekletar 2013-01-06 16:53:31 UTC
All files in /tmp which were not used within the last 10 days should be removed. This applies also to systemd-private-* directories. Did you alter the default configuration? Please see bug #866693.

Comment 2 Jóhann B. Guðmundsson 2013-01-06 17:01:26 UTC
What's preventing those directories to be removed when they are no longer used or on every reboot as opposed to have them cleaned on fixed interval as in every 10 days?

Comment 3 Dmytro Taranovsky 2013-01-07 15:31:54 UTC
(In reply to comment #1)
I did not change the default configuration; since the directories are in /var/tmp, automatic cleanup of /tmp does not affect them.

Comment 4 Lennart Poettering 2013-01-13 23:04:27 UTC
(In reply to comment #3)
> (In reply to comment #1)
> I did not change the default configuration; since the directories are in
> /var/tmp, automatic cleanup of /tmp does not affect them.

Automatic cleanup happens in both directories. However, it's 30d instead of 10d, see /usr/lib/tmpfiles.d/tmp.conf.

Comment 5 Lennart Poettering 2013-04-09 11:24:15 UTC
This is fixed in F19, as these temporary directories are removed when we shut down a service.

Comment 6 Fedora Update System 2013-04-10 20:13:01 UTC
systemd-201-2.fc18.1 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/systemd-201-2.fc18.1

Comment 7 Fedora Update System 2013-04-11 23:26:05 UTC
Package systemd-201-2.fc18.2:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-201-2.fc18.2'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5452/systemd-201-2.fc18.2
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-04-16 00:00:29 UTC
Package systemd-201-2.fc18.4:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-201-2.fc18.4'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5452/systemd-201-2.fc18.4
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2013-04-18 02:38:19 UTC
Package systemd-201-2.fc18.5:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-201-2.fc18.5'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5452/systemd-201-2.fc18.5
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2013-05-07 13:40:13 UTC
systemd-201-2.fc18.6 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2013-5452/systemd-201-2.fc18.6

Comment 11 Fedora Update System 2013-05-09 10:02:29 UTC
Package systemd-201-2.fc18.6:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-201-2.fc18.6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5452/systemd-201-2.fc18.6
then log in and leave karma (feedback).

Comment 12 Fedora Update System 2013-05-16 02:58:23 UTC
systemd-201-2.fc18.6 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.