FS#29252 - [grml-zsh-config] tries to find hostname with "hostname" instead of reading /etc/rc.conf
Attached to Project:
Arch Linux
Opened by Alexander F. Rødseth (xyproto) - Tuesday, 03 April 2012, 10:59 GMT
Last edited by Tom Gundersen (tomegun) - Thursday, 23 August 2012, 13:34 GMT
Opened by Alexander F. Rødseth (xyproto) - Tuesday, 03 April 2012, 10:59 GMT
Last edited by Tom Gundersen (tomegun) - Thursday, 23 August 2012, 13:34 GMT
|
Details
Description:
With a fresh install of Arch (at Linode) and the default zsh and grml-zsh-config configuration, I get (at logon): grmlcomp:132: command not found: hostname Looking at /etc/zsh/zshrc (the only file belonging to grml-zsh-config with the string "hostname"), I see that the hostname is not discovered from /etc/hosts or /etc/rc.conf, but by using the "hostname" command. Using HOSTNAME from /etc/rc.conf might work? Ie: grep HOSTNAME= /etc/rc.conf | cut -d"\"" -f2 inetutils should probably be installed by default, since it's in the base group, but for some reason it's not. I believe this goes for all fresh Linode installs of Arch. In any case, getting the hostname from rc.conf instead of "hostname" would be preferrable, as it's readily available there. Additional info: * package version(s) grml-zsh-config 0.5.5-1 Steps to reproduce: Install zsh and grml-zsh-config, chsh to zsh, log in, select default config, log in again, see the error message (if inetutils isn't installed). Thanks. |
This task depends upon
You should tell Linode to install inetutils cause otherwise the system will not work correctly. The zsh config is the least of your worries. Its a Linode bug.