[Bug 7028] New: HOSTNAME environment variable not set

bugzilla at busybox.net bugzilla at busybox.net
Sun Apr 13 05:23:55 UTC 2014


           Summary: HOSTNAME environment variable not set
           Product: Busybox
           Version: 1.21.x
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Networking
        AssignedTo: unassigned at busybox.net
        ReportedBy: benshadwick at gmail.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0

- Running BusyBox v1.21.1 as part of a firmware load on a mips-based Asus
- This build appears to include ash and uname applets but not hostname.
- I am an end-user of the firmware and not its developer/maintainer.

It appears that the ash prompt and uname -n command are both able to determine
what the hostname of the system is, but there is no environment variable (e.g.
HOSTNAME or HOST) set by default for shell scripts to use.

My understanding is that other shells typically set one of these automatically
as a built-in feature; it would be useful if HOSTNAME (or HOST) were set by
default by busybox's ash as well.

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the busybox-cvs mailing list