Just give warning log when failing to update hostname.

Signed-off-by: apporc <appleorchard2000@gmail.com>