Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #265813

Re: Temporary failure in name resolution

From Max Nikulin <manikulin@gmail.com>
Newsgroups linux.debian.user
Subject Re: Temporary failure in name resolution
Date 2024-01-12 04:10 +0100
Message-ID <HVg5H-2urp-3@gated-at.bofh.it> (permalink)
References (3 earlier) <HULOh-2biw-1@gated-at.bofh.it> <HUMqZ-2bLR-1@gated-at.bofh.it> <HUNn3-2ckY-11@gated-at.bofh.it> <HUTLP-2gSH-1@gated-at.bofh.it> <HUTVv-2gVN-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/01/2024 10:19, Greg Wooledge wrote:
> On Thu, Jan 11, 2024 at 10:10:43AM +0700, Max Nikulin wrote:
>> On 11/01/2024 03:25, Greg Wooledge wrote:
>>> On Wed, Jan 10, 2024 at 07:19:41PM +0000, Rodolfo Medina wrote:
>>>> Greg Wooledge <greg@wooledge.org> writes:
>>>>
>>>>> What is the output of "grep -F $(hostname) /etc/hosts"?
>>>>
>>>>    127.0.1.1       caterina-thinkpad.home  caterina-thinkpad

>> I would say that it is better to fix discrepancy between (likely)
>> /etc/hostname and /etc/hosts and to use a consistent name. If "thinkpad" is
>> the preferred one then update /etc/hosts otherwise check
> 
> I wouldn't
> want to assume that nothing is using the name "caterina-thinkpad", so it
> would be wise to retain it.

A fair point. Adding FQDN and "thinkpad" before existing names should be 
better. I would still try to find and fix existing occurrences of the 
old name

     grep -r caterina-thinkpad /etc

or even "grep -R"

> Also, for the love of glob, WHY THE SYSTEMD bullshit... you change the
> hostname on Debian by editing the /etc/hostname file, and then by
> running the "hostname" command as root with the new name as its
> argument (or rebooting).
> 
> I don't know why "hostnamectl" even exists as a concept.  It's repulsive.
> It also fails to be init-system-agnostic, with no upside to compensate.

I assume that systemd is the default, otherwise the chance that the user 
knows lower level commands is higher. hostnamectl changes both the 
/etc/hostname file and kernel runtime state, so it ensures consistent 
configuration. Moreover, I expect that more services using hostname are 
notified and will not use the stale name. Candidates may be (while I am 
unsure if it really applicable) bluetoothd, multicast DNS responder for 
names and service discovery queries, and perhaps more.

Perhaps hostname was changed from GUI and it is similar to hostnamectl.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Temporary failure in name resolution Rodolfo Medina <rodolfo.medina@gmail.com> - 2024-01-10 19:20 +0100
  Re: Temporary failure in name resolution <tomas@tuxteam.de> - 2024-01-10 19:30 +0100
    Re: Temporary failure in name resolution Rodolfo Medina <rodolfo.medina@gmail.com> - 2024-01-10 19:40 +0100
      Re: Temporary failure in name resolution Greg Wooledge <greg@wooledge.org> - 2024-01-10 19:50 +0100
        Re: Temporary failure in name resolution Rodolfo Medina <rodolfo.medina@gmail.com> - 2024-01-10 20:30 +0100
          Re: Temporary failure in name resolution Marco Moock <mm@dorfdsl.de> - 2024-01-10 20:30 +0100
          Re: Temporary failure in name resolution Greg Wooledge <greg@wooledge.org> - 2024-01-10 21:30 +0100
            Re: Temporary failure in name resolution Max Nikulin <manikulin@gmail.com> - 2024-01-11 04:20 +0100
              Re: Temporary failure in name resolution Greg Wooledge <greg@wooledge.org> - 2024-01-11 04:30 +0100
                Re: Temporary failure in name resolution Max Nikulin <manikulin@gmail.com> - 2024-01-12 04:10 +0100
              Re: Temporary failure in name resolution David Wright <deblis@lionunicorn.co.uk> - 2024-01-11 06:00 +0100
              Re: Temporary failure in name resolution Curt <curty@free.fr> - 2024-01-11 17:40 +0100
                Re: Temporary failure in name resolution Marco Moock <mm@dorfdsl.de> - 2024-01-11 18:10 +0100
                Re: Temporary failure in name resolution debian-user@howorth.org.uk - 2024-01-12 12:30 +0100
                Re: Temporary failure in name resolution Byung-Hee HWANG <soyeomul@doraji.xyz> - 2024-01-12 14:10 +0100
                Re: Temporary failure in name resolution Curt <curty@free.fr> - 2024-01-12 17:10 +0100
                Re: Temporary failure in name resolution Jeffrey Walton <noloader@gmail.com> - 2024-01-12 17:30 +0100
                Re: Temporary failure in name resolution Jeffrey Walton <noloader@gmail.com> - 2024-01-12 18:40 +0100
                Re: Temporary failure in name resolution debian-user@howorth.org.uk - 2024-01-12 18:40 +0100
                Re: Temporary failure in name resolution John Hasler <john@sugarbit.com> - 2024-01-12 20:50 +0100
                Re: Temporary failure in name resolution debian-user@howorth.org.uk - 2024-01-12 19:20 +0100
          Re: Temporary failure in name resolution <tomas@tuxteam.de> - 2024-01-11 06:30 +0100

csiph-web