Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 989793 - check-mk-agent has wrong hardcoded config/lib directories
Summary: check-mk-agent has wrong hardcoded config/lib directories
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: check-mk
Version: el6
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Andrea Veri
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-30 00:35 UTC by Brainslug
Modified: 2013-09-16 17:43 UTC (History)
1 user (show)

Fixed In Version: check-mk-1.2.2p2-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-10 00:00:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Brainslug 2013-07-30 00:35:57 UTC
Description of problem:

/usr/bin/check-mk-agent uses wrong $MK_LIBDIR and $MK_CONFDIR definitions. This keeps the agent from finding the plugins in /usr/share/check-mk-agent/plugins and none of the config files in /etc/check-mk-agent are parsed.

Version-Release number of selected component (if applicable):

check-mk-agent-1.2.2-3.el6.x86_64

Additional info:

This patch seems to fix the problems:

--- /usr/bin/check_mk_agent     2013-04-27 14:30:45.000000000 +0000
+++ /tmp/check_mk_agent 2013-07-30 00:14:53.512028116 +0000
@@ -27,8 +27,8 @@
 export LC_ALL=C
 unset LANG
 
-export MK_LIBDIR="/usr/lib/check_mk_agent"
-export MK_CONFDIR="/etc/check_mk"
+export MK_LIBDIR="/usr/share/check-mk-agent"
+export MK_CONFDIR="/etc/check-mk-agent"
 
 # Make sure, locally installed binaries are found
 PATH=$PATH:/usr/local/bin

Comment 1 Andrea Veri 2013-08-29 16:44:23 UTC
Hi,

the fix has been pushed to git and the package is being built in the couple of days.

More details at http://pkgs.fedoraproject.org/cgit/check-mk.git/commit/?id=ebd4864a819e37b58a0a2a9145e5ff611c3373aa.

Comment 2 Fedora Update System 2013-08-31 11:32:40 UTC
check-mk-1.2.2p2-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/check-mk-1.2.2p2-1.fc19

Comment 3 Fedora Update System 2013-08-31 11:33:07 UTC
check-mk-1.2.2p2-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/check-mk-1.2.2p2-1.el6

Comment 4 Fedora Update System 2013-08-31 19:18:51 UTC
Package check-mk-1.2.2p2-1.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing check-mk-1.2.2p2-1.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-11394/check-mk-1.2.2p2-1.el6
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-09-10 00:00:10 UTC
check-mk-1.2.2p2-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-09-16 17:43:50 UTC
check-mk-1.2.2p2-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.