diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-11-09 16:17:56 +0100 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-11-16 13:55:10 -0800 |
commit | e2b2b1675f310023862319ea10ffd205a75cc0cb (patch) | |
tree | 0c767817aaccd89be71411d7e94db70bfa5cd5c3 /tools | |
parent | e515f4b6e25c971c47ab79e9cbdfa17119bbde23 (diff) | |
download | bluez-e2b2b1675f310023862319ea10ffd205a75cc0cb.tar.gz |
hostname: Fallback to transient hostname
After pretty hostname, and static hostname, also support transient
hostname as a last resort before 'BlueZ X.XX'.
This happens on Fedora's Workstation installation as it calls
"hostnamectl set-hostname" on startup. In Fedora Silverblue, the default
hostname is set as fedora in /etc/os-release.
In both cases, we should fall back to that transient hostname, as bad as
it could be.
Note that the transient hostname needs to be monitored through the
kernel directly, as explained in:
https://www.freedesktop.org/software/systemd/man/org.freedesktop.hostname1.html
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions