Re: message "unable to setsocketopt(IP_TOS)" in logs

Vladislav Kurz <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
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
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.