[issue2424] grml-hostname in a shell script

Michael Prokop bts at bts.grml.org
Sat Mar 25 17:33:12 CET 2017


Michael Prokop <mika at grml.org> added the comment:

FTR, Paul is talking about a hostname like "generic_hostname_automatix.foo.bar.lan"

As replied in a personal mail:

the "_" shouldn't be used in hostnames as it might cause issues, see
RFC 952 -> https://tools.ietf.org/html/rfc952 - and "." serves to
delimit components of "domain style names". So grml-hostname is
rejected it nowadays to avoid issues during either invoking
`hostname` (which will complain then with your hostname, at least
nowadays and on Debian) or cause issues in production.

----------
messages: 6119, 6155
nosy: cozypaul
priority: bug
status: resolved
title: grml-hostname in a shell script

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue2424>
_____________________________________


More information about the Bugs-changes mailing list