the /etc/init.d/hostname is not a script Reproducible: Always Steps to Reproduce: 1. install baselayout-1.11.7-r2 2. file /etc/init.d/hostname 3. Expected Results: fix the file ;)
sounds like your system is broken the tarball is just fine: root@vapier 0 ~ # tar -jxf /usr/portage/distfiles/rc-scripts-1.6.7.tar.bz2 root@vapier 0 ~ # file rc-scripts-1.6.7/init.d/hostname rc-scripts-1.6.7/init.d/hostname: a /sbin/runscript script text executable root@vapier 0 ~ # head rc-scripts-1.6.7/init.d/hostname #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-src/rc-scripts/init.d/hostname,v 1.22 2004/11/15 15:43:28 vapier Exp $ depend() { need checkroot } start() {
okay, the tarball is indeed correct, but why doesn't a reinstallation overwrites the broken file?
try `emerge --noconfmem baselayout`