-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2013-05-05 at 09:28 -0400, Anton Aylward wrote:
Carlos E. R. said the following on 05/05/2013 09:03 AM:
Take a look at /etc/cron.daily/suse.de-clean-tmp and at /etc/sysconfig/cron
That is deprecated and does not work. It doesn't, because those files are owned by root. And it doesn't because if systemd is running the cron job does not work. See release notes:
My Bad. Thank you for the correction. I looked on my 12.2 system rather than 12.3. I see that /etc/cron.daily/suse.de-clean-tmp isn't there on my 12.3 system.
Sadly /etc/sysconfig/cron is. Hmm, that was a clean install on the 12.3 machine I'm looking at so I can't blame it on being a residue of an update.
No, I see the same thing in my fresh 12.3 test system. "/etc/sysconfig/cron" is there, populated, and there is no mention that the part about cleaning /tmp does not work any more. Another bug.
That still doesn't answer why they got created and left behind in the first place. You point out that programs _should_ clean up after themselves, but I've never relied on that. "Evidence".
I know, I know. Still, the fault is with the programs creating the cruft, not of those clearing out after them.
Systemd is "ongoing" and there still a lot to learn.
Yes... :-( Aparently, the clearing is done by "/usr/lib/tmpfiles.d/tmp.conf": # 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 d /tmp 1777 root root 10d d /var/tmp 1777 root root 30d # Exclude namespace mountpoints created with PrivateTmp=yes X /tmp/systemd-private-* X /var/tmp/systemd-private-* So those files are intentionally not erased. - -- Cheers, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAlGGZLUACgkQtTMYHG2NR9VAkQCfXtBlMQeKYotDlE2WRrQPrNCu tVkAn0DTD1O/r9vUp+tbCpM2Trys5lcC =uk3/ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org