[Pkg-mailman-hackers] Bug#891703: mailman3-suite: DB user isn't read from setting_local (mailman3-suite.py in /etc)

Eric Côté ericcotelnu+DebianBTS at gmail.com
Wed Feb 28 04:05:00 UTC 2018


Package: mailman3-suite
Version: 0+20170523-10
Severity: important

Hi,

The default user is being read from the packaged settings.py instead of the settings_local.py file symlinked to /etc/mailman3 .
I see error logs saying "mailmansuite" has no access, which is true since that's not what I configured. I had to hand edit
the /usr/share/mailman3-suite/settings.py by hand to have to work like I wanted (which isn't recommended, nor what I would like to do).

Is there some solution to this?

Thank you
Eric

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mailman3-suite depends on:
ii  dbconfig-mysql            2.0.9
ii  dbconfig-pgsql            2.0.9
ii  dbconfig-sqlite3          2.0.9
ii  debconf [debconf-2.0]     1.5.65
ii  lsb-base                  9.20170808
ii  node-less                 1.6.3~dfsg-2
ii  python                    2.7.14-4
ii  python-django-hyperkitty  1.1.4-3
ii  python-django-postorius   1.1.2-1
ii  python-psycopg2           2.7.4-1
ii  python-whoosh             2.7.4+git6-g9134ad92-1
ii  python3-pymysql           0.8.0-1
ii  ruby-sass                 3.5.3-1
ii  ucf                       3.0038
ii  uwsgi                     2.0.15-10.2
ii  uwsgi-plugin-python       2.0.15-10.2

Versions of packages mailman3-suite recommends:
ii  nginx-extras [nginx]  1.13.9-1

Versions of packages mailman3-suite suggests:
ii  mariadb-server-10.1 [virtual-mysql-server]  1:10.1.29-6
ii  postgresql                                  10+190

-- Configuration Files:
/etc/cron.d/mailman3-suite changed:
* *	* * *	list	command -v django-admin >/dev/null && django-admin runjobs minutely --pythonpath /usr/share/mailman3-suite --settings settings
2,17,32,47 * * * * root	command -v django-admin >/dev/null && django-admin runjobs quarter_hourly --pythonpath /usr/share/mailman3-suite --settings settings
@hourly		list	command -v django-admin >/dev/null && django-admin runjobs hourly   --pythonpath /usr/share/mailman3-suite --settings settings
@daily		list	command -v django-admin >/dev/null && django-admin runjobs daily    --pythonpath /usr/share/mailman3-suite --settings settings
@weekly		list	command -v django-admin >/dev/null && django-admin runjobs weekly   --pythonpath /usr/share/mailman3-suite --settings settings
@monthly	list	command -v django-admin >/dev/null && django-admin runjobs monthly  --pythonpath /usr/share/mailman3-suite --settings settings
@yearly		list	command -v django-admin >/dev/null && django-admin runjobs yearly   --pythonpath /usr/share/mailman3-suite --settings settings

/etc/logrotate.d/mailman3-suite changed:
/var/log/mailman3/mailman-suite.log {
	copytruncate
	daily
	rotate 5
	compress
	delaycompress
	missingok
	notifempty
    su www-data list
	create 660 www-data list
}
/var/log/mailman3/mailman-suite-uwsgi.log {
	copytruncate
	weekly
	rotate 3
	compress
	delaycompress
	missingok
	notifempty
    su www-data list
	create 660 www-data list
}


-- debconf information excluded



More information about the Pkg-mailman-hackers mailing list