Bug 28505

Summary: mailman fails to install on Mageia 7
Product: Mageia Reporter: james Whitby <jim>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: Normal CC: davidwhodgins
Version: 7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: mailman-2.1.33-1.mga7.x86_64.src.rpm CVE:
Status comment:

Description james Whitby 2021-03-02 05:36:33 CET
Running transaction
  Preparing        :                                                                           1/1 
  Running scriptlet: mailman-2.1.33-1.mga7.x86_64                                              1/1 
  Installing       : mailman-2.1.33-1.mga7.x86_64                                              1/1 
dnf install mailman-2.1.33-1.mga7
...
 Running scriptlet: mailman-2.1.33-1.mga7.x86_64                                              1/1 
  File "/usr/sbin/mmsitepass", line 68
    except getopt.error, msg:
                       ^
SyntaxError: invalid syntax

  Verifying        : mailman-2.1.33-1.mga7.x86_64                                              1/1 

Installed:
  mailman-2.1.33-1.mga7.x86_64                                                                     

Complete!

# attempt to start and run produces
systemctl status mailman
...
01 22:40:14 number1.jameswhitby.net systemd[1]: Starting GNU Mailing List Manager...
Mar 01 22:40:14 number1.jameswhitby.net mailmanctl[1186797]:   File "/usr/lib64/mailman/bin/mailmanctl", line 156
Mar 01 22:40:14 number1.jameswhitby.net mailmanctl[1186797]:     try:
Mar 01 22:40:14 number1.jameswhitby.net mailmanctl[1186797]:     ^
Mar 01 22:40:14 number1.jameswhitby.net mailmanctl[1186797]: SyntaxError: invalid syntax
Mar 01 22:40:14 number1.jameswhitby.net systemd[1]: mailman.service: Control process exited, code=exited, status=1/FAILURE

Mailman was not ported to M8, so no way to check.
Comment 1 Dave Hodgins 2021-03-02 08:37:55 CET
Very strange. It worked for me.
$ rpm -q mailman
mailman-2.1.33-1.mga7
$ systemctl status mailman.service |head -n 3
● mailman.service - GNU Mailing List Manager
   Loaded: loaded (/usr/lib/systemd/system/mailman.service; disabled; vendor preset: disabled)
   Active: active (running) since Tue 2021-03-02 01:57:06 EST; 31min ago

I do have a proper fqdn setup.
$ hostname
x3.hodgins.homeip.net

That install of mailman was done for
https://bugs.mageia.org/show_bug.cgi?id=26253#c17

As that install was done using urpmi, I just installed mailman using dnf
in a vb guest and after setting the site password using mmsitepass, was
able to run "systemctl start mailman.service" and it started ok.

I already had postfix and apache running.

CC: (none) => davidwhodgins
Summary: Fails to install => mailman fails to install on Mageia 7

Comment 2 james Whitby 2021-03-02 09:45:28 CET
History:
It worked before the upgrade to M8.
I missed by monthly reminder . So went looking,:
systemd status showed an error in one of the lib files.
I went looking at the installed rpm... it was for M7.
There isn't one for M8. ( ok different problem ).

I removed and reinstalled it from the M7 repo. 
The above is the error I get now.

I'm guessing!!
One of the dependent files has changed, even though the name is the same or probably newer. something is different from M7.

I ihad already asked on the dev list if it the M8 verson was missed or left out on purpose,
Comment 3 james Whitby 2021-03-02 09:56:20 CET
Cancelling this bug.
I just learned the why.

Its using python2.
No none appears to be maintaining it.\

Status: NEW => RESOLVED
Resolution: (none) => FIXED