[Pkg-mailman-hackers] Bug#971084: /usr/share/mailman3-web/manage.py mmclient does not observe $PYTHONSTARTUP
monochromec
monochomec at gmail.com
Sun Sep 27 15:45:59 BST 2020
Package: mailman3-web
Version: 0+20180916-8
Severity: normal
Tags: a11y
Upstream patch @ https://gitlab.com/mailman/mailman/-/issues/469 seems to be in
place but invoking mmclient as described still fails to observe
$PYTHONSTARTUP environment variable.
Happy to provide additional information - just let me know.
-- System Information:
Debian Release: 10.6
APT prefers stable
APT policy: (500, 'stable'), (90, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-10-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8), LANGUAGE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mailman3-web depends on:
ii dbconfig-mysql 2.0.11+deb10u1
ii debconf [debconf-2.0] 1.5.71
ii lsb-base 10.2019051400
ii node-less 1.6.3~dfsg-3
ii python3 3.7.3-1
ii python3-django-hyperkitty 1.2.2-1
ii python3-django-postorius 1.2.4-1
ii python3-psycopg2 2.7.7-1
ii python3-whoosh 2.7.4+git6-g9134ad92-4
ii sassc 3.5.0-1
ii ucf 3.0038+nmu1
ii uwsgi 2.0.18-1
ii uwsgi-plugin-python3 2.0.18-1
Versions of packages mailman3-web recommends:
ii libapache2-mod-proxy-uwsgi 2.4.38-3+deb10u4
Versions of packages mailman3-web suggests:
ii default-mysql-server 1.0.5
ii mariadb-server-10.3 [virtual-mysql-server] 1:10.3.23-0+deb10u1
ii postgresql 11+200+deb10u4
-- Configuration Files:
/etc/cron.d/mailman3-web changed:
@hourly www-data [ -f /usr/bin/django-admin ] && flock -n /var/run/mailman3-web/cron.hourly /usr/share/mailman3-web/manage.py runjobs hourly
@daily www-data [ -f /usr/bin/django-admin ] && flock -n /var/run/mailman3-web/cron.daily /usr/share/mailman3-web/manage.py runjobs daily
@weekly www-data [ -f /usr/bin/django-admin ] && flock -n /var/run/mailman3-web/cron.weekly /usr/share/mailman3-web/manage.py runjobs weekly
@monthly www-data [ -f /usr/bin/django-admin ] && flock -n /var/run/mailman3-web/cron.monthly /usr/share/mailman3-web/manage.py runjobs monthly
@yearly www-data [ -f /usr/bin/django-admin ] && flock -n /var/run/mailman3-web/cron.yearly /usr/share/mailman3-web/manage.py runjobs yearly
/etc/mailman3/uwsgi.ini changed:
[uwsgi]
uwsgi-socket = /run/mailman3-web/uwsgi.sock
enable-threads = true
chdir = /usr/share/mailman3-web
wsgi-file = wsgi.py
master = true
process = 2
threads = 2
uid = www-data
gid = www-data
plugins = python3,logfile
attach-daemon = python3 manage.py qcluster
req-logger = file:/var/log/mailman3/web/mailman-web.log
logger = cron file:/var/log/mailman3/web/mailman-web-cron.log
log-route = cron uwsgi-cron
logger = qcluster file:/var/log/mailman3/web/mailman-web-qcluster.log
log-route = qcluster uwsgi-daemons
logger = file:/var/log/mailman3/web/mailman-web-error.log
-- debconf information:
mailman3-web/superuser-password: (password omitted)
mailman3-web/superuser-mail: root at localhost
mailman3-web/restart-webserver: true
mailman3-web/superuser-name: admin
mailman3-web/nginx-choice:
mailman3-web/emailname: localhost.local
mailman3-web/configure-webserver: none
More information about the Pkg-mailman-hackers
mailing list