View Issue Details

IDProjectCategoryView StatusLast Update
16036Bug reportsComfortUpdatepublic2021-05-11 13:16
ReporterJmantysalo Assigned To 
PrioritynoneSeveritytweak 
Status acknowledgedResolutionopen 
Product Version4.1.11 
Summary16036: Add check for SELinux in ComfortUpdate
DescriptionIt would be nice if the system could warn about SELinux forbidding ComfortUpdate. Currently _updatesavailable_error.php contains

        case 'no_server_answer':
            . . .
            $sMessage = gT("It seems that the ComfortUpdate server is not responding. Please try again in few minutes or contact the LimeSurvey team.");

and it could be something like

        case 'no_server_answer':
            . . .
            $check_selinux = array();
            $res = 0;
            exec("getsebool httpd_can_network_connect", $check_selinux, $res);
            if ($res == 0 and explode(" ", $check_selinux[0])[2] == "off")
                $sMessage = gT("It seems that the ComfortUpdate server is not responding, propably because of SELinux restrict connections.");
            else
                $sMessage = gT("It seems that the ComfortUpdate server is not responding. Please try again in few minutes or contact the LimeSurvey team.");
Steps To ReproduceInstall LimeSurvey to RHEL 8. Try ComfortUpdate.
TagsNo tags attached.
Complete LimeSurvey version number (& build)Version 4.1.11+200316
I will donate to the project if issue is resolvedNo
Browser
Database & DB-VersionN/A
Server OS (if known)Linux, RHEL 8
Webserver software & version (if known)Apache
PHP VersionN/A

Activities

Jmantysalo

Jmantysalo

2020-03-25 08:14

reporter   ~56758

...or maybe this could be checked in the installation precheck phase?
Jmantysalo

Jmantysalo

2021-05-11 13:16

reporter   ~64338

I guess this one can be closed. Maybe I'll write some lines to installation manual later.

Issue History

Date Modified Username Field Change
2020-03-25 08:01 Jmantysalo New Issue
2020-03-25 08:14 Jmantysalo Note Added: 56758
2020-03-27 10:54 cdorin Status new => acknowledged
2021-05-11 13:16 Jmantysalo Note Added: 64338