[arch-general] dash as default shell?
groknok at gmail.com
Wed Jun 17 22:17:08 UTC 2020
On Wed, 17 Jun 2020 at 21:21, brent s. <bts at square-r00t.net> wrote:
> Now, to init- because Arch uses systemd (and, yes, now Debian and
> Ubuntu), one must wonder what benefit, if any, this actually serves.
> systemd invokes the command directly, it does not spawn a shell to run
> an init script like sysvinit, upstart, openrc, etc. This is, primarily,
> the purpose of the system shell.
> I don't really see much of a benefit to it being that Arch uses systemd.
> Granted, it probably wouldn't harm much either given the purpose of the
> system shell, and probably why those who have already changed it haven't
> seen any noticeable effects. It just seems like an unnecessary change.
It's a good point you made that with systemd there are less benefits
of a fast /bin/sh. Ubuntu made its switch to dash in 2006  and
Debian in 2011 , , and they switched to systemd later in 2013
and 2012, respectively . But switching to dash would also be about
security, as less code means less bugs . I found only one CVE for
dash, an old one when dash is used as a login shell . There are a
number of bash bugs but they tend to be in various devices that are
not necessarily using the latest bash version so most would not apply
to Arch (it would take a long time to go through the list  in
detail so I won't do it).
More information about the arch-general