Re: Switching /bin/sh to dash (part two)
Giacomo Catenazzi <email@example.com> writes:
> Raphael Geissert wrote:
>> Hello everybody,
>> This is a follow up to my previous thread, with a slightly different proposal.
>> What actually needs to be done is:
>> * Make dash essential, make it divert the current /bin/sh symlink by
>> default, make another essential package depend on dash. Prompt the
>> user before diverting on interactive upgrades.
> One additional question:
> how can we setup dependencies, so that "nis + mounted /usr/" needs
> explicitly dash as /bin/sh?
> [creating ugly dash-as-sh, bash-as-sh packages, who conflict
> each other and setup the symlink?]
> Or we need to set explicitly use #!/bin/dash in umountall?
> [not so flexible solution, but IMHO enough good]
If it needs dash then yes, set #!/bin/dash and Pre-Depend on dash.
But in this case that really needs to be fixed to work with any posix
> I think we should address this, because was one of the rationale
> for the switch.
> In long term we need to find a solution how to handle unsupported
> configuration in a flexible way (which will solve also lilo case: it
> works only with limited kernels and config)