Trying to set the hostname using "hostnamectl" (Xubuntu 18.04.1):
Code: Select all
$ hostnamectl set-hostname MY_HOSTNAME
[SOLUTION]Could not set property: Failed to activate service 'org.freedesktop.hostname1': timed out (service_start_timeout=25000ms)
It's weird, because executing the same command again "just worked".
The error message appeared after executing hostnamectl immediately after resuming from suspend mode. Maybe that's related
A possibly related Ansible issue?
https://github.com/ansible/ansible/issues/19814