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 2>&1
        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 2>&1
        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

Reply via email to