Systemd-hostnamed: Difference between revisions
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
=Internal= | =Internal= | ||
* [[Linux Hostname]] | |||
* <tt>[[hostnamectl]]</tt> | * <tt>[[hostnamectl]]</tt> | ||
* <tt>[[hostname]]</tt> | * <tt>[[hostname]]</tt> | ||
Line 19: | Line 20: | ||
=<tt>/etc/hostname</tt>= | =<tt>/etc/hostname</tt>= | ||
The daemon writes (overwrites) <tt>/etc/hostname</tt> via <tt>[[hostnamectl]]</tt>. | The daemon writes (overwrites) <tt>/etc/hostname</tt> via <tt>[[hostnamectl]]</tt>. Also see [[Linux_Hostname#.2Fetc.2Fhostname|Linux Hostname <tt>/etc/hostname</tt>]]. | ||
=<tt>systemctl</tt>= | |||
<pre> | |||
systemctl status systemd-hostnamed.service | systemctl status systemd-hostnamed.service | ||
systemctl status dbus-org.freedesktop.hostname1.service | systemctl status dbus-org.freedesktop.hostname1.service | ||
</pre> | |||
Latest revision as of 04:57, 7 August 2016
External
- http://www.freedesktop.org/wiki/Software/systemd/hostnamed/
- http://man7.org/linux/man-pages/man8/systemd-hostnamed.8.html
- http://man7.org/linux/man-pages/man1/hostnamectl.1.html
Internal
Overview
A system service that may be used as a mechanism to change the system's hostname. systemd-hostnamed is automatically activated on request and terminates itself when it is unused. It seem to be related to dbus-org.freedesktop.hostname1.service.
/etc/hostname
The daemon writes (overwrites) /etc/hostname via hostnamectl. Also see Linux Hostname /etc/hostname.
systemctl
systemctl status systemd-hostnamed.service systemctl status dbus-org.freedesktop.hostname1.service