•  
      request #7874 SELinux errors when running tools/setup.sh script.
    Infos
    #7874
    Martin Hamant (martin-h)
    2020-12-24 16:17
    2015-02-17 11:04
    7880
    Details
    SELinux errors when running tools/setup.sh script.
    Fresh install on Centos 6.6

    Starting nscd: [ OK ]
    Set SELinux contexts and load policies
    /usr/bin/chcon: cannot access `/var/lib/tuleap/ftp/codendi': No such file or directory
    Boolean nscd_disable_trans is not defined
    libsepol.print_missing_requirements: codendi's global requirements were not met: type/attribute system_chkpwd_t (No such file or directory).
    libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory).
    /usr/sbin/semodule: Failed!

    The original script that trigger the error is src/utils/fix_selinux_contexts.pl

    There are two distinct errors:
    1) nscd boolean
    2) semodule module insertion (codendi.pp)
    Empty
    7.10
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Declined
    2020-12-24
    Attachments
    Empty
    References

    Follow-ups

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

    • Status changed from Verified to Declined
    • Close date set to 2020-12-24
    User avatar
    Thomas Gerbet (tgerbet)2015-02-24 17:25
    I'm able to reproduce the issue.
    Like for request #7763 with the current state there is work that need to be done to take advantage of SELinux with Tuleap.

    • Status changed from New to Verified
    User avatar
    About /usr/bin/chcon: cannot access `/var/lib/tuleap/ftp/codendi': No such file or directory

    Globally, I think the existence of folders should be checked before issuing chcon statement.