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

Re: Bug#161455: debian-policy: reference to ash outdated



On Thu, Sep 19, 2002 at 05:02:24PM -0600, Georg Lehner wrote:
> It is my opinion, that all sh-scripts involved in the standard system
> should be posix-sh compatible

Correct; if you find one which isn't, please file a bug against the
package.

>  _and_ that the selection of the /bin/sh
> symlink should be realized by the alternative-mecanism instead of
> diverting.

Technical problems here.  Among other things, you'd have symlinks
/bin/sh -> /etc/alternatives/sh -> /bin/<something>
What happens if /etc is corrupted or not mounted or there are other
problems?  Then you wouldn't be able to boot linux with init=/bin/sh.

Also, there is another major problem with using update-alternatives:
we must *always* have a working /bin/sh, so it must be included in an
essential package.  But then we can't use alterternatives, which have
to be organised from the maintainer scripts.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

      Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
              website: http://www.maths.qmul.ac.uk/~jdg/
   Debian GNU/Linux Developer, see: http://people.debian.org/~jdg/
     Visit http://www.thehungersite.com/ to help feed the hungry



Reply to: