startx hangs with changed hostname

view story

https://bbs.archlinux.org – going step by step through the hostname bit of the startx script, it appears that, with a random hostname, `hostname -f` hangs indefinitely. Setting this simply to `hostname`lets X start up without a hiccup, but it does seem to interfere with sudo to some extent. I attempted to run netcfg (and I have the appropriate 'NOPASSWD' line in my sudoers file), and it asked me for my password. I'm chalking this down to the 'hostname' parameter in sudoers, so it looks like I'll have to find a workaround. Would setting the NOPASSWD hostname parameter to 'localhost' (HowTos)