You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installation fails on any BSD because apparently the redmine_git_hosting:install_scripts task will use SELinux no matter what (contrary to the readme).
[Generating and installing redmine_git_hosting shell scripts:
find: -regextype: unknown option
rake aborted!
Error: ROOT_PATTERN does not match any directories!
/home/redmine/plugins/redmine_git_hosting/lib/tasks/selinux.rake:325:in `redmine_roots'
/home/redmine/plugins/redmine_git_hosting/lib/tasks/selinux.rake:114:in `block (3 levels) in <top (required)>'
/home/redmine/plugins/redmine_git_hosting/lib/tasks/selinux.rake:134:in `block (3 levels) in <top (required)>'
/home/redmine/plugins/redmine_git_hosting/lib/tasks/redmine_git_hosting.rake:100:in `block (2 levels) in <top (required)>'
Tasks: TOP => selinux:redmine_git_hosting:across_roots(See full trace by running task with --trace)
In this case, the rake task fails because of a non-standard find option, but even if I were to bypass this issue, I suspect many more would pop up simply because my NetBSD server is...well...BSD.
Is there a reason that SELinux is absolutely required for installation?
The text was updated successfully, but these errors were encountered:
Oh, my bad. Examining the rake files more closely, I see that selinux.rake is used only for the purpose of installing scripts, not the actual SELinux configuration. However, it still must be patched to use -E instead of -regextype posix-extended on BSD-like platforms (including Mac OS X). Perhaps there is a cross-platform solution, or perhaps something more elegant than all of the ugly regex hacks happening in selinux.rake.
Installation fails on any BSD because apparently the
redmine_git_hosting:install_scripts
task will use SELinux no matter what (contrary to the readme).In this case, the rake task fails because of a non-standard
find
option, but even if I were to bypass this issue, I suspect many more would pop up simply because my NetBSD server is...well...BSD.Is there a reason that SELinux is absolutely required for installation?
The text was updated successfully, but these errors were encountered: