Hello! This is on an OpenBSD 3.7-release, freshly upgraded (in fact, reinstalled and merged etc and so on).
If I include an alias directive in /etc/dhclient.conf, dhclient exits after having acquired a lease, the syslog messages are like this: Oct 31 02:48:27 mamba dhclient[29778]: bound to 82.212.35.55 -- renewal in 1800 seconds. Oct 31 02:48:27 mamba dhclient[23056]: connection closed Oct 31 02:48:27 mamba dhclient[23056]: exiting. There's no intervening message, even after changing syslog.conf to log daemon.debug, too. The message connection closed seems to come from the privsep code. If I remove the alias directive, it works and continues running in the background. However, I need the alias thing, and it's a documented feature. Same woe when I remove the alias directive from dhclient.conf and instead adding the alias manually using ifconfig ne0 alias ... In the very moment I add the alias, dhclient exists with the "connection closed" and "exiting" messages in /var/log/daemon. And same thing if I add the alias from /etc/hostname.ne0 in a second line after the line saying dhcp. So seems the dhclient privsep code fails when dhclient "notices" either the alias addition itself, or an associated routing table change. Current workaround is restarting dhclient from crontab every 15 minutes, but that's no good thing having that forever. Kind regards, Hannah.