[Mailman-Users] mailman v2.1.20 init script for cos7 / wrong pid location

Mark Sapiro mark at msapiro.net
Tue Oct 6 21:09:42 CEST 2015


On 10/06/2015 11:24 AM, fsantiago at garbage-juice.com wrote:

First of all, whatever MUA you're using included the Sender:
Mailman-Users
<mailman-users-bounces+fsantiago=garbage-juice.com at python.org> address
in your reply-all which resulted in your being scored with a bounce for
today. Be careful to which addresses you're replying.


> Mark,
> 
> thanks for your reply. But i believe you misunderstood; all files have
> been taken from the source distribution (or were put in their current
> locations during 'make install'). I have used no packages in this endeavor.
> 
> I double checked and ran diff; <source>/misc/mailman and
> /etc/rc.d/init.d/mailman are an exact match. they should be as i put it
> there today myself.


And that file contains

# pidfile: @prefix@/data/master-qrunner.pid

PYTHON=@PYTHON@
MAILMANHOME=@prefix@
MAILMANCTL=$MAILMANHOME/bin/mailmanctl


This would seem to be a bug. I.e misc/mailman.in should contain

# pidfile: @VAR_PREFIX@/data/master-qrunner.pid

if in fact this is what systemctl is using.

Try changing

# pidfile: /usr/lib/mailman/data/master-qrunner.pid

to

# pidfile: /var/lib/mailman/data/master-qrunner.pid

in /etc/rc.d/init.d/mailman and report if that fixes it.
-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list