Bug 10514

Summary: Munin-node do not start because /var/run/munin/ does not exists
Product: Mageia Reporter: Olivier Thauvin <nanardon>
Component: RPM PackagesAssignee: Guillaume Rousse <guillomovitch>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: Normal CC: mageia
Version: 3Keywords: Triaged
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: munin-2.0.12-2.mga3.src.rpm CVE:
Status comment:

Description Olivier Thauvin 2013-06-13 07:33:31 CEST
Description of problem:

Munin-node store its PID into /var/run/munin/ but this directory does not exists when service is started.


Reproducible: 

Steps to Reproduce:
Manuel Hiebel 2013-06-30 11:58:09 CEST

Keywords: (none) => Triaged
Assignee: bugsquad => guillomovitch

Comment 1 David Walser 2013-08-11 01:05:26 CEST
The package does have a correct tmpfiles configuration for systemd, but the source code itself has some hard-coded references to /var/run *.  However, if I understand correctly, /var/run is supposed to be a link to /run, so this should still work just fine.  Maybe patching the references in the source to just go to /run would help, but I don't think it should be necessary.

*
node/t/munin_node_config.t
dev_scripts/stop_munin-node
dev_scripts/start_munin-node

CC: (none) => mageia

Comment 2 David Walser 2013-08-13 23:30:47 CEST
The only thing that's maybe fishy is that the munin tmpfiles thing is in the munin package instead of munin-node, but munin-node requires munin, so /run/munin should still be there.
Comment 3 Guillaume Rousse 2013-09-01 16:20:16 CEST
The report is incorrect, munin-node is properly configured to use /run/munin to store its pid file. I suspect this is an upgrade issue, caused by an outaded configuration file.

Status: NEW => RESOLVED
Resolution: (none) => INVALID