codership / galera-manager-support

Galera Manager Support Repository
8 stars 2 forks source link

Cannot install gm on host with disabled SELinux #27

Closed peter-reimann-1 closed 2 years ago

peter-reimann-1 commented 2 years ago

I have a test host (CentOS 7) with SELinux disabled. The just (2022-03-03) downloaded gm-installer breaks out due to sentenforce comes back with 1 (SELinux disabled)

The log is not helpfule at all:

setenforce: SELinux is disabled

This is all what is inside the log :-(. How to deal with it?

ronnybremer commented 2 years ago

The only workaround is to enable SELinux (/etc/selinux/config -> change to Enforce), then reboot the system, afterwards the installer will continue and funny enough, disable SELinux again. Apparently there is no check for SELinux already being disabled during the installation.

denisgcm commented 2 years ago

Thank you for reporting it. We currently only support fresh non-customized OS installations (i.e. the ones freshly installed and not customized by the user). This particular issue however will be solved in the next releases of gm-installer.