Am 17.03.21 um 07:52 schrieb Till Dörges:
Am 16.03.21 um 19:26 schrieb DennisG:
At boot, my /tmp directory is being cleaned out. However, /var/tmp/ still has ~3000 folders, containing ~300 files. All but 2 of the folders are named zypp.*, created over the past 2 years and appear to contain mostly public/private keys and associated files.
My /etc/tmpfiles.d/tmp.conf looks like (as recommended on the Forums):
D! /tmp 1777 root root 1d D! /var/tmp 1777 root root 1d [...] What am I missing?
I've encountered the same issue, but didn't get around to pursuing it.
My *guess* is that it's actually a bug in the configuration files, i.e. the path "/var/tmp" is listed twice: [...] And maybe filing a bug at https://bugzilla.opensuse.org/ is a good idea, too.
Apparently there already was a bug in bugzilla. And even better, it seems to have just been fixed (this is on openSUSE Leap 15.2): --- snip --- $ rpm -q filesystem filesystem-15.0-lp152.11.3.1.x86_64 $ rpm -q --changelog filesystem [...] * Fr Sep 04 2020 Thorsten Kukuk <kukuk@suse.com> - Split /var/tmp out of fs-var.conf, new file is fs-var-tmp.conf. Allows to override config to add cleanup options of /var/tmp [bsc#1078466] - Create fs-tmp.conf to cleanup /tmp regular (required with tmpfs) [bsc#1175519] [...] --- snip --- Regards -- Till -- Dipl.-Inform. Till Dörges doerges@pre-sense.de PRESENSE Technologies GmbH Nagelsweg 41, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024