The template file for /etc/conf.d/hostname contains "localhost" value. However, on a running system it is possible for the ebuild to determine the current hostname and place it into the new file directly (only if that fails you can stick to localhost). I do not like going through "etc-update" and fixing files which had just a couple of changed documentation lines.
using `hostname` isnt a good idea when dealing with cross/ROOT builds. better to load & store the hostname value directly. http://sources.gentoo.org/sys-apps/openrc/openrc-0.5.3.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/sys-apps/openrc/openrc-9999.ebuild?r1=1.65&r2=1.66