Systemd-hostnamed: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * <tt>hostnamectl</tt>")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
=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=
=Internal=


* [[Linux Hostname]]
* <tt>[[hostnamectl]]</tt>
* <tt>[[hostnamectl]]</tt>
* <tt>[[hostname]]</tt>
* [[systemd]]
* [[systemctl]]
* [[NetworkManager]]
=Overview=
A system service that may be used as a mechanism to change the system's hostname. <tt>systemd-hostnamed</tt> is automatically activated on request and terminates itself when it is unused. It seem to be related to <tt>dbus-org.freedesktop.hostname1.service</tt>.
=<tt>/etc/hostname</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 dbus-org.freedesktop.hostname1.service
</pre>

Latest revision as of 04:57, 7 August 2016

External

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