Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27326 - process `syslogd' is using obsolete setsockopt SO_BSDCOMPAT
Summary: process `syslogd' is using obsolete setsockopt SO_BSDCOMPAT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-25 16:41 UTC by Alex Riesen
Modified: 2003-10-05 07:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The patch just comments out the code. (xxx,587 bytes, patch)
2003-08-25 16:42 UTC, Alex Riesen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Riesen 2003-08-25 16:41:12 UTC
2.5 and higher kernel produce this message in logs:
kernel: process `syslogd' is using obsolete setsockopt SO_BSDCOMPAT

The functionality under the option is known to be obsoleted,
and simply commenting out the code is used to just get rid of the
message.

See:
http://marc.theaimsgroup.com/?l=linux-kernel&m=105793254521769&w=2
http://marc.theaimsgroup.com/?l=linux-kernel&m=90745745517338&w=2

Also looking up Google for SO_BSDCOMPAT reveals a lot.

May I suggest to put a patch in the Gentoo tree until mainstream fixed?
Something like the path at the bottom of the message, at least.
Please note, that it does not fix the application, merely shuts up the
warning. The proper way to go would be to make complete error
handling of the receiving code of the syslog dgrams.


Reproducible: Always
Steps to Reproduce:
just run it.
Comment 1 Alex Riesen 2003-08-25 16:42:21 UTC
Created attachment 16616 [details, diff]
The patch just comments out the code.
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-05 07:11:49 UTC
already fixed...