Re: Fwd: /bin/sh linked to dash? SOlVED, however..

"brian m. carlson" <[email protected]>
Newsgroups gmane.linux.debian.ports.amd64
Message-ID <[email protected]>
On Fri, Jul 01, 2011 at 10:39:05PM +0200, Francesco Pietra wrote:
> and mopac does its job. Hopefully, this should also allow the hundreds
> of other codes inside the main code to work, if the same problem
> occurs.
> 
> However, I would like to have the opinion of "those who know" if this
> is the correct way of doing and why with wheezy this change.

It's not really.  If a program specifies /bin/sh, the actual shell that
gets run could be any of myriad shells (bash, dash, mksh, pdksh, posh,
etc.) that provide the minimum requirements specified by Policy, which
basically consist of a) POSIX sh and b) a tiny amount of extensions.

dash was made /bin/sh because it's faster and smaller (almost 8 times
smaller), and the default boot process still makes heavy use of shell
scripts.  Software that uses bash extensions must specify /bin/bash, not
/bin/sh.  So the solution here is to fix the buggy shell script; if
mopac needs /bin/bash, it needs to say that explicitly and not just hope
that /bin/sh is bash.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCgAGBQJODnQMAAoJEL9TXYEfUvaLjkwP/04mCJkWDBcdnUSCM2jZ4eAL
1McunZBFrfq4ewHbirNlfqfMgwl+gALhyRInljqPqTykA+x8gxOksZTXZWBZt/bg
A4cDx66ezB/NrnWgwLUjsyBZde3Kn2l/rAY2Fx5799V9ZeNOeC4VG3DFYHJz3BYy
XsxJZbNvuWX4ZnE6ZSbbw0ZzGAwfAINpXhvfvjR3Eh+vBgJN6Ga7U2hToaUqJDRo
FtKEbFss4Ms2aNO9tYlc8kj6wq/El1BWMZTJTRiYMociHPIZPl0mfBfh5gS+TkT8
DsTyu4bMvycgUfcHjgrjkKUJANe9tDv/YpUKnkIGjcsmsTzUhFKsGadG+RO/fJ3G
gt5pfWYAW5bBsW+5TnvrjeBluiEBKcLRux5rGHZp/hFxuPqseYoyC8J526N001qt
hqs6wB660sf8+ehy8tOPZf/4wBqg7XlLeNMGI2kFU8qEyiRY84Btdg/ZJwY3W6Pk
mkiIlVUoYiMP3hvJHXzHrmaIh2hB4AHSHSoXUU78UylN/hOoCFKViKhpsq4xWHQv
6/Czo9UH0Cfmg9vlA9n3ELEMSHtNTChZYrr4m7NN6+NAmh0W6GJ0sTqRlidGMixR
CVwSspJiotiVIcww17LzIznMe4l7snOcqAJa7CpsQqQfF+5u7gEOc7BRGB1mkO7i
aTSgJIm4ckRFuSqpQULY
=puDH
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.