Public bug reported: In the dash shell, the environment variable HOSTNAME is not set. For example, the script
#! /bin/sh echo ${HOSTNAME} will correctly return the hostname of the machine if /bin/sh is linked to bash, but not if it is linked to dash. This causes some scripts which rely on HOSTNAME to fail (see also Bug #61463). For example, the sample scripts that appear in the man page of keychain all rely on HOSTNAME. ** Affects: dash (Ubuntu) Importance: Undecided Status: Unconfirmed -- HOSTNAME not set https://launchpad.net/bugs/64184 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs