On Sun, Dec 24, 2023 at 3:35 PM Wikinaut <mail@tgries.de> wrote:
This is in
/opt/mailman/web/logs# dir total 3164 276 -rw-r--r-- 1 mailman mailman 274457 Dec 24 09:05 mailmanweb.log 2056 -rw-r----- 1 mailman mailman 2100388 Dec 24 09:05 uwsgi-error.log 832 -rw-r----- 1 mailman mailman 846536 Dec 24 09:10 uwsgi.log
Looks okay.
This is my /etc/systemd/system/mailman3.service:
Unit] Description=GNU Mailing List Manager After=syslog.target network.target mysql.service
[Service] Type=forking User=mailman Group=mailman PIDFile=/opt/mailman/venv/bin/master.pid ExecStart=/opt/mailman/venv/bin/mailman start --force ExecReload=/opt/mailman/venv/bin/mailman restart --force ExecStop=/opt/mailman/venv/bin/mailman stop
[Install] WantedBy=multi-user.target
This mailman3web.service:
[Unit] Description=GNU Mailman Web UI After=syslog.target network.target mysql.service mailman3.service
[Service] Environment="PYTHONPATH=/etc/mailman3/" User=mailman Group=mailman ExecStart=/opt/mailman/venv/bin/uwsgi --ini /etc/mailman3/uwsgi.ini KillSignal=SIGINT
[Install] WantedBy=multi-user.target
I do use the venv method, but the other issue may be a relict from former setup, as I said, and difficult to find. It so very strange, that the log-permisison issue stems from → systemctl start mailman3.
Because you were referring to /var/log/, can you please share the output of the following:
grep var_dir /etc/mailman3/mailman.cfg
In my mailman.cfg, I have: var_dir: /opt/mailman/mm/var And in my settings.py I have /opt/mailman/mm/var/logs/mailmanweb.log specified for mailman-web. As you can see, mailman core and mailman-web both log to /opt/mailman/mm/var and given that /opt/mailman is owned by mailman:mailman, I don't see how a file owned by list:list would appear there. I also don't see how anything to do with /var/log/ is in your vocabulary :-)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]