bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix \H: Use getaddrinfo to get full hostname


From: Thomas Deutschmann
Subject: Re: [PATCH] Fix \H: Use getaddrinfo to get full hostname
Date: Wed, 24 Jul 2019 16:38:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2

On 2019-07-24 16:27, Chet Ramey wrote:
> Thanks for the patch. This is system-dependent: there are systems, like
> mine, where `hostname' returns the system's FQDN. It all depends on the
> administrator's choices.

Can you tell me more about your system and how you (your administrator)
set up your system so that hostname will return FQDN?

I hope you are not talking about putting FQDN into a file which is
expecting hostname only...

Or in other words: At the moment I am wondering what should be wrong on
my system or on Debian/Ubuntu out of the box: You set hostname to
hostname only (no FQDN) and set domain option in /etc/resolv.conf for
example for FQDN. But maybe I am missing something.

Thanks.


-- 
Regards,
Thomas Deutschmann / Gentoo Linux Developer
C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]