[collectd] Can't run collectd as unprivileged user in network mode

Ruben Kerkhof ruben at rubenkerkhof.com
Fri Dec 14 17:14:47 CET 2018

On Fri, Dec 14, 2018 at 4:52 PM George <izghitu at gmail.com> wrote:

> Hi,
> Ok, I was able to fix this by removing the Interface option from the
> Listen config. Not sure why but if I specify it manually it will not work.
> However listening on all interfaces works just fine.

If you specify a specific interface we set the SO_BINDTODEVICE option on
the socket. That fails because that requires CAP_NET_RAW under Linux.
Since you've specified a specific IP collectd binds to that ip and all
should work fine.

Kind regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20181214/91d64f11/attachment.html>

More information about the collectd mailing list