maemo.org Bugzilla – Bug 10270
DHCP does not seem to create /etc/resolv.conf
Last modified: 2010-05-28 18:30:28 UTC
You need to log in before you can comment on or make changes to this bug.
SOFTWARE VERSION: 3.2010.02-8 EXACT STEPS LEADING TO PROBLEM: 1. Connect to some network 2. Observe /etc/resolv.conf 3. Does not appear 4. Instead I've /var/run/resolv.conf.gprs or .wlan EXPECTED OUTCOME: resolv.conf should be symlinked to /var/run/ REPRODUCIBILITY: Well, ok, while not observing this problem after a fresh install, it started ocurring reproducably after installing several (essential) apps from maemo.org. Patching /etc/maemo-dhcp.d/50_ipv4_network_setup so that a symlink is created fixes the problem for wlan0 but not quite for gprs0: --- new 2010-05-25 17:47:32.000000000 +0200 +++ original:/etc/maemo-dhcp.d/50_ipv4_network_setup 2009-11-03 14:41:05.000000000 +0100 @@ -55,8 +55,6 @@ done mv $RESOLV_CONF.tmp $RESOLV_CONF - rm -f /etc/resolv.conf - ln -s $RESOLV_CONF /etc/resolv.conf # Clear dnsmasq cache after getting new nameservers kill -SIGHUP `pidof dnsmasq` EXTRA SOFTWARE INSTALLED: a lot of OTHER COMMENTS: Sorry for messing around User-Agent: Mozilla/5.0 (compatible; Konqueror/4.4; Linux) KHTML/4.4.3 (like Gecko)
Good news: Upgrading to PR2 overwrote my patches and fixed the issue. So, libicd-network-ipv4-0.25+0m5 fixes my issue. M.
Ah, nice! Thanks for updating :)