Just a comment: 'exit' is not the only way to terminate a shell script
prematurely; if any of the scripts call 'set -e' and then any of the
commands executed after that fails (i.e. returns a non-zero exit code)
the script will terminate.

I would suggest the same debugging technique: adding

  exec >> /tmp/dhcp.debug 2>&1
  set -x

somewhere near the top of the first dhclient exit hook, and then looking
at the execution log in /tmp/dhcp.debug to see whether the dbus-send
command from /etc/dhcp3/dhclient-exit-hooks.d/zzzz_dhcdbd got executed
or not.

-- 
NetworkManager wrongly releases DHCP IP
https://bugs.launchpad.net/bugs/105251
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to