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

Re: egrep moved to /usr/sbin

* H. S. Teoh (hsteoh@quickfur.ath.cx) wrote:
> I was under the impression that scripts don't hard-code binary paths, and
> so wouldn't have trouble finding [ef]grep in the new location.  Apparently
> I was wrong. Unfortunately, I didn't notice it during my install/uninstall
> tests (I suppose I didn't leave it around long enough for the problems to
> show up).
> Should I file bugs against packages that hardcode the old location of
> [ef]grep? (Or should I back out that patch?)
> Thanks for pointing out the problem.

Some programs may need egrep/fgrep before /usr is mounted.  The proper
fix to this would be to make them all the same binary again.  I've heard
GNU policy is against this but that's (thankfully..) not Debian policy
and they're not consistant with it anyway (/bin/sh, as example).  An
alternative would be to make egrep/fgrep shell scripts, though there has
been some concern about performance.  Personally I don't really think
it's a very valid concern, but it's there.

If you need a patch for making them all the same binary I could probably
do one up pretty quick.

I would like to hear other comments if people have them.


Attachment: pgpyPVKnN21vu.pgp
Description: PGP signature

Reply to: