[CentOS] hostname service?

Wed Dec 30 15:50:12 UTC 2015
Nicholas Geovanis <nickgeovanis at gmail.com>

>The service you are referring to is hostnamed [1]. hostnamed is
>designed to start on request and terminate after an idle period.
>Programs on your computer are probably querying the service to
>determine if your hostname has changed.

I see that I couldn't previously find it with systemctl because it is a
"static" service, neither enabled nor disabled. What is "static" really
intended to mean here? The other static services seem to be boot-time
related for the most part, eg anaconda, pvscan....

Man for hostnamectl (also new to me) indicates some potential uses for the
hostnamed-maintained names, yet I see nothing obvious making use of that
info. Can you give me an example?
Thanks for the clues.....Nick Geovanis


>Date: Sun, 27 Dec 2015 18:14:55 -0700
>From: Brandon Vincent <Brandon.Vincent at asu.edu>
>To: CentOS mailing list <centos at centos.org>
>Subject: Re: [CentOS] hostname service?
>Message-ID:
        <CAJm423-e2+EnrDyaSvt4RKUXPsAZNbW8V9muexNAm7F150EZXQ at mail.gmail.com>
>Content-Type: text/plain; charset=UTF-8

>On Sun, Dec 27, 2015 at 4:03 PM, Nicholas Geovanis
><nickgeovanis at gmail.com> wrote:
>> On CentOS 7, I find in /var/log/messages several times daily messages
>> "localhost systemd: Started Hostname Service.". However I can't seem t>o
>> find such a service using the systemctl command. What is the >"Hostname
>> Service", what does it do and why is it being restarted frequently? Many
>> thanks....Nick

>Hi Nick,

>The service you are referring to is hostnamed [1]. hostnamed is
>designed to start on request and terminate after an idle period.
>Programs on your computer are probably querying the service to
>determine if your hostname has changed.

>This is normal behavior.

>Brandon Vincent