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.

http://bugs.gentoo.org/181029

____

ChangeLog:
03 Jun 2007; Doug Goldstein <car...@gentoo.org> lm_sensors-2.10.3.ebuild: Add missing depend.
decode-edid.pl needs parse-edid from x11-misc/read-edid
____

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...

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...

Jarry

--
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.

Reply via email to