[pkg-dhcp-devel] Bug#604883:

Pavel Cahyna pavel-debbugs at pac.chapadla.cz
Wed Jul 8 17:37:45 UTC 2015


Hello,

could somebody please apply the fix mentioned in the previous message?

The corresponding patch is

--------->8-------------
--- /sbin/dhclient-script.dist  2015-05-01 21:44:21.000000000 +0200
+++ /sbin/dhclient-script       2015-07-07 16:49:37.452262046 +0200
@@ -143,7 +143,7 @@
            [ "$current_hostname" = '(none)' ] ||
            [ "$current_hostname" = 'localhost' ] ||
            [ "$current_hostname" = "$old_host_name" ]; then
-           if [ "$new_host_name" != "$old_host_name" ]; then
+           if [ "$new_host_name" != "$current_host_name" ]; then
                hostname "$new_host_name"
            fi
         fi
--------->8-------------

I am using the fix successfully in Ubuntu 14.04.

Regards, Pavel



More information about the pkg-dhcp-devel mailing list