Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74181 - /etc/init.d/hostname is garbled data file in baselayout-1.11.7-r2
Summary: /etc/init.d/hostname is garbled data file in baselayout-1.11.7-r2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-12 05:08 UTC by Stefan Kost
Modified: 2004-12-13 05:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Kost 2004-12-12 05:08:29 UTC
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 ;)
Comment 1 SpanKY gentoo-dev 2004-12-12 13:16:36 UTC
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() {
Comment 2 Stefan Kost 2004-12-12 22:27:11 UTC
okay, the tarball is indeed correct, but why doesn't a reinstallation overwrites the broken file?
Comment 3 SpanKY gentoo-dev 2004-12-13 05:42:21 UTC
try `emerge --noconfmem baselayout`