I've located the problem now.

When run from the command line, dhclient uses the script in /sbin
/dhclient-scripts to execute the scripts located in the '/etc/dhcp3
/dhclient-exit-hooks.d' and '/etc/dhcp3/dhclient-enter-hooks.d'
directories.

network-manager calls dhclient with the parameter -sf LIBEXECDIR "/nm-
dhcp-client.action" (translates to '/usr/lib/NetworkManager/nm-dhcp-
client.action'), which does something else and the scripts are not
executed.

(source code location: nm-dhcp-dhclient.c:251)

As far as I can see in the code, it is necessary for proper handling in
network manager.

It would be nice to have an interface to allow enter and exit hooks for
dhclient like it was possible before.

-- 
network-manager not restarting ntp daemon
https://bugs.launchpad.net/bugs/267891
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to