•  
      request #3469 [CentOS 6] Selinux - Infinite loop when registering a project
    Infos
    #3469
    Dominique Leducq (dleducq)
    2020-12-24 15:05
    2013-05-22 17:01
    2284
    Details
    [CentOS 6] Selinux - Infinite loop when registering a project
    When following the link to project/register.php,
    I get an inifinite loop, and /var/log/httpd/error_log grows until the filesystem is full:
    [Wed May 22 14:48:32 2013] [error] [client 192.168.122.1] PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /usr/share/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer.php on line 57, referer: https://tuleap.atlantique.local/softwaremap/trove_list.php
    Project admin
    6.0
    CentOS 6
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Declined
    Empty
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    Given that Tuleap is no more built for CentOS / RHEL6, I close this issue.

    • Status changed from Waiting for information to Declined
    User avatar
    No problemo. I'm just updating the title and decrease the priority.

    As many things needs to be updated for centos6/rhel6 we wait for things to work properly and seamlessly without selinux.

    Once it's ok we might break it again by enabling selinux.

    • Summary
      -[CentOS 6] Infinite loop when registering a project 
      +[CentOS 6] Selinux - Infinite loop when registering a project 
    User avatar
    Indeed, setting SELinux to Permissive makes it work. Resetting it to Enforcing, the bug happens.
    I'm OK to do more tests and diagnostics. I was away last week, hence the delay in replying.
    User avatar
    I'm not able to reproduce your bug (for some reason lxc refuse to activate selinux and my vbox is broken), did you try without selinux ?

    • Status changed from Acknowledged to Waiting for information
    User avatar
    Quite the same when accessing admin/groupedit.php through a project link in admin/grouplist.php:
    [Wed May 22 18:25:00 2013] [error] [client 192.168.122.1] PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /usr/share/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer.php on line 57, referer: http://tuleap.atlantique.local/admin/grouplist.php