Another approach might be to set /etc/hostname to the value from DHCP
server, and leave the current hostname alone. That would set the host
name to correct value at next boot, without any clash with netowork
manager behaviour or a running X [ and hopefully the name would not
change between reboots
*** This bug is a duplicate of bug 51315 ***
https://bugs.launchpad.net/bugs/51315
** This bug has been marked a duplicate of bug 51315
udevd: nss_ldap: failed to bind to LDAP server
--
System hangs after reboot when using LDAP for authentication
https://bugs.launchpad.net/bugs/174299