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

Bug#1051371: debian-policy: stop referring to legacy filesystem paths for script interpreters



On Wed, 6 Sept 2023 at 23:34, Sam Hartman <hartmans@debian.org> wrote:
>
> >>>>> "Luca" == Luca Boccassi <bluca@debian.org> writes:
>
>     Luca> Debian only supports merged-usr since Bookworm. We should
>     Luca> update policy to reference /usr/bin/sh and similar paths to
>     Luca> describe recommended shebangs for scripts.
>
> I do not support this change.  /bin/sh should still be the recommended
> interface path for the posix shell.  Among other reasons, it promotes
> compatibility between Linux and other posix architectures.  Besides
> that, I suspect there are cases where tools look for /bin/sh in a #!
> line and do not accept /usr/bin/sh.

/bin/sh is not universally compatible with non-Linux OSes.

Also I thought that policy should not be used to beat other developers
(it is because of this) and it should reflect the common practices
adopted in Debian (it does not because of this). Is that no longer the
case?


Reply to: