Re: systemd timers and amavis quarantine

2022-04-16 Thread Patrick O'Callaghan
On Sat, 2022-04-16 at 13:51 +, Mark Levis wrote:
> Nice

What's nice?

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@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


Re: systemd timers and amavis quarantine

2022-04-16 Thread Mark Levis
Nice
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@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


Re: systemd timers and amavis quarantine

2022-02-12 Thread Alex
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.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@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


Re: systemd timers and amavis quarantine

2022-02-11 Thread Jonathan Billings
On Feb 10, 2022, at 18:55, Alex  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___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@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


Re: systemd timers and amavis quarantine

2022-02-11 Thread Alex
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 
>
> 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
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@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


Re: systemd timers and amavis quarantine

2022-02-11 Thread Barry Scott


> On 10 Feb 2022, at 23:55, Alex  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 

I'd look for files dropped in to /etc and into any systemd folder for example

Barry

> 
> $ systemctl list-timers --all
> NEXTLEFT  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.timerpmie_farm_check.service
> Thu 2022-02-10 18:55:00 EST 3min 20s left Thu 2022-02-10 18:25:44 EST
> 25min agopmlogger_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.timerpmlogger_farm_check.service
> Thu 2022-02-10 18:58:00 EST 6min left Thu 2022-02-10 18:28:44 EST
> 22min agopmie_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-le...@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
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@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


systemd timers and amavis quarantine

2022-02-10 Thread Alex
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
NEXTLEFT  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.timerpmie_farm_check.service
Thu 2022-02-10 18:55:00 EST 3min 20s left Thu 2022-02-10 18:25:44 EST
25min agopmlogger_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.timerpmlogger_farm_check.service
Thu 2022-02-10 18:58:00 EST 6min left Thu 2022-02-10 18:28:44 EST
22min agopmie_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-le...@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