Branch: refs/heads/1.6.0
Home:
https://github.com/tribe29/checkmk
Commit: 7a7ead7b3cada125892193e4a80614e119ff7999
https://github.com/tribe29/checkmk/commit/7a7ead7b3cada125892193e4a80614e11…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2019-10-16 (Wed, 16 Oct 2019)
Changed paths:
A .werks/7172
Log Message:
-----------
07172 FIX Fix automatic agent updates on Solaris
This werk fixes the following bug:
Automatic agent updates are failing on Solaris. The agent updater will remove the old
agent
package and fail to install the newly downloaded package, leaving the Checkmk agent
uninstalled.
Along with some further information, you can find the message
<pre>pkgadd: ERROR: unable to determine the current working directory,
errno=2</pre>
at <code>/var/lib/check_mk_agent/cmk-update-agent.log</code>.
This only affects automatic updates, i.e. <code>cmk-update-agent</code> is
invoked as
a plugin. Manually triggered updates are not affected by this bug.
Providing that the agent didn't get uninstalled accidentely, you can fix the automatic
agent
updates functionality by triggering an update to a newly baked agent manually by invoking
<code>cmk-update-agent -v</code> on the affected hosts.
CMK-2907
Change-Id: Ie322705ced12b7cab5b18c4cfd32fe47ebf39b15