Modoboa Installation fails on Centos 9 Stream #2721
Replies: 11 comments
-
Managed to get it solved:
Unfortunately it does not install on Centos 9 Stream anyway as further on it starts complaining about missing /etc/yum.repos.d/CentOS-Base.repo from modoboa-installer/modoboa_installer/scripts/postfix.py line 39! But this is another issue. It would be great if someone checked and validated this solution and potentially incorporated it into the installation script, so it would recognize the Centos 9 and did what is needed or just gave instructions. |
Beta Was this translation helpful? Give feedback.
-
Hi, I've made some work on it (available here). You need to disable |
Beta Was this translation helpful? Give feedback.
-
I know, I understand and have no trouble to do some research and some manual work. ;) I do not have access to the PR. If there is anything, I can help with testing, I can. Currently I am playing with Centos 9 and Modoboa. Would like to make it a production server. As of now I can be easily destroying and re-installing the VM. So ... great time to test. I do not know how far you got with the installation and configuration. |
Beta Was this translation helpful? Give feedback.
-
You should be able to access it : |
Beta Was this translation helpful? Give feedback.
-
OK, I can access it, although in the issue it said that to be able to access the PR I need write privileges. Already testing it and with clean install of CentOS 9 it went through smoothly! 👍 Except this error at the end ...
Could you, please, elaborate more on the SELinux? Why and when it has to be disabled? I am now getting Thanks a lot in advance! |
Beta Was this translation helpful? Give feedback.
-
Feel free to open a PR on the branch if you want. I'll check the cron stuff when I have time. The bad request is likely to be due to the SE Linux set to enforce. Try to set it to permissive ( As for the prefixing, I agree it's not optimal (I'm working on a QoL improvement in that regard). If you want to get rid of it : |
Beta Was this translation helpful? Give feedback.
-
Hi there, hope you all had great Holidays. I finally got back to "playing" with modoboa and CentOS 9. It looks like there was some change as the centos9 branch is now failing (which did not before). During the spamassassin installation it fails with this message:
So, I modified the line 62 to read (taking postfix.py as an example): After that I ran into two more installation issues: Issue 1: Details: The problem is that the installation scripts adds Fix: In the file
Issue 2: After these changes I was able to install and run Modoboa on CentOS 9 without any errors and issues! I am sure that the "fixes" need more attention, such as checking for the OS type / version / existence of the config entries, etc., not just the handmade hardcoded fixes I did! But I will "generously" leave it to the professionals! ;) @Spitfireap - Do you want to take a fix these three things (spamassassin, opendkim, crond). I would the gladly contribute an installation guide of Modoboa on CentOS 9 Stream. I already have it for myself anyway (including the fixes). |
Beta Was this translation helpful? Give feedback.
-
Thanks for the help, I've committed your fixes if you want to give it a try. You didn't have any issue with |
Beta Was this translation helpful? Give feedback.
-
I took your advice to disable the SE Linux. ;) I am absolutely not a SE Linux Pro. |
Beta Was this translation helpful? Give feedback.
-
BTW, I am currently doing some more tests and configs and running into issues. Some of them might be because I screwed something up and some may be more generic. What would be the best platform to discuss such? Discord? I am starting to like Modoboa more and more and would like to help improving if I am able either by testing, analyzing, even fixing or leading to fixes. ;) |
Beta Was this translation helpful? Give feedback.
-
You can join modoboa's discord and send me a PM :) |
Beta Was this translation helpful? Give feedback.
-
Impacted versions
Steps to reproduce
Current behavior
https://docs.fedoraproject.org/en-US/epel/#_el9
uwsgi-plugin-python36
.I could only find and install
uwsgi-plugin-python3
, but not explicitlyuwsgi-plugin-python36
. The whole installation fails on this.Expected behavior
Provide some guidance on prerequisites before the installation. I am sure it is difficult with all the combinations.
Beta Was this translation helpful? Give feedback.
All reactions