https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34419
Bug ID: 34419
Summary: koha-plack contains a wrong test about missing Apache
modules
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
All needed Apache modules are installed but koha-plack tells me:
WARNING: koha-plack requires some Apache modules that you are missing.
You can install them with:
sudo a2enmod headers proxy_http
This really is not true.
What happened?
There is a syntax error in one of my local sed changes in a config file.
Looking a bit deeper, I see this test in sub check_env_and_warn()
if ! /usr/sbin/apachectl -M 2> /dev/null | grep -q ${module}; then
missing_modules="${missing_modules}${module} "
fi
Altough the grep -q part looked mysterious to me at first, the problem seems to
be the pipe. If the first process exits with an error, the second will have an
error too on the closed handles.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/