Mailinglist Archive: opensuse-factory (689 mails)

< Previous Next >
Re: [opensuse-factory] why are raw scripts forced into /bin/sh instead of user's shell (a Suse patch to bash)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

В Fri, 1 Mar 2013 00:57:16 +0100 (CET)
"Carlos E. R." <robin.listas@xxxxxxxxxxxxxx> пишет:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



El 2013-02-27 a las 22:52 -0600, Larry Finger escribió:
On 02/27/2013 09:59 PM, Linda Walsh wrote:

Why do you think this is SUSE only. Every distro has a default shell, which
is what you get when you do not specify the shell to use.

/bin/sh is a link to a shell. Linda, find out which it is in your system.


You miss the point. The upstream bash invokes script using the same
name under which it has been started:

/* The name of this shell, as taken from argv[0]. */
char *shell_name = (char *)NULL;

(open?)SUSE patch forces script to always run with /bin/sh

There must be some reason why it was changed. I would be interested to
know it too.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlEwF54ACgkQR6LMutpd94wrDgCcCdOTNJGZAegMN5H2T0+Nk8IB
wtkAn1FVG4c9x9EGjupdSodQVL/mPupE
=RkvE
-----END PGP SIGNATURE-----
< Previous Next >
List Navigation
Follow Ups