--- /home/mark/Desktop/sbin.dhclient.orig 2009-02-20 06:50:21.000000000 +0000 +++ sbin.dhclient3 2009-02-21 09:32:16.000000000 +0000 @@ -27,6 +27,9 @@ /var/lib/dhcp3/dhclient* lrw, /var/run/dhclient*.pid lrw, /var/run/nm*conf r, + # when dhclient is being run by connman, it uses these locations + /var/run/connman/dhclient*.pid lrw, + /var/run/connman/dhclient*.leases lrw, # if there is a custom script, let it run unconfined /etc/dhcp3/dhclient-script Uxr, @@ -34,6 +37,8 @@ # run under its own profile, and clean the environment /sbin/dhclient-script Pxr, /usr/lib/NetworkManager/nm-dhcp-client.action Pxr, + # connman ships its own dhclient scripts + /usr/lib/connman/scripts/dhclient-script Pxr, } /sbin/dhclient-script { @@ -54,3 +59,9 @@ /usr/lib/NetworkManager/nm-dhcp-client.action mr, } +# this is a dhclient-script shipped by connman, that is a binary +/usr/lib/connman/scripts/dhclient-script { + /usr/lib/connman/scripts/dhclient-script mr, + #include +} +