Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39648 - coreutils links /bin/install to /usr/bin/install
Summary: coreutils links /bin/install to /usr/bin/install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-28 03:18 UTC by Christian Herzyk
Modified: 2004-02-08 03:42 UTC (History)
1 user (show)

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 Christian Herzyk 2004-01-28 03:18:04 UTC
After installing coreutils-5.0.91-r4 /bin/install is a symbolic link to /usr/bin/install 
install is needed quite early in the boot process. I have /usr in a seperate partition that is not mounted at that time.
So I get the following errors:

/sbin/rc line 262: install: command not found
/sbin/rc line 299: install: command not found
ln: creating symbolic link `/mnt/init.d/softscripts.new/bootmisc` to ``/etc/init.d/bootmisc`: No such file or directory

The last one repeats lots of times with different files.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
Either have the link the other way round (/usr/bin/install -> /bin/install) or
simply have the file twice.
Comment 1 bartron 2004-01-30 17:21:21 UTC
  Is `/sbin/rc' really the only place where install is used in all 
possible installations?  In both lines mentioned above install is 
only used to create a directory with specific permissions...both 
POSIX and GNU mkdir mandate/support `-p' and `-m', so 

  install -d -m 0755

could be replaced by

  mkdir -p -m 0755

.  (seems cleaner because `mkdir' is always in `/bin' (and in bash) 
while most Linuxes have `install' in `/usr/bin').
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-02-04 23:18:04 UTC
Azarah -- is comment #2 a viable option in your opinion?
Comment 3 solar (RETIRED) gentoo-dev 2004-02-04 23:55:40 UTC
My name is not Azarah but I think comment #2 is fully a viable option in my opinion.
Comment 4 atom 2004-02-05 00:45:01 UTC
/sbin/depscan.sh also uses install
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-08 03:42:11 UTC
Fixed in CVS.