* Anton Aylward <opensuse@antonaylward.com> [02-22-15 08:51]: [...]
# 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 -
which isn't what we want and so we try creating lines in /etc/tmpfiles.d But that is compeltely beside the point.
The lines that matter are:
# Exclude namespace mountpoints created with PrivateTmp=yes x /tmp/systemd-private-* x /var/tmp/systemd-private-* X /tmp/systemd-private-*/tmp X /var/tmp/systemd-private-*/tmp
The tmp.conf in /etc/tmpfiles.d/ is for maintaining config over updates and is the last/final word. Some experimenting reveals a possible solution. It appears that there is no default time or it is beyond expectations. The following change helps: d /tmp 1777 root root 2d - d /var/tmp 1777 root root 2d - note the added "2d" and it's position. This is described in the man file but it's usage not clear until it is correctly applied and just works. One thing I still do not understand is the cleaning of files in directories marked "PrivateTmp=yes", nor can I find an effective override. Files below those directories *are* cleared/removed/cleaned, but not the directories. Seems this would eventially cause a problem. ps: I set my "tmp" cleaning to four hours: d /tmp 1777 root root 4d - d /var/tmp 1777 root root 4d - -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org