<p><a href="https://github.com/awiddersheim" class="user-mention">@awiddersheim</a> your strace output actually exposes another bug, but I'll file an issue for that. Here's the problem I see right now:</p>

<pre><code>stat("/root/..cnf", 0x7fff7c4e6620) = -1 ENOENT (No such file or directory)
</code></pre>

<p>That should be <code>/.root/.my.cnf</code>, but that's the aforementioned bug. This patch causes the cycle of checking which <code>my.cnf</code> to ignore the one that may exist in a user's homedir.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1199#issuecomment-38799282'>Reply to this email on GitHub</a>.<img src='https://github.com/notifications/beacon/5514713__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMTU0NDUwOSwiZGF0YSI6eyJpZCI6MTc5MjMwNjl9fQ==--3c9872995c30060e4e1c51d941193f5f29a8c3be.gif' height='1' width='1'></p>