[Pkg-mailman-hackers] Bug#891849: mailman3-core: Cron errors, permission denied: '/var/log/mailman3/mailman-suite.log'
Colin Turner
ct at piglets.com
Thu Mar 1 15:13:11 UTC 2018
Package: mailman3-core
Version: 3.1.1-4
Severity: normal
Dear Maintainers,
Thanks so much for your work on these packages, and responses to previous bugs.
I tried another fresh install, using sqlite as a backend. I still get cron related permissions problems as below, once a minute:
Traceback (most recent call last):
File "/usr/bin/django-admin", line 21, in <module>
management.execute_from_command_line()
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 338, in execute
django.setup()
File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 22, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/usr/lib/python2.7/dist-packages/django/utils/log.py", line 75, in configure_logging
logging_config_func(logging_settings)
File "/usr/lib/python2.7/logging/config.py", line 794, in dictConfig
dictConfigClass(config).configure()
File "/usr/lib/python2.7/logging/config.py", line 576, in configure
'%r: %s' % (name, e))
ValueError: Unable to configure handler 'file': [Errno 13] Permission denied: '/var/log/mailman3/mailman-suite.log'
The permissions on the installed log directory and its current contents are as follows:
colin at oldgondolin:/var/log$ ls -al mailman3
total 80
drwxr-xr-x 2 list list 4096 Mar 1 15:05 .
drwxr-xr-x 43 root root 65536 Mar 1 15:03 ..
-rw-rw---- 1 list list 0 Mar 1 15:04 bounce.log
-rw-rw---- 1 list list 0 Mar 1 15:04 debug.log
-rw-rw---- 1 list list 659 Mar 1 15:04 mailman.log
-rw-r----- 1 www-data www-data 0 Mar 1 15:05 mailman-suite.log
-rw-r----- 1 www-data www-data 2041 Mar 1 15:05 mailman-suite-uwsgi.log
-rw-rw---- 1 list list 0 Mar 1 15:04 smtp.log
It may be worth mentioning that mailman2 is installed on this box.
Kind regards,
CT.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 4.14.0-2-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mailman3-core depends on:
ii dbconfig-sqlite3 2.0.9
ii debconf [debconf-2.0] 1.5.65
ii logrotate 3.11.0-0.1
ii lsb-base 9.20170808
ii python3 3.6.4-1
ii python3-aiosmtpd 1.1-5
ii python3-alembic 0.9.3-2
ii python3-dnspython 1.15.0-1
ii python3-falcon 1.0.0-2+b2
ii python3-flufl.bounce 2.3-4
ii python3-flufl.i18n 2.0.1-1
ii python3-flufl.lock 3.2-1
ii python3-lazr.config 2.2-1
ii python3-passlib 1.7.1-1
ii python3-public 0.5-1
ii python3-pymysql 0.7.11-1
ii python3-requests 2.18.4-1
ii python3-sqlalchemy 1.1.11+ds1-1
ii python3-zope.component 4.3.0-1
ii python3-zope.configuration 4.0.3-3
ii python3-zope.event 4.2.0-1
ii python3-zope.interface 4.3.2-1+b1
ii ucf 3.0036
Versions of packages mailman3-core recommends:
ii exim4-daemon-heavy [mail-transport-agent] 4.90-3
ii lynx 2.8.9dev16-2
Versions of packages mailman3-core suggests:
ii default-mysql-server 1.0.3
pn mailman3-core-doc <none>
ii mariadb-server-10.1 [virtual-mysql-server] 1:10.1.29-6
-- debconf information:
mailman3-core/db/dbname: mailman.db
mailman3-core/missing-db-package-error: abort
mailman3-core/upgrade-error: abort
mailman3-core/remote/port:
mailman3-core/db/app-user: mailman3 at localhost
* mailman3-core/database-type: sqlite3
mailman3-core/purge: false
mailman3-core/internal/skip-preseed: false
mailman3-core/pgsql/admin-user: postgres
mailman3-core/pgsql/changeconf: false
mailman3-core/dbconfig-reinstall: false
mailman3-core/db/basepath: /var/lib/mailman3/data
* mailman3-core/config_hyperkitty: true
mailman3-core/pgsql/authmethod-admin: ident
mailman3-core/pgsql/manualconf:
mailman3-core/upgrade-backup: true
mailman3-core/pgsql/authmethod-user: password
mailman3-core/install-error: abort
mailman3-core/remote/newhost:
mailman3-core/remove-error: abort
mailman3-core/mysql/admin-user:
mailman3-core/dbconfig-remove: true
mailman3-core/passwords-do-not-match:
* mailman3-core/dbconfig-install: true
mailman3-core/mysql/method: Unix socket
mailman3-core/remote/host: localhost
mailman3-core/dbconfig-upgrade: true
mailman3-core/pgsql/no-empty-passwords:
mailman3-core/pgsql/method: TCP/IP
mailman3-core/internal/reconfiguring: false
mailman3-core/init_service_failed:
More information about the Pkg-mailman-hackers
mailing list