public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/984] New: Respond to changed resolv.conf in gethostbyname
@ 2005-05-31 14:37 Martin dot vGagern at gmx dot net
  2005-05-31 14:40 ` [Bug libc/984] " jakub at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Martin dot vGagern at gmx dot net @ 2005-05-31 14:37 UTC (permalink / raw)
  To: glibc-bugs

I've got a notebook and start an OpenVPN daemon at boot time, but lacking a dns
server it cannot connect. When I get some kinf of network connection by plugging
in an ethernet cable or coming near some WLAN access point, my network is
reconfigured and all newly started processes work well enough. But processes
started before the resolv.conf was changed have to be restarted by root which is
really annoying, especially if they maintain some kind of state while running.

This was just one example, I believe there might be many more programs around
with this kind of problem, e.g. nscd. So I make this a feature request. I'm
suprised I could not find this around already.

Possible solutions:
* reread resolv.conf every time some name is resolved
* check modification time of resolv.conf every time a name is resolved
* reread resolv.conf if a nameserver does not respond
* reread resolv.conf if cached dns ip is more than t seconds old
* include some explicit "reread now" command for such daemons
* ... to be combined and continued

-- 
           Summary: Respond to changed resolv.conf in gethostbyname
           Product: glibc
           Version: 2.3.5
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: Martin dot vGagern at gmx dot net
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sources.redhat.com/bugzilla/show_bug.cgi?id=984

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-08-24  9:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-984-131@http.sourceware.org/bugzilla/>
2015-04-20  7:28 ` [Bug libc/984] Respond to changed resolv.conf in gethostbyname fweimer at redhat dot com
2015-05-15 20:37 ` fweimer at redhat dot com
2015-06-04 20:37 ` karl at thefrenches dot us
2015-06-04 20:57 ` fweimer at redhat dot com
2015-06-04 23:50 ` carlos at redhat dot com
2015-06-05  7:18 ` fweimer at redhat dot com
2015-06-05 13:04 ` carlos at redhat dot com
2015-08-24  9:43 ` [Bug network/984] " jsm28 at gcc dot gnu.org
2005-05-31 14:37 [Bug libc/984] New: " Martin dot vGagern at gmx dot net
2005-05-31 14:40 ` [Bug libc/984] " jakub at redhat dot com
2006-02-07  7:57 ` dearvoid at 263 dot net
2006-04-25 17:59 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).