Bug#382468: [pkg-ntp-maintainers] Bug#382468: non-POSIX use of which

Kurt Roeckx kurt at roeckx.be
Fri Aug 11 16:31:17 UTC 2006


On Fri, Aug 11, 2006 at 12:50:40PM +0200, Peter Eisentraut wrote:
> martin f krafft wrote:
> > Please see 6.4 of the devel reference wrt the if-up.d file you
> > install, which uses the `which` command.
> 
> "While which is an acceptable alternative, since it is from the required 
> debianutils package, it's not on the root partition. That is, it's 
> in /usr/bin rather than /bin, so one can't use it in scripts which are 
> run before the /usr partition is mounted. Most scripts won't have this 
> problem, though."
> 
> I believe this is one of those scripts that won't have this problem.
> 
> What particular problem did you have in mind?

You should probably also file a bug against debhelper if you
believe that this is a problem.  It uses exactly the same code.


Kurt





More information about the pkg-ntp-maintainers mailing list