[Bug 908162] New: huge /tmp
http://bugzilla.opensuse.org/show_bug.cgi?id=908162 Bug ID: 908162 Summary: huge /tmp Classification: openSUSE Product: openSUSE Factory Version: 201411* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Maintenance Assignee: bnc-team-screening@forge.provo.novell.com Reporter: mpapis@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Continuation of https://bugzilla.opensuse.org/show_bug.cgi?id=908159 - the /tmp grows with time, would it be possible to: * periodically clean it from files no more used (I have a sctript that hourly removed files that were not used for over an hour) * mount /tmp to tmpfs so it's both fast and cleaned on rebot This system was installed openSUSE 13.1 and upgraded to Factory. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=908162 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com --- Comment #1 from Bernhard Wiedemann <bwiedemann@suse.com> --- systemctl status systemd-tmpfiles-clean.timer is the job that would do it and /usr/lib/tmpfiles.d/tmp.conf has: # Clear tmp directories separately, to make them easier to override # SUSE policy: we don't clean those directories d /tmp 1777 root root - d /var/tmp 1777 root root - so I guess you could do echo "d /tmp 1777 root root 1d -" > /etc/tmpfiles.d/tmp.conf to override the default policy and thus to have it auto-cleaned every day and on every reboot -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=908162 --- Comment #2 from Michal Papis <mpapis@gmail.com> --- Bernhard now could this things to be made default automatically for all users? or at least some of it - 26GB in `/tmp` for a user that has no clue about file system layout would be a rather hard thing to understand - I coudl find it with `du -hsc /tmp/*` and handle it by just `sudo rm -rf /tmp/kde-<user>/dolphin*` but what about users that do not have that internal knowledge of Linux? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=908162 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> --- We actually had changed this default for some months, but that made other users very unhappy who lost files, which they stored there without knowing about the changed default value. *** This bug has been marked as a duplicate of bug 860067 *** -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com