Hi, There used to be a timer similar to something like amavis-quarantine-clean.timer that periodically would remove old files from /var/spool/amavisd/quarantine, but it's nowhere on the system on fedora35, yet the system is somehow deleting files older than 30 days from the quarantine still.
Where do I look? It's also not an obvious other timer
$ systemctl list-timers --all NEXT LEFT LAST PASSED UNIT ACTIVATES Thu 2022-02-10 18:55:00 EST 3min 20s left Thu 2022-02-10 18:50:44 EST 55s ago pmie_farm_check.timer pmie_farm_check.service Thu 2022-02-10 18:55:00 EST 3min 20s left Thu 2022-02-10 18:25:44 EST 25min ago pmlogger_check.timer pmlogger_check.service Thu 2022-02-10 18:55:00 EST 3min 20s left Thu 2022-02-10 18:50:44 EST 55s ago pmlogger_farm_check.timer pmlogger_farm_check.service Thu 2022-02-10 18:58:00 EST 6min left Thu 2022-02-10 18:28:44 EST 22min ago pmie_check.timer pmie_check.service Thu 2022-02-10 20:18:13 EST 1h 26min left Thu 2022-02-10 18:46:44 EST 4min 55s ago dnf-makecache.timer dnf-makecache.service Thu 2022-02-10 23:26:44 EST 4h 35min left Wed 2022-02-09 10:01:34 EST 1 day 8h ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service Fri 2022-02-11 00:00:00 EST 5h 8min left Thu 2022-02-10 07:08:02 EST 11h ago mlocate-updatedb.timer mlocate-updatedb.service Fri 2022-02-11 00:00:00 EST 5h 8min left Thu 2022-02-10 07:08:02 EST 11h ago unbound-anchor.timer unbound-anchor.service Fri 2022-02-11 00:08:00 EST 5h 16min left Thu 2022-02-10 07:08:02 EST 11h ago pmie_daily.timer pmie_daily.service Fri 2022-02-11 00:10:00 EST 5h 18min left Thu 2022-02-10 07:08:02 EST 11h ago pmlogger_daily.timer pmlogger_daily.service Mon 2022-02-14 01:30:04 EST 3 days left Mon 2022-02-07 01:38:41 EST 3 days ago fstrim.timer fstrim.service
And there's nothing related to a timer service in the package itself. Other ideas greatly appreciated. Maybe it's not even a timer? I also don't see any cron entries that are related.
On 10 Feb 2022, at 23:55, Alex mysqlstudent@gmail.com wrote:
Hi, There used to be a timer similar to something like amavis-quarantine-clean.timer that periodically would remove old files from /var/spool/amavisd/quarantine, but it's nowhere on the system on fedora35, yet the system is somehow deleting files older than 30 days from the quarantine still.
Where do I look? It's also not an obvious other timer
Have a look at the files that the RPM for amavisd installs to see if there is anything its configuring. Use:
rpm -ql <amavisd-package-name>
I'd look for files dropped in to /etc and into any systemd folder for example
Barry
$ systemctl list-timers --all NEXT LEFT LAST PASSED UNIT ACTIVATES Thu 2022-02-10 18:55:00 EST 3min 20s left Thu 2022-02-10 18:50:44 EST 55s ago pmie_farm_check.timer pmie_farm_check.service Thu 2022-02-10 18:55:00 EST 3min 20s left Thu 2022-02-10 18:25:44 EST 25min ago pmlogger_check.timer pmlogger_check.service Thu 2022-02-10 18:55:00 EST 3min 20s left Thu 2022-02-10 18:50:44 EST 55s ago pmlogger_farm_check.timer pmlogger_farm_check.service Thu 2022-02-10 18:58:00 EST 6min left Thu 2022-02-10 18:28:44 EST 22min ago pmie_check.timer pmie_check.service Thu 2022-02-10 20:18:13 EST 1h 26min left Thu 2022-02-10 18:46:44 EST 4min 55s ago dnf-makecache.timer dnf-makecache.service Thu 2022-02-10 23:26:44 EST 4h 35min left Wed 2022-02-09 10:01:34 EST 1 day 8h ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service Fri 2022-02-11 00:00:00 EST 5h 8min left Thu 2022-02-10 07:08:02 EST 11h ago mlocate-updatedb.timer mlocate-updatedb.service Fri 2022-02-11 00:00:00 EST 5h 8min left Thu 2022-02-10 07:08:02 EST 11h ago unbound-anchor.timer unbound-anchor.service Fri 2022-02-11 00:08:00 EST 5h 16min left Thu 2022-02-10 07:08:02 EST 11h ago pmie_daily.timer pmie_daily.service Fri 2022-02-11 00:10:00 EST 5h 18min left Thu 2022-02-10 07:08:02 EST 11h ago pmlogger_daily.timer pmlogger_daily.service Mon 2022-02-14 01:30:04 EST 3 days left Mon 2022-02-07 01:38:41 EST 3 days ago fstrim.timer fstrim.service
And there's nothing related to a timer service in the package itself. Other ideas greatly appreciated. Maybe it's not even a timer? I also don't see any cron entries that are related. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Hi,
There used to be a timer similar to something like amavis-quarantine-clean.timer that periodically would remove old files from /var/spool/amavisd/quarantine, but it's nowhere on the system on fedora35, yet the system is somehow deleting files older than 30 days from the quarantine still.
Where do I look? It's also not an obvious other timer
Have a look at the files that the RPM for amavisd installs to see if there is anything its configuring. Use:
rpm -ql <amavisd-package-name>
I'd look for files dropped in to /etc and into any systemd folder for example
Nope, I've already looked in both places.
There's definitely a timer somewhere, though.
Thanks for your help. Alex
On Feb 10, 2022, at 18:55, Alex mysqlstudent@gmail.com wrote:
There used to be a timer similar to something like amavis-quarantine-clean.timer that periodically would remove old files from /var/spool/amavisd/quarantine, but it's nowhere on the system on fedora35, yet the system is somehow deleting files older than 30 days from the quarantine still.
Where do I look? It's also not an obvious other timer
I suggest you look at:
/usr/lib/tmpfiles.d/amavisd.conf
And “man systemd-tmpfiles”. -- Jonathan Billings
Hi,
There used to be a timer similar to something like amavis-quarantine-clean.timer that periodically would remove old files from /var/spool/amavisd/quarantine, but it's nowhere on the system on fedora35, yet the system is somehow deleting files older than 30 days from the quarantine still.
Where do I look? It's also not an obvious other timer
I suggest you look at:
/usr/lib/tmpfiles.d/amavisd.conf
And “man systemd-tmpfiles”.
That's it, thanks very much. Can't believe I didn't think of that.