Bug #4084
closedCheck_mk agent doesn't work: wrong bash path
100%
Description
The official Check_mk agent package doesn't work because the shebang line at the top of /usr/local/bin/check_mk_agent is wrong: it needs to be #!/usr/local/bin/bash, not #!/bin/bash.
Updated by Peter Baumann almost 10 years ago
The Problem is that with 2.2-RELEASE bash is not there anymore so check_mk_agent will not work.
After installing bash with pkg I had to change the shebang to #!/usr/local/bin/bash. So the package needs to be fixed.
Updated by Peter Baumann almost 10 years ago
I found a solution to the problem.
Since the check_mk pfSense Package is downloading the latest check_mk_agent.freebsd (1.2.7i1) it needs bash to work which is not installed on pfSense anymore.
I tried now the stable release of the check_mk_agent which is version 1.2.6 which is working well and using /bin/sh.
So is it possible for the check_mk_agent package maintainer to use the 1.2.6 version of the agent?
Many thanks!
Updated by Peter Baumann almost 10 years ago
Fix would be the following: https://github.com/pfsense/pfsense-packages/pull/829
Updated by Renato Botelho over 9 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Pull request has been merged
Updated by Chris Buechler over 9 years ago
- Status changed from Feedback to Resolved