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)
On 03/01/2013 03:51 AM, Andrey Borzenkov wrote:
Hash: SHA1

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

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.
the patch changing this is bash-3.2-longjmp.dif.

and the changes entry is:
Wed Mar 9 12:00:48 CET 2011 - werner@xxxxxxx

- Avoid siglongjmp, compare with
use temprary solution from Chet

Chet is the upstream bash author.

Might need to be revisited...

Andreas Jaeger aj@{,} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation