Add compat.linux.ignore_ip_recverr sysctl. This is a workaround
for missing IP_RECVERR setsockopt(2) support. Without it, DNS
resolution is broken for glibc >= 2.30 (glibc BZ #24047).
Details
Details
- Reviewers
dchagin emaste - Group Reviewers
Linux Emulation - Commits
- rS357202: Add compat.linux.ignore_ip_recverr sysctl. This is a workaround
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Why a sysctl for this one instead of just whine loudly and carry on like most other cases?
Comment Actions
Because it would be way too verbose - it’s being used all the time, every time something attempts to resolve a name. The sysctl is just a debugging aid, in case it would break some use case.
Comment Actions
(Also, I have another change that adds generic logging of unsupported options in setsockopt and getsockopt in the queue.)