Re: Dash as default shell

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

 



On Thu, Oct 02, 2014 at 08:07:14AM -0500, Chris Adams wrote:
> Once upon a time, Richard W.M. Jones <rjones@xxxxxxxxxx> said:
> > Changing the default /bin/sh is going to break the world.
> 
> [citation needed]
> 
> Anything that depends on bash as /bin/sh is already getting Fedora
> specific.  Debian/Ubuntu don't use bash as /bin/sh for years, and none
> of the other major Unix-like systems (e.g. *BSD, Solaris, etc.) have
> ever used bash as /bin/sh.
> 
> To say "it is a lot of work" or "is going to break the world", the
> requirement for proof is on you.

Yep, I'm pretty sceptical that it would be alot of work because the
vast majority of programs have long ago dealt with the pain in order
to run on Debian correctly.  The only areas I'd see it being a problem
is in Fedora/RHEL specific code. Stuff like initscripts (thankfully
almost all killed due to systemd) and ifcfg-XXX network scripts (still
around but mostly irrelevant if you are willing use NetworkManager).

I'd be curious of the results if someone wants to take a stock Fedora 21
install and switch /bin/sh to point to dash and report if they can still
boot & login to GNOME.

I recently tried to change /bin/sh to point to /bin/false and the distro
was still surprisingly functional, against thanks to systemd removing
most use of shell from the boot process. The big problems with dhclient
spawning shell script, plymouth graphical boot, ssh key generation
and something I didn't investigate in X / GDM login.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux