[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Alternatives in /bin (Was: Re: Bugs in bash (was: Release-critical Bugreport))



On debian-devel, Thomas Quinot <thomas@Cuivre.FR.EU.ORG> wrote:
> > Ulf Jaenicke-Roessler <ujr@physik.phy.tu-dresden.de> the submitter of
this bug
> > feels that bash should not clobber peoples /bin/sh if it is another
file or a
> > link to another file. 
> 
> Why not manage /bin/sh using alternatives? This would seem very natural.

Alternatives is that it involves links to /etc, which may not be present if
/etc is on a seperate partition and that partition isn't mounted (for
example, in single user mode.) Losing /bin/sh under single user mode would
be nasty.

One problem with the current use of alternatives is /bin/csh. With tcsh,
this is a link to /etc/alternatives and then to /usr/bin/tcsh, bringing up
the question of why it's in /bin, because it won't be there in almost any
situation where the /bin /usr/bin split matters.


Reply to: