Also, might I suggest that the sosreport package includes its own systemd tmpfiles.d config? Something like:
# Remove sosreport files on each boot r! /var/tmp/sosreport-* or if the policy should be age-based instead of (or in addition to) removing each boot, something like: # Remove sosreports after 60 days e /var/tmp/sosreport-* - - - 60d -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1870585 Title: Not cleaning /var/tmp by default To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1870585/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
