Re: [Mailman-Developers] Mailman 3 not restarting after reboot [addendum]

On 09/05/2017 12:13 PM, Abhilash Raj wrote:
I did just a quick search and read about issues related to Click and init scripts. See below.
Thank you Abhilash. I had started looking through the click docs, but hadn't found the relevant stuff yet.
...
(Thank you!)*10. All it needed was the addition of
export LANG=en_US.UTF-8
to the init.d script. It now works.
I never saw it and I just grepped all the logs, and it's not there.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On Sep 5, 2017, at 12:54, Mark Sapiro <mark@msapiro.net> wrote:
Thanks for figuring this out, and sorry that I’ve been traveling and sprinting and couldn’t help more.
Can you suggest a good place to document this?
-Barry

On 09/05/2017 02:25 PM, Barry Warsaw wrote:
Can you suggest a good place to document this?
We really don't say anything about running Mailman as a service. I guess we think that people know how to do that.
The now defunct mailman-bundler has a sample systemd mailman3.service file but that's it.
This click issue is a definite gotcha however and should be mentioned. Perhaps an additional section at <mailman/commands/docs/control.html> could mention it. It wouldn't necessarily need to give entire scripts, but just mention that click requires that a minimal locale setting be exported before issuing 'mailman' commands.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On Sep 5, 2017, at 14:51, Mark Sapiro <mark@msapiro.net> wrote:
See what you think about https://gitlab.com/mailman/mailman/merge_requests/316
Cheers, -Barry

On Sep 5, 2017, at 12:54, Mark Sapiro <mark@msapiro.net> wrote:
Thanks for figuring this out, and sorry that I’ve been traveling and sprinting and couldn’t help more.
Can you suggest a good place to document this?
-Barry

On 09/05/2017 02:25 PM, Barry Warsaw wrote:
Can you suggest a good place to document this?
We really don't say anything about running Mailman as a service. I guess we think that people know how to do that.
The now defunct mailman-bundler has a sample systemd mailman3.service file but that's it.
This click issue is a definite gotcha however and should be mentioned. Perhaps an additional section at <mailman/commands/docs/control.html> could mention it. It wouldn't necessarily need to give entire scripts, but just mention that click requires that a minimal locale setting be exported before issuing 'mailman' commands.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On Sep 5, 2017, at 14:51, Mark Sapiro <mark@msapiro.net> wrote:
See what you think about https://gitlab.com/mailman/mailman/merge_requests/316
Cheers, -Barry
participants (2)
-
Barry Warsaw
-
Mark Sapiro