message "unable to setsocketopt(IP_TOS)" in logs

Vladislav Kurz vladislav.kurz at webstep.net
Fri Feb 16 06:55:33 EST 2018


On 02/16/18 12:42, Adam Tauno Williams wrote:
> On Fri, 2018-02-16 at 08:55 +0100, Chentao Credungtao via Info-cyrus
> wrote:
>> cyrus/master[7082]: unable to setsocketopt(IP_TOS) service
>> lmtpunix/unix: Operation not supported 
>> cyrus/master[7082]: unable to setsocketopt(IP_TOS) service
>> notify/unix: Operation not supported 

Hello all,

I see this too.

> If you want to dig further you will have to try to grant the process
> the CAP_NET_ADMIN capability, which might make it work.
> 
> Capabilities are what allow you to do things like run ping as non-root.
> 
> # sudo getcap /usr/bin/ping
> /usr/bin/ping = cap_net_raw+ep
> 
> So you can add the capability to the Cyrus binaries if it is important
> to you;  provided the feature is supported in the underlying OS.

Is there a way to tell cyrus not to try to setsocketopt ? (Instead of
allowing it to do that?) I don't need the ToS bits to be set in any way


-- 
Best Regards
        Vladislav Kurz


More information about the Info-cyrus mailing list