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


Groups > gnu.bash.bug > #15226 > unrolled thread

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

Started byThomas Deutschmann <whissi@gentoo.org>
First post2019-07-24 16:38 +0200
Last post2019-07-24 16:38 +0200
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] Fix \H: Use getaddrinfo to get full hostname Thomas Deutschmann <whissi@gentoo.org> - 2019-07-24 16:38 +0200

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

FromThomas Deutschmann <whissi@gentoo.org>
Date2019-07-24 16:38 +0200
SubjectRe: [PATCH] Fix \H: Use getaddrinfo to get full hostname
Message-ID<mailman.2137.1563979112.2688.bug-bash@gnu.org>

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web