Summary: | no fallback to nameserver 0.0.0.0 if /etc/resolv.conf is missing | ||
---|---|---|---|
Product: | glibc | Reporter: | Aurelien Jarno <aurelien> |
Component: | libc | Assignee: | Ulrich Drepper <drepper.fsp> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | glibc-bugs |
Priority: | P2 | Flags: | fweimer:
security-
|
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | x86_64-unknown-linux-gnu | Target: | x86_64-unknown-linux-gnu |
Build: | x86_64-unknown-linux-gnu | Last reconfirmed: | |
Attachments: |
Patch to fix the problem
New patch alternative patch |
Description
Aurelien Jarno
2009-10-26 17:38:25 UTC
Created attachment 4322 [details]
Patch to fix the problem
Created attachment 4369 [details]
New patch
The previous patch does not work in case /etc/resolv.conf exists, but does not
contain a nameserver entry. This new patch also takes that into account.
Created attachment 4402 [details]
alternative patch
Oops, I haven't noticed you already implemented a fix; anyway, here's what I've
done independently, somewhat simpler patch. YMMV.
I checked in a different patch. (In reply to comment #5) > I checked in a different patch. ... but broken what. You forget to set statp->nscount to 1, so it doesn't work. Fixed in Git now for good, hopefully. *** Bug 260998 has been marked as a duplicate of this bug. *** Seen from the domain http://volichat.com Page where seen: http://volichat.com/adult-chat-rooms Marked for reference. Resolved as fixed @bugzilla. |