I can't get mailman version (1:2.1.26-1ubuntu0.6) to run on an ubuntu 18.04 installation with apache2 running in chroot. I've done the same thing before, a long time ago and it worked perfectly back then.

chroot directory is /home/www
(I admit that it's strange to put it there, but the provided setup only has huge /home partition and small /)

vhost configuration:

<VirtualHost *:443>
        ServerName lists.DOMAIN.TLD

        ServerAdmin webad...@domain.tld

        <ifmodule mpm_itk_module>
                AssignUserID www-data www-data
        </ifmodule>

        DocumentRoot /home/lists/httpdocs/site/
        <Directory /home/lists/httpdocs/site/>
                AllowOverride None
                Require all granted
        </Directory>
        <Directory /var/lib/mailman/archives/>
                Options Indexes FollowSymLinks
                AllowOverride None
                Require all granted
        </Directory>
        <Directory "/usr/lib/cgi-bin/">
                AllowOverride all
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Require all granted
        </Directory>

        # ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/

        Alias /pipermail/ /var/lib/mailman/archives/public/
        Alias /images/mailman/ /usr/share/images/mailman/
        ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin
        ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb
        ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm
        ScriptAlias /create /usr/lib/cgi-bin/mailman/create
        ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml
        ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo
        ScriptAlias /options /usr/lib/cgi-bin/mailman/options
        ScriptAlias /private /usr/lib/cgi-bin/mailman/private
        ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist
        ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster
        ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe
        ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/

        RedirectMatch ^/[/]*$ http://lists.DOMAIN.TLD/listinfo/

        ErrorLog /home/www/home/lists/logs/error.log
        CustomLog /home/www/home/lists/logs/access.log combined

        Include /etc/letsencrypt/options-ssl-apache.conf
        SSLCertificateFile /etc/letsencrypt/live/lists.DOMAIN.TLD/fullchain.pem         SSLCertificateKeyFile /etc/letsencrypt/live/lists.DOMAIN.TLD/privkey.pem
        Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>

Here is the significant part of the fstab file that provides the necessary directories in the chroot environment:

/etc/mailman /home/www/etc/mailman                   none    defaults,bind,ro /usr/lib/mailman /home/www/usr/lib/mailman               none    defaults,bind,ro /usr/share/mailman /home/www/usr/share/mailman             none    defaults,bind,ro /usr/share/images/mailman /home/www/usr/share/images/mailman      none    defaults,bind,ro /var/lib/mailman /home/www/var/lib/mailman               none    defaults,bind /var/log/mailman /home/www/var/log/mailman               none    defaults,bind /var/lock/mailman /home/www/var/lock/mailman              none    defaults,bind

Result is:


 Mailman CGI error!!!

The Mailman CGI wrapper encountered a fatal error. This entry is being stored in your syslog:

No such file or directory


I have checked that all script files are accessible. There is no related entry in either the syslog, the apache log files or the mailman log files. I am not able to find more details about this error.

Any suggestions are welcome. Please ask for more detailed information.

Kind regards,
Nils
------------------------------------------------------
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/
Member address: arch...@jab.org

Reply via email to