Vincent Danjean wrote: > Package: dhcdbd > Version: 2.0-1 > Severity: normal > > dhcdbd installs the file /etc/dhcp3/dhclient-exit-hooks.d/dhcdbd that > is sourced by dhclient when dhcp event occurs. > The problem is that this file uses 'exit 0' in some cases (exactly when > "(( ( dhc_dbus & 31 ) == 31 ))" is true). Is this case, > /sbin/dhclient-script exits immediately and does not process the other > scripts in /etc/dhcp3/dhclient-exit-hooks.d > > It takes me a long time before finding why gnome-network-manager does > not update my smtp server. I have a script in > /etc/dhcp3/dhclient-exit-hooks.d/ that use $new_smtp_server to call > something as 'postconf -e "relayhost=$new_smtp_server"' > > So please : > * remove this 'exit 0' in the script > * or strongly document why all dhcp scripts named after dhcdbd in > alphabetic order will not run in some cases (and which cases exactly). > > As I see no reason to forbid a 'smtp' script but not a 'asmtp' script, I > thing you really need to remove the 'exit 0'
I think 'exit_with_hooks 0' should be used. Should also work in your case. Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature

