BTS

Issue2424

Title grml-hostname in a shell script
Priority bug Status resolved
Superseder Nosy List cozypaul
Assigned To Topics

Created on 2017-02-16.07:23:44 by cozypaul, last changed 2017-03-25.16:33:12 by mika.

Messages
msg6155 (view) Author: mika Date: 2017-03-25.16:33:11
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.
msg6119 (view) Author: cozypaul Date: 2017-02-16.07:23:44
I' using grml-hostname (grml 2014.11) in a shell script and a line like below 
causing errors:
grml-hostname $myhostname 
with grml 2010.04 it not a problem.

best regards

Paul
History
Date User Action Args
2017-03-25 16:33:12mikasetstatus: unread -> resolved
messages: + msg6155
2017-02-18 13:21:12mikasetpriority: critical -> bug
2017-02-16 07:23:44cozypaulcreate