[ale] changing dash to bash in ubuntu

James Sumners james.sumners at gmail.com
Fri Feb 18 21:46:47 EST 2011


It changes the link of /bin/sh to point to /bin/dash instead of
/bin/bash. It does not modify users's shell preferences. The problem
is that they claim dash to be a POSIX shell, but when people report
bugs[1] in dash they get written off as "not a POSIX bug" when in fact
they are. So various scripts that reference `#!/bin/sh` instead of
`#!/bin/bash` are likely to fail because the developer assumed sh
would point to bash.

[1] -- https://bugs.launchpad.net/ubuntu/+source/dash/+bug/141481

On Fri, Feb 18, 2011 at 9:28 PM, Paul Cartwright <ale at pcartwright.com> wrote:
>>
>> On Fri, Feb 18, 2011 at 9:15 PM, James Sumners<james.sumners at gmail.com>  wrote:
>>
>>> >  I'm not liking this move to dash (Debian Shell) either. Debian 6.0
>>> >  upgrades ask to make this switch. Anyway, what you need to do is this:
>>> >
>>> >  `sudo dpkg-reconfigure bash`
>>> >
>>> >  It will prompt you to make a yes or no choice -- choose "no"
> I don't remember it asking me, and I'm now running squeeze
> grep pbc /etc/passwd
> pbc:x:1000:100:Paul C:/home/pbc:/bin/bash
>
> # uname -a
> Linux paulandcilla.homelinux.org 2.6.32-5-686 #1 SMP Wed Jan 12 04:01:41
> UTC 2011 i686 GNU/Linux
>
> as of last night anyway...
>
> --
> Paul Cartwright
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>



-- 
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59



More information about the Ale mailing list