
On 10.02.22 08:39, dziobian wrote:
I noticed this being added a few weeks ago:
https://build.opensuse.org/package/rdiff/openSUSE:Factory/dash?linkrev=base&...
Anyone knows how supported is this / when is it going to get switched on by default?
I really hope openSUSE is not following Debian's lead of dash being the default /bin/sh. For multiple years I have been maintaining large pools of Debian/Ubuntu client installations and CI pools, and switching back to bash for /bin/sh is always the first thing we need to do. Yes, in theory scripts should just use /bin/bash if they use bash-isms. In practice, that just doesn't happen. It hasn't happened in the many years now that Debian has switched to dash, and I can't see it happen any time soon. Debugging user failures with some random script that some proprietary tool shipped that expects bash for /bin/sh is not worth the minimal benefit we get these days from dash (systemd, SSD, etc. being factors here). I've tried again and again to keep dash as default, and repeatedly regretted it after debugging for several hours why some functionality of a large proprietary doesn't work. It's sad, but it's a fight we lost: /bin/sh is bash in reality. Philipp