[collectd] Debian, collectd hostname lookup

Melkor Lord melkor.lord at gmail.com
Tue Apr 7 09:37:58 CEST 2015

On Tue, Mar 31, 2015 at 6:29 PM, Mihamina Rakotomandimby <
mihamina.rakotomandimby at rktmb.org> wrote:

 On Debian, at post-install, Collectd is fired up.
> If Collectd ever fails to lookup its IP adress from its hostname, the
> service startup fails and thus the package install.

On your machines create a simple script which exits with return code 101
and place it in /usr/sbin/policy-rc.d

With that, any installation of a service makes post-install script to not
start them up. This allows you post install customization before actually
activating the service for real.

man invoke-rc.d for further details.

Unix _IS_ user friendly, it's just selective about who its friends are.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20150407/2d72dfdf/attachment.html>

More information about the collectd mailing list