Running startx prints the versions of net-tools and hostname to stdout/stderr. i.e.: # startx net-tools version 1.60 hostname 1.100 (2001-04-14)
Sounds to me like your hostname command doesn't understand some parameter being passed to it perhaps. What does running it with "set -vx" show?
It appears to be because the startx script is redirecting the output of hostname through grep, but hostname prints its version to stderr instead of stdout...
*** This bug has been marked as a duplicate of 63117 ***
Fixed in rawhide now.