Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358605 - net-analyzer/munin - munin-node seems not to take pid_file directive of its conf file into account
Summary: net-analyzer/munin - munin-node seems not to take pid_file directive of its c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-12 20:20 UTC by Plopmaster
Modified: 2011-03-16 06:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Plopmaster 2011-03-12 20:20:18 UTC
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
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-03-16 04:02:44 UTC
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.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-03-16 06:29:57 UTC
Fixed in 1.4.5-r2