Project

General

Profile

Actions

Bug #4084

closed

Check_mk agent doesn't work: wrong bash path

Added by Flavio Stanchina almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
12/09/2014
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
2.1.5
Affected Plus Version:
Affected Architecture:

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.

Actions #1

Updated by Peter Baumann over 9 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.

Actions #2

Updated by Peter Baumann over 9 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!

Actions #4

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

Actions #5

Updated by Kill Bill over 9 years ago

Fixed.

Actions #6

Updated by Chris Buechler over 9 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF