On 8/23/2009 8:45 AM, Jarry wrote:
Albert Hopkins wrote:
On Sun, 2009-08-23 at 09:42 +0200, Jarry wrote:
____________________________

# emerge --pretend lm_sensors
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] sys-fs/sysfsutils-2.1.0
[ebuild N ] x11-misc/read-edid-1.4.2
[ebuild N ] sys-apps/lm_sensors-2.10.7 USE="-sensord"
____________________________

What is that x11-misc/read-edid good for? I do not want to pull
the whole x11 stuff with it, as this is a server with no graphics.

I agree with the original poster of this "resolved" bug:
pulling in x11-stuff to server just to be able to monitor
its temperatures is simply dangerous and risky...

read-edid is only tangentially related to X. It doesn't use any X libraries, or even require X to be installed to run. It perhaps shouldn't even be in the x11-misc category, but that's entirely cosmetic.

Also, I noted that lm_sensors-3.0 doesn't have this dependency anymore, so it looks like it was handled upstream.

Next, I want to use sensord for monitoring, so I modified
package.use and tried it once more:
____________________________

# echo "sys-apps/lm_sensors sensord" >> /etc/portage/package.use
# emerge --pretend lm_sensors
These are the packages that would be merged, in order:
Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy
">=x11-libs/cairo-1.4.6[svg]".
!!! One of the following packages is required to complete your request:
- x11-libs/cairo-1.8.6-r1 (Change USE: +svg)
(dependency required by "net-analyzer/rrdtool-1.3.8" [ebuild])
(dependency required by "sys-apps/lm_sensors-2.10.7" [ebuild])
(dependency required by "lm_sensors" [argument])
____________________________

Now I do not understand it at all. Why rrdtool? All I want
to use sensord for is to have some status messages recorded
to syslog. Why should I install that x11-libs/cairo graphics
library and rrdtool stuff???

Likely sensord does a lot more than recording to syslog.

man sensord:

DESCRIPTION
Sensord is a daemon that can be used to periodically log
sensor readings from hardware health-monitoring chips to
syslog(3) ***OR*** a round-robin database (RRD) and to alert
when a sensor alarm is signalled; for example, if a fan fails,
a temperature limit is exceeded, etc.

You see that big fat ***OR*** there? syslog or RRD. And I think
even gentoo-user should have the right to choose what he wants
to do with those sensor-readings. Definitelly I'm against any
x11-libs on my server, be it x11-misc/read-edid or x11-libs/cairo.

BTW, sensord can write data to round-robin database even if no
rrd-tool is installed. There's no need to put net-analyzer/rrdtool
as a dependency...

Tell that to the upstream:

make: *** No rule to make target `rrd.h', needed by `prog/sensord/rrd.rd'. Stop.

--Mike

Reply via email to