On 8/29/2020 2:11 PM, Dennis Putnam wrote:
> Since Centos 7 is way behind on mailman rpm (2.1.15 is the only
> available rpm) and mailman is currently at 2.1.34 I need to do a manual
> update. While I know how to install software, I am concerned that just
> doing a manual install from the tarball will mess up current settings,
> lists and members. Does anyone have experience doing this that can
> advise about pitfalls or has a cookbook document to do a safe update? TIA.
>
After additional attempts and some research I am stuck upgrading mailman
2.1.5 to 2.1.34 and get the same results I had reported here earlier. I
followed these instructions:

https://wiki.list.org/DOC/How%20do%20I%20upgrade%20a%20Debian/Ubuntu%20Mailman%20package%20from%20source.

And made, what I thought were, the appropriate changes to the configure
parameters:

./configure --prefix=/usr/lib/mailman --with-username=mailman
--with-groupname=mailman --with-cgi-gid=apache --with-mail-gid=mailman

If anyone sees anything wrong please point it out. Anyway, after doing
the make and install, I start mailman and get this status:

● mailman.service - GNU Mailing List Manager
   Loaded: loaded (/usr/lib/systemd/system/mailman.service; disabled;
vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2020-09-14 10:31:12 MDT;
20min ago
  Process: 20030 ExecStart=/usr/lib/mailman/bin/mailmanctl -s start
(code=exited, status=1/FAILURE)
  Process: 20028 ExecStartPre=/bin/chmod 660 /var/log/mailman/error
(code=exited, status=0/SUCCESS)
  Process: 20024 ExecStartPre=/bin/chown mailman:mailman
/var/log/mailman/error (code=exited, status=0/SUCCESS)
  Process: 20021 ExecStartPre=/bin/touch /var/log/mailman/error
(code=exited, status=0/SUCCESS)
  Process: 20018 ExecStartPre=/usr/bin/install -m644 -o root -g root
/usr/lib/mailman/cron/crontab.in /etc/cron.d/mailman (code=exited,
status=0/SUCCESS)
  Process: 20014 ExecStartPre=/usr/lib/mailman/bin/mailman-update-cfg
(code=exited, status=0/SUCCESS)

Sep 14 10:31:12 harmonia.csd.net mailmanctl[20030]: File
"/usr/lib64/python2.7/codecs.py", line 881, in open
Sep 14 10:31:12 harmonia.csd.net mailmanctl[20030]: file =
__builtin__.open(filename, mode, buffering)
Sep 14 10:31:12 harmonia.csd.net mailmanctl[20030]: IOError: [Errno 13]
Permission denied: '/usr/lib/mailman/logs/error'
Sep 14 10:31:12 harmonia.csd.net mailmanctl[20030]: Original log message:
Sep 14 10:31:12 harmonia.csd.net mailmanctl[20030]: [Errno 13]
Permission denied: '/usr/lib/mailman/logs/error'
Sep 14 10:31:12 harmonia.csd.net mailmanctl[20030]: Sep 14 10:31:12 2020
(20030) Site list is missing: mailman
Sep 14 10:31:12 harmonia.csd.net systemd[1]: mailman.service: control
process exited, code=exited status=1
Sep 14 10:31:12 harmonia.csd.net systemd[1]: Failed to start GNU Mailing
List Manager.
Sep 14 10:31:12 harmonia.csd.net systemd[1]: Unit mailman.service
entered failed state.
Sep 14 10:31:12 harmonia.csd.net systemd[1]: mailman.service failed.

I don't understand the permissions denied error. Unfortunately it does
not tell me what process is trying to open it. The directory is rw by
mailman:mailman. In addition, the error that site list is missing
'mailman' is also confusing. Does the upgrade overwrite something that
makes the existing lists disappear? The instructions say nothing about
running anything else to make the lists known to the new version. I am
guessing I need to do something with 'withlist' but I don't know what.
Finally, I am concerned that the working 2.1.15 version has no
'mm_cfg.py' while the new version has a file with only comments. Perhaps
this is OK if I'm using all defaults. I need someone to nursemaid me
through this upgrade. TIA.

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to