On 12/30/2022 4:16 PM, Jonathan
Billings wrote:
On Dec 30, 2022, at 13:14, Bill C <bill.cu1234@xxxxxxxxx> wrote:I see. Of course I meant/tmp/*
Files in /tmp are automatically removed by systemd-tmpfiles on Fedora based on a schedule defined in /usr/lib/tmpfiles.d/tmp.conf (https://github.com/systemd/systemd/blob/main/tmpfiles.d/tmp.conf)
So, files older than 10 days are removed. No need to do this by hand. (Pre-systemd this was handled by tmpwatch)
Also, many systemd services with PrivateTmp will have namespaces mounted in /tmp that aren’t removable, which will generally cause issues with your command.
--Jonathan Billings
So would it be safe to set this to 1 day?
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue