On 6/8/24 12:17 PM, Keith Christian wrote: ------------------------------------------------------------------------> Below in line B-6, systemd thinks mailman isn't running, but with the
"/opt/mailman3/venv/bin/mailman" commands, line B-2 says it is. I could be misinterpreting the systemd output, however. Python not happy about some directories.
All of the systemctl status mailman3.service reports through E 24 are reporting the same failure from Jun 08 09:35:57.
The "PermissionError: [Errno 13] Permission denied: '//var/templates'" is what it says. It is trying to create the absolute path /var/templates and user mailman3 doesn't have permission to create a templates/ directory in /var.
I'm not sure why this is. It should be trying /opt/mailman3/mm/var/templates. What does
/opt/mailman3/venv/bin/mailman info
show for config file? Is it correct? Even if it is, you might create /opt/mailman/bin/mailman with appropriate permissions and content
#!/bin/bash
unset PYTHONSTARTUP
exec /opt/mailman/venv/bin/mailman \
-C "/etc/mailman3/mailman.cfg" \
$@
or whatever the correct path to mailman.cfg is and use
/opt/mailman/bin/mailman in the Exec* entries in your mailman3.service
file or you could just add -C "/etc/mailman3/mailman.cfg"
to the commands.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan