Control: tags + confirmed pending

Frank Hommes <[email protected]> writes:

> In /lib/systemd/system/munin-node.service the variable pidfile is set to:
> PIDFile=/run/munin/munin-node.pid
>
> where in
> /etc/init.d/munin-node it's
> PIDFILE=/var/run/munin/munin-node.pid
>
> and in /etc/munin/munin-node.conf it's also
> pid_file /var/run/munin/munin-node.pid
>
> When starting munin-node with systemctl start munin-node.service it
> gets a timeout because there is no pid at /run/munin/munin-node.pid
> and kills the process.
>
> If you're lucky, munin-node will send data to munin-server before the
> timeout so you still get some graphs with data but sometimes it
> doesn't work so your graph gets white spaces in between.
>
> Solution is to unify the location of pidfile.

Since wheezy, /var/run should be a symlink to /run
(https://wiki.debian.org/ReleaseGoals/RunDirectory).

Cleanup of packages, and changing configuration files, takes a bit more
time, obviously.

-- 
Stig Sandbeck Mathisen

Reply via email to