Module: check_mk
Branch: master
Commit: de1d432a47af82de1ded802058537ed10456a927
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=de1d432a47af82…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed May 14 14:00:20 2014 +0200
Updated bug entries #2155
---
.bugs/2155 | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/.bugs/2155 b/.bugs/2155
new file mode 100644
index 0000000..c34b3bc
--- /dev/null
+++ b/.bugs/2155
@@ -0,0 +1,18 @@
+Title: Host named like a Python module will break precompiled checks
+Component: core
+State: open
+Date: 2014-05-14 13:57:30
+Targetversion: 1.2.5i1
+Class: bug
+
+Operating System: Debian 7
+
+We created a host named 'random' while using Nagios as Core. That leads to
+the files random.py and random in var/check_mk/precompiled. The bug: the
+other precompiled host checks import 'tempfile' and that in turn imports
+'random'. Now somehow the precompiled directory seems to be part of the
+import path in that situation and the Check_MK host files is being imported
+instead of the real random module.
+
+This only seems to affect that indrectly imported module. A test with creating a
+host with the name 'os' did not show any abnormalities.