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

Fwd: bash without importing shell functions from the environment



On Thu, Sep 25, 2014 at 12:35 PM, Josselin Mouette <joss@debian.org> wrote:
> Le jeudi 25 septembre 2014 à 16:29 +0100, Ian Jackson a écrit :
>> I have prepared bash packages which do not honour any shell functions
>> they find in the environment.  IMO that is a crazy feature, which
>> ought to be disabled.  (I'm running this on chiark now and nothing has
>> visibly broken yet.)
>
> Thanks for your effort.
>
> Since I’m pretty sure we haven’t uncovered all of bash’s “features”,
> wouldn’t it be a good opportunity to make a release goal of killing all
> scripts with a #!/bin/bash shebang?

FYI: I have removed the bug from CC, since this discussion seems a bit
separated from it.

Perhaps making all those scripts either depend on bash or transition
to /bin/sh would be a good idea. This could be done through a lintian
warning I think. Then people interested in working on fully
transitioning to /bin/sh could just find the reverse depends of bash
and the packages affected by the lintian warning.

Best regards,
--
Cameron Norman


Reply to: