On 11/03/17 07:19 PM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2017-03-12 00:29, Roman Bysh wrote:
On 11/03/17 06:19 PM, Jan Engelhardt wrote:
On Saturday 2017-03-11 23:29, Carlos E. R. wrote:
On 2017-03-11 23:20, Roman Bysh wrote:
On 10/03/17 06:51 PM, Carlos E. R. wrote: On 2017-03-11 00:27, Roman Bysh wrote:
Hi all,
I have thirty sddm sockets in my /tmp folder. Why does Leap require so many socket files?
Is the date current, or old?
Half of them are from last month.
Well, maybe the time has not come yet to be deleted automatically. I'm unsure how to find out what systemd job or timer is responsible to clean up /tmp.
Isn't autocleanup deactivated by default on SUSE platforms? (Like it was in SUSE's sysv days.)
Aha. I'm scheduled for tmp clean up using systemd-tmpfiles-clean.timer in 22 hours.
It is far from simple finding out what it cleans, though.
There is a directory, "/usr/lib/tmpfiles.d/" with many config files:
cer@minas-tirith:~> ls /usr/lib/tmpfiles.d clamav.conf fetchmail.conf legacy.conf openvpn.conf systemd-nologin.conf vpnc.conf cups.conf gvfsd-fuse-tmpfiles.conf lirc.conf parallel-printer.conf systemd-nspawn.conf x11.conf dirmngr.conf home.conf lvm2.conf samba.conf tmp.conf dmraid.conf i4l.conf mcelog.conf screen.conf tmux.conf dovecot.conf journal-nocow.conf mysql.conf svnserve.conf tuned.conf etc.conf laptop-mode.conf nscd.conf systemd.conf var.conf cer@minas-tirith:~>
The obvious suspect is tmp.conf, but it contains this:
+++-------------------------- # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version.
# See tmpfiles.d(5) for details
# Clear tmp directories separately, to make them easier to override # SUSE policy: we don't clean those directories q /tmp 1777 root root - q /var/tmp 1777 root root -
# Exclude namespace mountpoints created with PrivateTmp=yes x /tmp/systemd-private-%b-* X /tmp/systemd-private-%b-*/tmp x /var/tmp/systemd-private-%b-* X /var/tmp/systemd-private-%b-*/tmp - --------------------------++-
My guess, without examining all the config files, is that nothing cleans generic tmp files, only specific files.
There is also "/etc/tmpfiles.d/tmp.conf". On 42.2 default if contains - oops, doesn't exist by default.
- -- Cheers / Saludos,
Carlos E. R.
(from 42.2 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iF4EAREIAAYFAljElBgACgkQja8UbcUWM1wzoAD+NygxvBk6hRT6wgjqndKp3QvF ytfYJH6DAee6k3ouON8A/iC4OhFDCuJCF9ipUH496Mc7wAmvw4k3ojNIUqtTmm1K =1thy -----END PGP SIGNATURE-----
Yeah. It's a bit of a head scratcher. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org