[Bug 994227] Re: Nameserver list incorrect when using madwimax and resolvconf

2012-05-08 Thread Thomas Hood
Egor: Thanks for the additional information.

The culprit is /etc/madwimax/event.sh which doesn't stop dhclient
gracefully.  Here's a snippet showing the handling of dhclient3 and
dhclient (version 4).

[...]
if-up)
if [ -x /sbin/dhclient3 ]; then
/sbin/dhclient3 -nw -pf /var/run/dhclient.$2.pid -lf 
/var/lib/dhcp3/dhclient.$2.leases $2 /dev/null 21
elif [ -x /sbin/dhclient ]; then
/sbin/dhclient -pf /var/run/dhclient.$2.pid -lf 
/var/lib/dhcp/dhclient.$2.leases $2
[...]
if-down)
if [ -x /sbin/dhclient3 ]; then
/sbin/dhclient3 -r -pf /var/run/dhclient.$2.pid -lf 
/var/lib/dhcp3/dhclient.$2.leases $2 /dev/null 21
elif [ -x /sbin/dhclient ]; then
kill -TERM $(cat /var/run/dhclient.$2.pid)

On the last line, not kill, but dhclient -r should be used, as in
the /sbin/dhclient3 case.

** Summary changed:

- Nameserver list incorrect when using madwimax and resolvconf
+ madwimax stops dhclient non-gracefully, leaving behind invalid nameserver 
addresses

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/994227

Title:
  madwimax stops dhclient non-gracefully, leaving behind invalid
  nameserver addresses

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/madwimax/+bug/994227/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 994227] Re: Nameserver list incorrect when using madwimax and resolvconf

2012-05-07 Thread Thomas Hood
** Summary changed:

- resolvconf breaks name resolution when using madwimax
+ Nameserver list incorrect when using madwimax and resolvconf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/994227

Title:
  Nameserver list incorrect when using madwimax and resolvconf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/madwimax/+bug/994227/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 994227] Re: Nameserver list incorrect when using madwimax and resolvconf

2012-05-07 Thread Egor
The file wlan0.dhclient now does not disappear.Seems, that annoying bug
does not affect me anymore.

Anyway, I have the file wimax0.dhclient still existing, even though my
wimax modem is plugged off with no dhclient left for wimax0, and no
madwimax process running:

$ ps aux | egrep '(dhcl|wimax)'
root  5236  0.0  0.0   7256   608 ?Ss   20:02   0:00 /sbin/dhclient 
-v wlan0
gluk47   12679  0.0  0.0   9336   924 pts/3S+   20:14   0:00 egrep 
--color=auto (dhcl|wimax)
$ cd /run/resolvconf/interface
$ ls *.dhclient
wimax0.dhclient  wlan0.dhclient

Seems, it's really madwimax problem, it should tell dhclient to remove
this file when it's no longer needed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/994227

Title:
  Nameserver list incorrect when using madwimax and resolvconf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/madwimax/+bug/994227/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs