Mailman 2.0.1 update failure

  • Updating Mailman from 2.0.0 to 2.0.1 fails with


    Code
    1. Plugin::Mailman::_execMailmanCmd: Couldn't set EGID: Invalid argument at /var/www/imscp/gui/plugins/Mailman/backend/Mailman.pm line 446.

    Imscp 1.4.3 on Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-79-generic x86_64)


    Please look into this. If you any additional information just let me know.
    Thanks,
    Jann

  • @cynric


    Please, result of the following commands:

    • getent group list
    • getent passwd vu2000
    • getent group vu2000
    • grep 'IMSCP_GROUP' /etc/imscp/imscp.conf
    • grep 'SYSTEM_USER_PREFIX' /etc/imscp/imscp.conf
    • grep 'SYSTEM_USER_MIN_UID' /etc/imscp/imscp.conf

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Sure:

    • list:x:38:vu2000
    • vu2000:x:1001:1001:i-MSCP Master Web User:/var/www/imscp/gui:/bin/false


    • vu2000:x:1001:www-data
    • IMSCP_GROUP = imscp


    • SYSTEM_USER_PREFIX = vu


    • SYSTEM_USER_MIN_UID = 2000

    Thanks,
    Jann

  • @cynric


    Thanks.


    • Did you tried a retry through the plugin management interface?
    • Could it be possible to access your server for investigation?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @cynric


    Confirmed under Ubuntu 16.04 (doesn't occur under Debian Jessie):


    mailman_err.png





    I'll investigate and fix.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @cynric


    It seem that under Ubuntu, an error is raised when you attemps to localize EGID variable:


    Works under Debian Jessie

    Perl
    1. {
    2. local $!;
    3. local $) = '38 1001 1001';
    4. die( sprintf( "Couldn't set EGID: %s", $! ) ) if $!;
    5. }

    but raise an error under Ubuntu 16.04... Thus, I'll revert back to SU(1) usage

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hmm. But under Ubuntu 16.04, following is working...

    Perl
    1. {
    2. local $!;
    3. local $EGID = '38 1001 1001';
    4. die( sprintf( "Couldn't set EGID: %s", $! ) ) if $!;
    5. }

    $EGID is a alias of $) ... Incredible...

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @cynric


    The bug should be fixed in latest version. See Mailman plugin v2.0.2 RELEASED


    Thanks you for your report.
    Thread closed.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206