user [EMAIL PROTECTED]
usertags 471418 -goal-dash
severity 471418 serious
thanks

On Mon, Mar 17, 2008 at 09:23:30PM -0600, Raphael Geissert wrote:

> While performing an archive wide checkbashisms (from the 'devscripts' 
> package) 
> check I've found your package containing a /bin/sh script making 
> use of a bashism.

> checkbashisms' output:
>> possible bashism in ./etc/init.d/capi4hylafax line 15 (local foo=bar):
>>   local SPOOL=/var/spool/hylafax/

This particular bashism is supported by dash, so on a pragmatic level,
this is not a problem for "dash as /bin/sh".

It is still a serious bug, though, because according to policy only
 local a
 a=foo
can be used and not
 local a=foo

(Policy 10.4)

> If you want more information about dash as /bin/sh, you can read:
> http://lists.debian.org/debian-release/2008/01/msg00189.html
> https://wiki.ubuntu.com/DashAsBinSh

I suggest you also include a link to Debian Policy 10.4, which
contains the actual information of what /bin/sh scripts may and may
not do. None of the links you gave explained whether local was allowed
at all or not, etc.

-- 
Lionel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to