View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
16036Bug reportsComfortUpdatepublic2022-09-26 18:18
ReporterJmantysalo Assigned Toc_schmitz  
PrioritynoneSeveritytweak 
Status closedResolutionwon't fix 
Product Version4.1.11 
Summary16036: Add check for SELinux in ComfortUpdate
Description

It 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 Reproduce

Install LimeSurvey to RHEL 8. Try ComfortUpdate.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)Version 4.1.11+200316
I will donate to the project if issue is resolvedNo
Browser
Database type & versionN/A
Server OS (if known)Linux, RHEL 8
Webserver software & version (if known)Apache
PHP VersionN/A

Users monitoring this issue

There are no users monitoring this issue.

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
2022-09-26 18:18 c_schmitz Assigned To => c_schmitz
2022-09-26 18:18 c_schmitz Status acknowledged => closed
2022-09-26 18:18 c_schmitz Resolution open => won't fix