[Bug 105251] Re: NetworkManager wrongly releases DHCP IP

Marius Gedminas marius at pov.lt
Mon Jan 5 13:23:08 GMT 2009


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
Server Team, which is subscribed to dhcp3 in ubuntu.



More information about the Ubuntu-server-bugs mailing list