Hello, I've been working on migrating an old Mailman 2.1 server over to a new server. I'm currently using Mailman 2.1.29 for the new server. The new server is a CentOS 8 server. The Mailman package that is being used is mailman-3:2.1.29-4.module_el8.0.0+34+0459d3d0.x86_64.
When I try to visit the following link in a web browser: server.com/mailman/listinfo, I get the following error: "Bug in Mailman version 2.1.29 / We're sorry, we hit a bug!" with a specific error of: IOError: [Errno 13] Permission denied: '/var/log/mailman/error'. I think this issue is very similar to this past email question: https://mail.python.org/pipermail/mailman-users/2005-December/048349.html But even after setting the group to "mailman" and setting the permissions as suggested in that other post for /var/log/mailman and the files within, I still get the same error. I've tried restarting the server to see if that would help (after reading this: https://bugzilla.redhat.com/show_bug.cgi?id=1733359#c16), and yesterday that seemed to work (because I then got another type of error with Mailman). But when I try to restart the server today, I still get the same Errno 13 error. I think I've even tried setting the /var/log/mailman files to 777 to see if that would temporarily fix the permissions issue, with the same result. I have then tried to disable selinux to see if that would change anything. Surprisingly, I'm able to successfully view Mailman on the server when selinux is disabled. So it works when selinux is disabled! Is there a way that I can keep selinux enabled and still have Mailman work as expected? In answer to that question, it looks like this informational page explains how to allow Mailman to work while selinux is enabled: https://wiki.list.org/DOC/SELinux%20errors%20after%20upgrade%20-%20RedHat I ran the following steps: sudo yum update selinux-policy sudo restorecon -R -v /var/lib/mailman sudo restorecon -R -v /usr/lib/mailman When I re-enabled selinux and tried visiting Mailman on the new server, it appeared to work! Hope this helps someone in the future. ------------------------------------------------------ Mailman-Users mailing list -- email@example.com 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://firstname.lastname@example.org/ https://email@example.com/