Systemd-hostnamed: Difference between revisions

From NovaOrdis Knowledge Base
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>]].


Also see:
=<tt>systemctl</tt>=
 
[[hostname#EtcHostname]]
 
!!!systemctl
 
{{{


<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>
}}}
 
__Referenced by:__\\
[{INSERT com.ecyrd.jspwiki.plugin.ReferringPagesPlugin WHERE max=20, maxwidth=50}]

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