1 Title: cmk-update-agent: Improve prelink handling
12 With werk #5507, we tried to mitigate the impact of prelink on the agent updater binary.
13 However, it turned out that the corresponding files did not survive every Check_MK Agent
16 First of all, please note that we do not recommend the usage of prelink at all,
17 as its benefit is questionable and there are some issues
18 (not limited the the cmk-update-agent binary) that may occur by applying it to a system.
20 Now, with this werk, the prelink exception for the cmk-update-agent is placed on the target
21 system in a more robust way.
22 A blacklist-file at <tt>/etc/prelink.conf.d/cmk-update-agent.conf</tt> is
23 now placed on the target system regardless of an existing prelink-installation.
24 If prelink is installed on the target system (i.e. the file <tt>/etc/prelink.conf</tt> exists),
25 our blacklist-file will be referenced as an additional prelink configuration file.
26 If prelink gets installed on the system after the Check_MK Agent, you have to reference
27 the blacklist-file by yourself. You can do this by adding a line
28 <pre>-c /etc/prelink.conf.d/cmk-update-agent.conf</pre>
29 to <tt>/etc/prelink.conf</tt>.
31 However, this mechanism is only available for .rpm and .deb Check_MK Agent pakages.