[PATCH] resolv: Mirror the entire resolver configuration in struct resolv_conf
Florian Weimer
fweimer@redhat.com
Tue Jul 4 11:57:00 GMT 2017
On 07/04/2017 01:40 PM, Andreas Schwab wrote:
> On Jul 04 2017, Florian Weimer <fweimer@redhat.com> wrote:
>
>> On 07/04/2017 12:14 PM, Andreas Schwab wrote:
>>> On Jul 04 2017, Florian Weimer <fweimer@redhat.com> wrote:
>>>
>>>> I meant a link to something like the SRPM or the source repository from
>>>> which the SRPM is built.
>>>
>>> Yes, that's exactly linked from the top (Overview etc.).
>>
>> If I do that, I end up at
>>
>> http://software.opensuse.org//download.html?project=home%3AAndreas_Schwab%3Aglibc&package=glibc
>>
>> which offers only glibc-2.22-118.1.src.rpm as the newest version.
>
> Since the build failed no srpm was created, and publishing is disabled
> anyway. If you have an OBS account you can check out the sources via
> command line.
Okay, in this case, please try the attached patch to get more logging.
It's on to of commit 89f6307c5d270ed4f11cee373031fa9f2222f2b9. (It adds
two missing conformance checks as well, but they go in the wrong
direction for this; i.e. they would cause only additional asserts.)
With the patch, I get output like this on mismatch:
Fatal glibc error: resolv.conf mismatch after loading
resolv_conf options: 0x000002c1
resolv_conf nameserver 0: [10.16.36.29]:53
resolv_conf nameserver 1: [10.11.5.19]:53
resolv_conf nameserver 2: [10.5.30.160]:53
resolv_conf search list 0: khw.lab.eng.bos.redhat.com
resolv_conf search list 1: redhat.com
resolv_conf search list 2: str.redhat.com
resolv_conf search list 3: corp.redhat.com
resolv_conf search list 4: engineering.redhat.com
resolv_conf search list 5: debian.org
resolv_conf search list 6: enyo.de
_res options: 0x000002c1
_res nscount: 2
_res nameserver 0: [10.16.36.29]:53
_res nameserver 1: [10.11.5.19]:53
_res _ext nscount: 0
_res default domain: khw.lab.eng.bos.redhat.com
_res search list 0: khw.lab.eng.bos.redhat.com
_res search list 1: redhat.com
_res search list 2: str.redhat.com
_res search list 3: corp.redhat.com
_res search list 4: engineering.redhat.com
_res search list 5: debian.org
_res nsort: 0
mismatch detected at nscount
Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-resolv-Add-logging-to-resolv_conf-processing.patch
Type: text/x-patch
Size: 9867 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170704/ca194459/attachment.bin>
More information about the Libc-alpha
mailing list