[Bug 994227] Re: madwimax stops dhclient non-gracefully, leaving behind invalid nameserver addresses
Brian Murray
brian at ubuntu.com
Fri Mar 8 17:34:55 UTC 2013
The version of madwimax in precise-proposed has been removed as the bugs
it was fixing (including this one) were not verified in a timely
fashion.
** Tags removed: verification-needed
** Tags removed: removal-candidate
** Changed in: madwimax (Ubuntu Precise)
Status: Fix Committed => Triaged
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to resolvconf in Ubuntu.
https://bugs.launchpad.net/bugs/994227
Title:
madwimax stops dhclient non-gracefully, leaving behind invalid
nameserver addresses
Status in “madwimax” package in Ubuntu:
Fix Released
Status in “resolvconf” package in Ubuntu:
Invalid
Status in “madwimax” source package in Precise:
Triaged
Status in “resolvconf” source package in Precise:
Invalid
Status in “madwimax” source package in Quantal:
Fix Released
Status in “resolvconf” source package in Quantal:
Invalid
Bug description:
[rationale]
Using madwimax on >= 12.04 causes entries in /etc/resolv.conf to stay around even after disconnecting as dhclient isn't properly killed.
[test case]
1) connect to a wimax network
2) disconnect
3) check that the DNS server isn't in /etc/resolv.conf
[regression potential]
None that I can think of, the fix is a copy/paste from the dhclient3 line which worked.
While resolvconf daemon is running, I cannot use the network, because my resolv.conf file is filled with invalid nameservers soon after connection:
========================== bash session: ==========================
# service resolvconf status
resolvconf start/running
# file /etc/resolv.conf
/etc/resolv.conf: symbolic link to `../run/resolvconf/resolv.conf'
# export LC_ALL=C;\
date;\
dhclient wlan0;\
cat /etc/resolv.conf;\
date;\
inotifywait /etc/resolv.conf;\
date;\
cat /etc/resolv.conf
Fri May 4 00:50:48 MSK 2012
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service smbd reload
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the reload(8) utility, e.g. reload smbd
RTNETLINK answers: File exists
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.129.129
nameserver 8.8.8.8
nameserver 94.25.128.74
Fri May 4 00:50:50 MSK 2012
Setting up watches.
Watches established.
/etc/resolv.conf OPEN
Fri May 4 00:52:44 MSK 2012
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 94.25.128.74
nameserver 94.25.208.74
=============================================================================
To clarify servers:
192.168.129.129 is my ISP DNS
8.8.8.8 backup server configured in my router
94.25.128.74… first wimax0 DNS, invalid in my current wlan0 network
# cat /run/resolvconf/interface/wimax0.dhclient
nameserver 94.25.128.74
nameserver 94.25.208.74
# ifconfig wimax0
wimax0: error fetching interface information: Device not found
# ifdown wimax0
ifdown: interface wimax0 not configured
The delay until resolv.conf gets corrupted is not constant at all, sometimes it's as small as 3 seconds. one time is was 13 seconds.
If I reconnect and shut down resolvconf, I get a working network without any problems. This behavior seems to be a regression after apt-get upgrade from ubuntu 11.10 and seems to be a blocker to an ordinary user, since the network is effectively unusable.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: resolvconf 1.63ubuntu12
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Thu May 3 23:57:11 2012
PackageArchitecture: all
ProcEnviron:
LANGUAGE=
TERM=xterm
PATH=(custom, user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: resolvconf
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/madwimax/+bug/994227/+subscriptions
More information about the foundations-bugs
mailing list