Bug 14953 - Backport needed: Fix resolv_wrapper with glibc 2.34
Summary: Backport needed: Fix resolv_wrapper with glibc 2.34
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Test infrastructure (show other bugs)
Version: 4.15.4
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jule Anger
QA Contact: Samba QA Contact
Depends on:
Reported: 2022-01-20 08:57 UTC by Pavel Filipenský
Modified: 2022-01-21 14:40 UTC (History)
2 users (show)

See Also:

patch for 4.15 (2.62 KB, patch)
2022-01-20 09:51 UTC, Andreas Schneider
ab: review+

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Filipenský 2022-01-20 08:57:02 UTC
Please backport to samba 4.15.x commit e556b4067e0c4036e20fc26523e3b4d6d5c6be42
delivering this fix:

With glibc 2.34 we are not able to talk to the DNS server via socket_wrapper                                                                                                                                                              
anymore. The res_* symbols have been moved from libresolv to libc. We are not                                                                                                                                                             
able to intercept any traffic inside of libc.
Comment 1 Andreas Schneider 2022-01-20 09:51:33 UTC
Created attachment 17107 [details]
patch for 4.15
Comment 2 Alexander Bokovoy 2022-01-20 10:10:22 UTC
Comment on attachment 17107 [details]
patch for 4.15

Comment 3 Andreas Schneider 2022-01-20 10:11:13 UTC
Jule, please apply the patch to 4.15. Thanks!
Comment 4 Jule Anger 2022-01-21 09:52:29 UTC
Pushed to autobuild-v4-15-test.
Comment 5 Jule Anger 2022-01-21 14:40:32 UTC
Bug-Tag was missing, so Samba QA Contact can not print the reference with the hash.

Closing out bug report.