https://bugzilla.novell.com/show_bug.cgi?id=657032
https://bugzilla.novell.com/show_bug.cgi?id=657032#c2
Dr. Werner Fink changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #2 from Dr. Werner Fink 2010-12-06 13:30:07 UTC ---
Can not reproduce this:
/suse/werner> echo $HOST
shannon
/suse/werner> echo $HOSTNAME
shannon.suse.de
/suse/werner> su
Password:
shannon:werner # echo $HOST
shannon
shannon:werner # echo $HOSTNAME
shannon.suse.de
shannon:werner # exit
/suse/werner> cat /etc/SuSE-release
openSUSE 11.4 Milestone 1 of 6 (x86_64)
VERSION = 11.4
CODENAME = Celadon
from /etc/profile line 111 ff
test -z "$HOST" && HOST= `/bin/uname -n 2> /dev/null`
[..]
if test -z "$HOSTNAME" ; then
HOSTNAME=${HOST}.`cat /proc/sys/kernel/domainname`
fi
and from /etc/csh.login line 57 ff
if (! ${?HOST} ) setenv HOST "`/bin/uname -n`"
[..]
if (! ${?HOSTNAME} && -x /bin/hostname ) then
setenv HOSTNAME ${HOST}."`/bin/hostname -d`"
endif
but normally this is done by the bash/tcsh its self supposed if
and only if the (local) network and the hostname is configured
well as you can see above.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.