• Bug#1106667: logcheck: apparently uses systemd rather than cron, but it

    From Francesco =?utf-8?Q?Potort=C3=AC?=@21:1/5 to All on Tue May 27 17:10:01 2025
    Package: logcheck
    Version: 1.4.4
    Severity: normal

    After the latest upgrade, I receive reports every hour rather than every day as usual. I changed the /etc/cron.d/logcheck crontab to revert to the previous behaviour, but nothing apparently changed.

    I read in the Changelog that

    * Add a basic systemd timer/service for logcheck (See: #1020328)
    * d/control:
    - Prefer systemd-sysv over cron

    however, this change is not mentioned in any of the README files in the doc dir nor in the man page. Also one of the REDME files explicitely mentions that changing the frequency involves changing the crontab file.

    Please add instructions on how to manage cron / systemd to change the frequency

    --
    Francesco Potortì (ricercatore) Mobile: +39.348.8283.107 ISTI - Area della ricerca CNR Teams: wnlabisti
    via G. Moruzzi 1, I-56124 Pisa Web: http://fly.isti.cnr.it
    (gate 20, 1st floor, room C71) ISPIN: https://ieee-jispin.org/

    -- System Information:
    Debian Release: 13.0
    APT prefers testing
    APT policy: (990, 'testing'), (101, 'unstable')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.12.27-amd64 (SMP w/24 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
    Locale: LANG=C.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages logcheck depends on:
    ii adduser 3.152
    ii anacron 2.3-42
    ii cron [cron-daemon] 3.0pl1-196
    ii exim4-da
  • From Richard Lewis@21:1/5 to Potorti@isti.cnr.it on Fri May 30 19:30:01 2025
    On Tue, 27 May 2025, 16:01 Francesco Potortì, <Potorti@isti.cnr.it> wrote:

    Package: logcheck
    Version: 1.4.4
    Severity: normal

    After the latest upgrade, I receive reports every hour rather than every
    day as usual. I changed the /etc/cron.d/logcheck crontab to revert to the previous behaviour, but nothing apparently changed.

    I read in the Changelog that

    * Add a basic systemd timer/service for logcheck (See: #1020328)
    * d/control:
    - Prefer systemd-sysv over cron

    however, this change is not mentioned in any of the README files in the
    doc dir nor in the man page. Also one of the REDME files explicitely mentions that changing the frequency involves changing the crontab file.

    Please add instructions on how to manage cron / systemd to change the frequency


    fair point,

    you can change when the systemd timer runs by doing a

    systemctl edit logcheck.timer

    and adding a [Timer] section with one of the directives explained in systemd.timer(5)

    <div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 27 May 2025, 16:01 Francesco Potortì, &lt;<a href="mailto:Potorti@isti.cnr.it" rel="noreferrer noreferrer" target="_blank">Potorti@isti.cnr.it</a>&gt; wrote:<br></
    <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Package: logcheck<br>
    Version: 1.4.4<br>
    Severity: normal<br>

    After the latest upgrade, I receive reports every hour rather than every day as usual.  I changed the /etc/cron.d/logcheck crontab to revert to the previous behaviour, but nothing apparently changed.<br>

    I read in the Changelog that<br>

      * Add a basic systemd timer/service for logcheck (See: #1020328)<br>
      * d/control:<br>
        - Prefer systemd-sysv over cron<br>

    however, this change is not mentioned in any of the README files in the doc dir nor in the man page.  Also one of the REDME files explicitely mentions that changing the frequency involves changing the crontab file.<br>

    Please add instructions on how to manage cron / systemd to change the frequency<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">fair point,</div><div dir="auto"><br></div><div dir="auto">you can change when the systemd timer runs by
    doing a</div><div dir="auto"><br></div><div dir="auto">systemctl edit logcheck.timer</div><div dir="auto"><br></div><div dir="auto">and adding a [Timer] section with one of the directives explained in systemd.timer(5)</div><div dir="auto"><br></div><div
    dir="auto"><br></div><div dir="auto"><br></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mathias Gibbens@21:1/5 to All on Sat May 31 15:30:01 2025
    control: tags -1 + pending

    Added a NEWS entry and updated README.Debian.

    Mathias

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEE1Bp60H32xfynSJ8cKe7i1uz0QvkFAmg7A1YACgkQKe7i1uz0 QvnVOQ/9GdqhjbJzyP+5OBJ44lUt3nyyeEn0b4/P5Un/gwehKtGKaB+jnBJcU/9P biKAtZC38rQ4n/mYwV95AcIi+mvMJSP8n+6X3LsAs+naTaNdJBa1mxqeO6PqKM68 aKjlL2QHF4oUiZOKl+bQtfpTR/la+SGUxKqZ6paLd//c6IefHZZhEMSuqJJP5XPW L6yH8FEhhJK/u+9a9jVcrAzrJdnSLEFCbhvPnO1g9VeD0W4V/w/tRftZUdss4V2s pyS0PO89gqi2UQX/A4AucrbtKZuexdvVlXltwjhzQESMvq/jOYRDeE/PH9GyIAUI sgD39ikukoavf63guta8l6YwJ4mJbrS9vPk0KICtu25uTbzZA6IFlTqltm7S6W+W WrDtcGVdacGe4O0oeqyfHvBJmqfmEOXuRamBUS2HNWq6OXatnDwXKD4ZOt/+3K98 4EXzlCRxNUKpzko2xaDZ/AdofTRMhed3oyca8yDBt07WBhi8/R8wAHOsRPdjBVzQ uFzJL51eIiW8vAz8CPnIRy1olTDm9cM+VSzvUJvMY8qwjoUcSeRbM57AwQWsQMyE aeB0KmA1/G2f/tTMTzDv2Wpr2nIOZ2CHTursRh+UhhBkSTrK0NTd+vc3XXWG3vg7 KUkcGG+4I2WBSU5z9kjGWN+NSbpTv8ZP2ErwjG386vIi5btm/sM=
    =JFQz
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)