Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I fail to understand the swipe at Canonical for having /bin/sh point to dash. Having /bin/sh point to a lightweight POSIX compliant shell seems a wholly sensible choice. Indeed, the ability to swap out one implementation for another (made possible by the POSIX standardisation of the unix shell) seems to be exactly what he's arguing for elsewhere in the article.


I'm pretty sure this change was initiated by Debian. I recall it was already the case on Debian stable circa 2008.


According to each distribution's documentation, Debian switched to dash in 2011 with Squeeze[0] whereas Ubuntu switched in 2006[1]

[0] https://wiki.debian.org/Shell

[1] https://wiki.ubuntu.com/DashAsBinSh


That is misleading. Debian seems to have changed earlier, but not done an official release for some time after the change; Ubuntu took, as they always do, this unreleased version of Debian and released it as the new version of Ubuntu.


> That is misleading.

No. Even if you don't agree that a stable release is the correct check point, that means the change was done during Squeeze's testing cycle and thus Lenny's lifetime, which started in 2009. Fact remains that Ubuntu switched years before Debian, as a number of sources confirm such as this LWN post from July 29, 2009[0] noting that, at that time, dash remained a topic of discussion on Debian mailing lists (and an unrealised goal for Lenny) whereas Ubuntu had switched 3 years prior.

> Ubuntu took, as they always do, this unreleased version of Debian and released it as the new version of Ubuntu.

That's not just "misleading", that's outright bullshit. Ubuntu switched to dash as /bin/sh independently from Debian and regardless of what Debian did.

[0] http://lwn.net/Articles/343924/


I stand corrected. I did try to do some research, and what little I could find seemed to support my recollection, but apparently I was confused and failed in my research.

I concede the point.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: