Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146429 - net-analyzer/munin - differentiate between munin, and a munin-node
Summary: net-analyzer/munin - differentiate between munin, and a munin-node
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-05 12:08 UTC by Calum
Modified: 2006-09-27 18:00 UTC (History)
1 user (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 Calum 2006-09-05 12:08:12 UTC
Munin needs to have a use flag to differ a "collector" node and just a "node" node.

Perhaps "munin-node-only"?

This is to not bother installing rrdtool, libpng, gd etc, which people wouldn't want on the majority of machines that are being monitored.

I don't know what the right terms are - node and collector - but I hope that you understand what I'm trying to say.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-09-05 13:52:59 UTC
Please look at the original munin bug, and see this comment I have in the ebuild:
# Upstream's listing of required modules is NOT correct!

rrdtool is the only item in the DEPEND list that could even be considered for a split, but some of the munin-node modules DO actually need rrdtool (due to weird Perl inclusion paths), so it's not safe to remove it.

libpng and gd are commonly found on webservers (munin nodes) anyway, so this isn't a big increase in dependancies either.
Comment 2 Calum 2006-09-06 09:28:59 UTC
"libpng and gd are commonly found on webservers (munin nodes) anyway, so this
isn't a big increase in dependancies either."

Who says the boxes I am monitoring are webservers?
You do realise that it's meant to have one collector node (with webserver), and one/many nodes being monitored?
I monitor firewalls, file servers, dns servers etc.
None of these run Apache, and I would personally prefer not to have to install the following unless really necessary:

Calculating dependencies ...done!
[ebuild  N    ] dev-perl/DateManip-5.44
[ebuild  N    ] dev-perl/Crypt-DES-2.05
[ebuild  N    ] dev-perl/Net-SNMP-5.2.0
[ebuild  N    ] virtual/perl-Text-Balanced-1.95
[ebuild  N    ] virtual/perl-Getopt-Long-2.35
[ebuild  N    ] media-libs/gd-2.0.33
[ebuild  N    ] media-libs/libpng-1.2.12-r1
[ebuild  N    ] media-libs/freetype-2.1.10-r2
[ebuild  N    ] dev-libs/cgilib-0.5
[ebuild  N    ] media-libs/libart_lgpl-2.3.17
[ebuild  N    ] net-analyzer/rrdtool-1.2.6-r1
[ebuild  N    ] dev-perl/IO-Multiplex-1.08
[ebuild  N    ] dev-perl/net-server-0.94
[ebuild  N    ] dev-perl/HTML-Template-2.8
[ebuild  N    ] net-analyzer/munin-1.3.2

That's a lot of unneccessary webby/html stuff for something that just needs net-server and plugins.

I can't comment about the rrdtool, but I thought it was related to storing data/generating graphs, both of which occur on the collector.

Reopening bug to get answer.. :)
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-09-07 18:11:43 UTC
I've added -r1 presently, but please CHECK it - I do expect it to fall over in some places, and I can't setup a chroot without rrdtool presently.
Comment 4 Calum 2006-09-09 06:56:38 UTC
I'm finding out that it's not setgiding properly, even if user root is set in munin-conf.d, it still runs as root/munin.

Could this be related to this?
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-09-27 18:00:13 UTC
i haven't had any setgid problems at all.
could you please open a new bug for the issue?