[Bug 871196] New: /tmp/systemd-private-* directories are never cleaned
https://bugzilla.novell.com/show_bug.cgi?id=871196 https://bugzilla.novell.com/show_bug.cgi?id=871196#c0 Summary: /tmp/systemd-private-* directories are never cleaned Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ke@suse.com QAContact: qa-bugs@suse.de CC: gp@suse.com, aj@suse.com, ke@suse.com, werner@suse.com, schuetzm@gmx.net, jdelvare@suse.com, andrea.turrini@gmail.com, fcrozat@suse.com, erwin.vandevelde@gmail.com, herbert@women-at-work.org, rmilasan@suse.com Depends on: 814265 Found By: --- Blocker: --- +++ This bug was initially created as a clone of Bug #814265 +++ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 In /tmp directories named systemd-private-* are created, but they are never deleted. In fact, they are specifically excluded in /usr/lib/tmpfiles.d/tmp.conf This results in an extra folder every time the system is switched on and while it does not take any place, it is annoying when you are looking for something else in /tmp. A clean way should be added to remove the unused folders here. Reproducible: Always =========================================================================== Gerald Pfeifer 2014-01-22 21:51:39 CET (In reply to comment #23)
On 13.1 I see 3 systemd-private-* directories in /tmp and another 3 in /var/tmp, but all of them are from today, so AFAICS they are cleaned up properly when systemd exits. Well /tmp is on tmpfs so I can't be sure for these but /var/tmp is on permanent storage, so I am confident it's fixed.
Unfortunately it's not fixed for /tmp. This is from a new installation of 13.1: drwx------ 3 root root 4096 Dez 23 06:44 systemd-private-3AGju5 drwx------ 3 root root 4096 Dez 15 07:35 systemd-private-3S0vhO drwx------ 3 root root 4096 Jän 9 03:07 systemd-private-7KUKaH drwx------ 3 root root 4096 Jän 12 07:00 systemd-private-9LFYiA drwx------ 3 root root 4096 Dez 15 07:35 systemd-private-AYN0LZ drwx------ 3 root root 4096 Jän 9 03:07 systemd-private-JqGXTg drwx------ 3 root root 4096 Jän 12 07:00 systemd-private-L5MAr8 drwx------ 3 root root 4096 Jän 9 03:02 systemd-private-P4wa2H drwx------ 3 root root 4096 Jän 22 14:41 systemd-private-UB26Xz drwx------ 3 root root 4096 Dez 14 10:07 systemd-private-UOG21G drwx------ 3 root root 4096 Dez 23 06:44 systemd-private-cTZP8Z drwx------ 3 root root 4096 Jän 22 14:41 systemd-private-nURuNG drwx------ 3 root root 4096 Dez 14 02:35 systemd-private-skTNRA drwx------ 3 root root 4096 Dez 14 10:07 systemd-private-sxQ3aF (The system lost power a couple of times, i.e., wasn't shut down cleanly, but that still should be taken care of, right?) ========================================================================== I'd like to confirm it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=871196 https://bugzilla.novell.com/show_bug.cgi?id=871196#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |ke@suse.com --- Comment #1 from Dr. Werner Fink <werner@suse.com> 2014-03-31 19:45:55 UTC --- And I'd like to ask *how* you have done this? linux /suse/werner> ll /tmp/systemd-private-* ls: No match. linux /suse/werner> ll /var/tmp/systemd-private-* ls: No match. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=871196 https://bugzilla.novell.com/show_bug.cgi?id=871196#c2 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|ke@suse.com | --- Comment #2 from Karl Eichwalder <ke@suse.com> 2014-04-01 09:40:44 CEST --- Similar ss Gerald said: (The system lost power a couple of times, i.e., wasn't shut down cleanly, but that still should be taken care of, right?) Lately, I had two crashes: - X got frozen and the keyboard was defunct. I had to press the power-off button. - A simple kernel crash. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=871196 https://bugzilla.novell.com/show_bug.cgi?id=871196#c3 --- Comment #3 from Marc Schütz <schuetzm@gmx.net> 2014-04-01 08:34:30 UTC --- I believe current systemd (newer than the version in 13.1) appends the current boot id to the directory names, so this should be mitigated somewhat, and stale directories should be cleaned up at least after a reboot. Those with the current boot id in their name are skipped in the config file. Unfortunately, /tmp/ and /var/tmp/ are no longer cleaned by default at all in openSUSE 13.1... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=871196 https://bugzilla.novell.com/show_bug.cgi?id=871196#c4 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #4 from Dr. Werner Fink <werner@suse.com> 2014-04-01 08:52:25 UTC --- (In reply to comment #3) this is our policy ... nevertheless the bug is already fixed with systemd-210 and I'll not port systemd-210 back to 13.1 as I've burn my fingers with bug #838475 Nevertheless it is possible to install systemd-210 from http://download.opensuse.org/repositories/Base:/System/openSUSE_13.1/ at your own risk. I've tried to hold this version backward compatible. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com