• Bug#1104403: mailman3-web: shipped logrotate rule only covers one file

    From Gabriel Filion@21:1/5 to All on Tue Apr 29 17:40:02 2025
    Package: mailman3-web
    Version: 0+20200530-2.1
    Severity: normal

    Hello!

    The logrotate rules that are currently shipped with the package only
    cover the
    file /var/log/mailman3/web/mailman-web.log in that directory. So if users configure things differently and have additional log files in the same directory, those other files are not getting rotated at all.

    For example, we've setup mailman3-web to run with gunicorn and the gunicorn workers are logging in another file in the same directory.

    It would just add a convenience to package users / mailman admins to
    make it so
    that all log files in that directory automatically get rotated.


    Cheers!


    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.12.22-amd64 (SMP w/16 CPU threads; PREEMPT)
    Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.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 mailman3-web depends on:
    pn dbconfig-sqlite3 | dbconfig-pgsql | dbconfig-mysql | dbconfig- <none>
    no-thanks
    ii debconf [debconf-2.0] 1.5.91
    ii init-system-helpers 1.68
    ii python3 3.13.3-1
    pn python3-django-hyperkitty <none>
    pn python3-django-postorius <none>
    ii python3-mysqldb
    1.4.6-2+b5
    ii python3-psycopg2
    2.9.10-1+b1
    pn python3-whoosh <none>
    ii ucf 3.0051
    pn uwsgi-core <none>
    pn uwsgi-plugin-python3 <none>

    Versions of packages mailman3-web recommends:
    pn libapache2-mod-proxy-uwsgi | nginx <none>

    Versions of packages mailman3-web suggests:
    pn postgresql | default-mysql-server | virtual-mysql-server <none>

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