Hi, On Sat, Jan 28, 2017 at 11:35:03AM +0100, Marc Fournier wrote: > On Thu, Jan 26, 2017 at 08:05:06AM +0000, Jan Huijsmans wrote: > > Installation of collectd fails on the start of the package. > > The package misses files from libsensors4 liboping0, but these > > packages are only recommended or even suggested. > > The configuration file shipped with the collectd package only loads these > plugins by default: > > marc@lonquimay:~/src/pkg-collectd/debian$ grep ^LoadPlugin collectd.conf > LoadPlugin syslog > LoadPlugin battery > LoadPlugin cpu > LoadPlugin df > LoadPlugin disk > LoadPlugin entropy > LoadPlugin interface > LoadPlugin irq > LoadPlugin load > LoadPlugin memory > LoadPlugin processes > LoadPlugin rrdtool > LoadPlugin swap > LoadPlugin users > > None of them depend on libsensors4 or liboping0 (the sensors and ping > plugins do, but they aren't enabled by default). > > So my guess is that this system previously had a non-default configuration > (maybe some config snippets in /etc/collectd/collectd.conf.d/ ?) in place, > and installing/upgrading collectd-core made the missing runtime > dependencies strike out. > > Are you able to confirm ?
That's my guess as well. > NB: I agree such a failure is undesirable. The collectd plugin loading > mechanism could maybe be changed to not abort startup in this case (just > skip loading the plugin and emit an error message). I think I disagree. Daemon startup should imho fail so that people actually notice. Else, you'll be left with a running daemon that does not behave as expected / configured. That said, I'd be happy if we could improve the overall situation. It keeps coming up but I don't have a good idea for how to solve it yet :-/ Cheers, Sebastian -- Sebastian "tokkee" Harl +++ GnuPG-ID: 0x2F1FFCC7 +++ http://tokkee.org/ Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
signature.asc
Description: Digital signature