Re: [CentOS] hostname service?

2015-12-30 Thread Nicholas Geovanis
>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.vinc...@asu.edu>
>To: CentOS mailing list <centos@centos.org>
>Subject: Re: [CentOS] hostname service?
>Message-ID:
<cajm423-e2+enrdyasvt4rkuxpsaznbw8v9muexnam7f150e...@mail.gmail.com>
>Content-Type: text/plain; charset=UTF-8

>On Sun, Dec 27, 2015 at 4:03 PM, Nicholas Geovanis
><nickgeova...@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
>> thanksNick

>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
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] hostname service?

2015-12-30 Thread Brandon Vincent
On Wed, Dec 30, 2015 at 8:50 AM, Nicholas Geovanis
 wrote:
> 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

A "static" service is basically one that can't be disabled. It is
statically enabled by being referenced in a systemd target.

> 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

freedesktop.org has some examples of when and why the different
hostnames would be used and how they're generated when the user
doesn't provide more than the traditional static hostname [1].

Brandon Vincent

[1] http://www.freedesktop.org/wiki/Software/systemd/hostnamed/
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] hostname service?

2015-12-27 Thread Brandon Vincent
On Sun, Dec 27, 2015 at 4:03 PM, Nicholas Geovanis
 wrote:
> On CentOS 7, I find in /var/log/messages several times daily messages
> "localhost systemd: Started Hostname Service.". However I can't seem to
> 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
> thanksNick

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

[1] http://www.freedesktop.org/wiki/Software/systemd/hostnamed/
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos