Hello! I've also faced the bug. And it's also mentioned here: http://blog.schlomo.schapiro.org/2013/11/setting-hostname-from-dhcp-in-debian.html .
It's caused incorrect if in file /sbin/dhclient-script I've made a patch that fixed the issue for me: --- /root/dhclient-script 2016-11-20 07:05:32.145715966 +0300 +++ /sbin/dhclient-script 2016-11-20 07:31:06.581734208 +0300 @@ -98,10 +98,9 @@ if [ -z "$current_hostname" ] || [ "$current_hostname" = '(none)' ] || [ "$current_hostname" = 'localhost' ] || - [ "$current_hostname" = "$old_host_name" ]; then - if [ "$new_host_name" != "$old_host_name" ]; then - hostname "$new_host_name" - fi + ([ "$current_hostname" = "$old_host_name" ] && + [ "$new_host_name" != "$old_host_name" ]); then + hostname "$new_host_name" fi fi } Will be glad if debian includes it in a package resolving the issue. With best regards, Ivan.
signature.asc
Description: This is a digitally signed message part.