In my /etc/munin/munin-node : "pid_file /var/run/munin-node.pid" When I run munin-node, I see that in munin logs : Couldn't open pid file "/var/run/munin/munin-node.pid" Which is clearly not the path I indicated Reproducible: Always Steps to Reproduce: 1.change pid_file directive in your conf file 2.run munin-node 3. Expected Results: Munin-node take my pid_file directive into account
Thanks for the report. The Gentoo Linux init scripts are not aligned with upstream in this case. That means, when you run the init script, /etc/init.d/munin-node, it is obeying the PIDFILE variable that it set itself. %% grep pid /etc/init.d/munin-node PIDFILE=/var/run/munin/$NAME.pid start-stop-daemon --quiet --nicelevel $NICE_LEVEL --start --pidfile $PIDFILE --exec /usr/sbin/$NAME start-stop-daemon --quiet --stop --pidfile $PIDFILE So, I'm not sure what to do about this bug (if anything), assigning to maintainer.
Fixed in 1.4.5-r2