Proposal to remove Bash from "essentials"

News and discussion about development of the Debian OS itself

Proposal to remove Bash from "essentials"

Postby GarryRicketson » 2017-01-06 18:35

I was browsing the wiki, and stumbled on to this,

https://wiki.debian.org/Proposals/EssentialOnDiet

and
https://wiki.debian.org/Proposals/RemoveBashFromEssential

I am not really sure what to think about this,...I don't like the idea myself.
User avatar
GarryRicketson
 
Posts: 4353
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Proposal to remove Bash from "essentials"

Postby 4D696B65 » 2017-01-06 20:08

dash has been default for a long time now so I don't mind a little cleaning out of the essential closet.
User avatar
4D696B65
 
Posts: 2018
Joined: 2009-06-28 06:09

Re: Proposal to remove Bash from "essentials"

Postby Head_on_a_Stick » 2017-01-06 20:15

Yes, I agree. EDIT: with 4D696B5, I mean :)

Bash is bloat :P
Code: Select all
TheLab: ~ $ echo $0
-ksh
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6666
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Proposal to remove Bash from "essentials"

Postby debiman » 2017-01-08 16:06

GarryRicketson wrote:I am not really sure what to think about this

as already stated, the default shell for debian is dash.
it is MUCH lighter & faster than bash.
bash is not really needed for a debian system to work, so by definition it's not essential!
i love coding in bash, but more and more often (esp. for very simple scripts) i consciously choose dash:
Code: Select all
#!/bin/sh == #!/bin/dash != #!/bin/bash
User avatar
debiman
 
Posts: 1519
Joined: 2013-03-12 07:18

Re: Proposal to remove Bash from "essentials"

Postby cpoakes » 2017-01-08 19:13

Apples vs Oranges: "What is essential to run barebones debian?" vs "What is essential to my barebones working environment?" While bash may be essential for the OP's working environment, it is not essential to barebones debian (written for dash) or even other command line users (insert merits of your favorite shell here).

There are good arguments for both familiarity with Bourne/POSIX syntax and writing scripts with a #!/bin/sh shebang statement:
  1. They use the lighter/faster dash* in a debian environment.
  2. They are far more portable in *nix environments.
  3. Bash is not always available (busybox provides ash or even more restricted shells in very old versions).
* Ironically, dash is treated as a Bourne shell replacement but missing one feature (LINENO) to be 100% POSIX compliant.
User avatar
cpoakes
 
Posts: 95
Joined: 2015-03-29 04:54

Re: Proposal to remove Bash from "essentials"

Postby GarryRicketson » 2017-01-09 00:23

Thanks on the replies, that helps clear up most of my confusion,
I also was reading some more on this, and it seems to come down
to "bash" still is essential because there are a lot of packages that depend
on "bash" still,
https://lists.debian.org/debian-devel/2014/09/msg00890.html
There is more in the thread.
Thanks
User avatar
GarryRicketson
 
Posts: 4353
Joined: 2015-01-20 22:16
Location: Durango, Mexico


Return to Debian Development

Who is online

Users browsing this forum: No registered users and 1 guest

fashionable