Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378003 - net-analyzer/munin: improve support for syslog in init script
Summary: net-analyzer/munin: improve support for syslog in init script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-06 14:17 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2011-08-17 15:46 UTC (History)
2 users (show)

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


Attachments
Patch (munin-scripts.patch,2.13 KB, text/plain)
2011-08-06 14:17 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2011-08-06 14:17:51 UTC
Created attachment 282319 [details]
Patch

I'm attaching a patch to the current conf/init scripts for munin that, mostly, is supposed to improve support for syslog in munin.

First of all, it moves to the init script itself the logic to check the munin configuration (and the configuration file path is now configurable through the CFGFILE variable).

This not only allows for the PIDFILE to get found from said configuration file if not explicitly listed somewhere else (which it shouldn't), but also allows to check if "Sys::Syslog" is listed as log output, in which case the init script declares the use of the logger virtual service, so that start order is properly set.

It also drops the --quiet option since it seems to be unneeded and might mask important output on failures.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-08-17 15:46:32 UTC
+*munin-1.4.6-r2 (17 Aug 2011)
+
+  17 Aug 2011; Jeremy Olexa <darkside@gentoo.org> -munin-1.4.6-r1.ebuild,
+  +munin-1.4.6-r2.ebuild, +files/munin-1.4.6-fix-asterisk-plugins.patch,
+  +files/munin-node_conf.d_1.4.6-r2, +files/munin-node_init.d_1.4.6-r2,
+  -files/munin-node_conf.d_1.3.3-r1, -files/munin-node_init.d_1.3.3-r1,
+  metadata.xml:
+  Revision bump to fix bugs: 367785, 378583, 378003. Patches by Diego Elio
+  Pettenò