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)
  • From: Guido Berhoerster <gber@xxxxxxxxxxxx>
  • Date: Fri, 1 Mar 2013 12:07:35 +0100
  • Message-id: <20130301110735.GC10006@hal.local.invalid>
* Carlos E. R. <robin.listas@xxxxxxxxxxxxxx> [2013-03-01 11:58]:
El 2013-03-01 a las 10:48 +0100, Joerg Schilling escribió:

If /bin/sh may be linked to different shells, you need to know that many
scripts on Linux are not Shell complatible as they depend on bashisms.

If they do and the shebang does't point to bash, they have to be
reported in bugzilla, IMO.

We have a rpmlint check which tries to identify bashisms by
running shell scripts through checkbashims and dash -n, however
it only outputs an "informative" message so it's up to the
maintainer to act on that.

The situation in non-openSUSE specific software is also not as
bad as it used to be since Debian and Ubuntu switched to using
dash as /bin/sh a couple of years ago.
Guido Berhoerster
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation