testing-20040801: hostname ends up in /usr/bin

Matt Bartley mbartley2 at NO.cox.SPAM.net
Tue Aug 3 12:12:15 PDT 2004

I just ran through a 6.0-testing-20040801 build, using Debian-testing as 
the host environment.

The program "hostname", previously installed by net-tools but now 
installed by coreutils after net-tools was recently eliminatied, ends up 
in /usr/bin.

In the chapter 6 build instructions for coreutils, many programs are 
moved out of /usr/bin into /bin:

mv /usr/bin/{[,basename,cat,chgrp,chmod,chown,cp,dd,df} /bin
mv /usr/bin/{date,echo,false,head,install,ln,ls} /bin
mv /usr/bin/{mkdir,mknod,mv,pwd,rm,rmdir,sync} /bin
mv /usr/bin/{sleep,stty,test,touch,true,uname} /bin

Shouldn't "hostname" be added to that?

The problem in SVN-20040730 is worse.  The build instructions there call 
for the use of the older 
coreutils-5.2.1-suppress-_hostname_uptime_kill_su-1 patch, rather than 
the newer coreutils-5.2.1-suppress-_uptime_kill_su-1 patch.  This means 
there is no "hostname" program, causing an error during bootup.

The testing and unstable instructions for chapter 6 coreutils should be 
fixed and synced.

More information about the lfs-dev mailing list