Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#15320 - [glibc] should re-read resolv.conf before each resolving [patch included]
Attached to Project:
Arch Linux
Opened by Tomas Mudrunka (harvie) - Tuesday, 30 June 2009, 12:19 GMT
Last edited by Allan McRae (Allan) - Tuesday, 30 June 2009, 14:03 GMT
Opened by Tomas Mudrunka (harvie) - Tuesday, 30 June 2009, 12:19 GMT
Last edited by Allan McRae (Allan) - Tuesday, 30 June 2009, 14:03 GMT
|
DetailsDescription: Programs should reload /etc/resolv.conf when it changes
more info (+patch) here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=272265 in short: sometimes this causes need to restart some appliactions even some network daemons. in arch i had problems for example with: firefox, totem, pidgin, miredo (1st 3 apps were problematic only without networkmanager) Additional info: * package version(s) -- core/glibc 2.10.1-2 (base) * config and/or log files etc. Steps to reproduce: 1.) launch some application when connected to network 2.) connect to another network with different dns server ipaddress (and edit /etc/resolv.con properly) or 1.) connect with networkmanager to some network 2.) launch some network application without networkmanager support 3.) connect to another network with different dns server ipaddress |
This task depends upon
Closed by Allan McRae (Allan)
Tuesday, 30 June 2009, 14:03 GMT
Reason for closing: Won't fix
Additional comments about closing: See comments
Tuesday, 30 June 2009, 14:03 GMT
Reason for closing: Won't fix
Additional comments about closing: See comments
Cite manpage:
The daemon will try to watch for changes in configuration files appropriate for each database (e.g. /etc/passwd for the passwd database or
/etc/hosts and /etc/resolv.conf for the hosts database), and flush the cache when these are changed. However, this will happen only after a
short delay (unless the inotify(7) mechanism is available and glibc 2.9 or later is available), and this auto-detection does not cover configura-
tion files required by non-standard NSS modules, if any are specified in /etc/nsswitch.conf. In that case, you need to run the following command
after changing the configuration file of the database so that nscd invalidates its cache:
$ nscd -i <database>