severity 530076 wishlist
thanks

On Sat, 23 May 2009 00:22:49 -0500
Raphael Geissert <atom...@gmail.com> wrote:

> Package: emdebian-rootfs
> Severity: important
> Version: 2.0.0
> User: debian-rele...@lists.debian.org
> Usertags: goal-dash
> 
> Hello maintainer,
> 
> 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 ./usr/share/emdebian-tools/update-rc.d line 35 (unsafe
> > echo with backslash):
> >       echo "update-rc.d: $initd/$bn: file does not exist\n"

I'm afraid you've been misled. That file is in /usr/share/ because it
is "in storage" for placement into the Emdebian Crush root filesystem,
it is not for use within Debian at all. (If someone really wants to use
it on their Debian box, that's their own problem, not mine.)

> Not using bash (or a Debian Policy conformant shell interpreter which doesn't
> provide such an extra feature) as /bin/sh is likely to lead to errors or
> unexpected behaviours.

Not when the contents root filesystem is dictated by the
emdebian-rootfs package - there is no release goal for dash in Emdebian.

> Please be aware that although bash is currently the default /bin/sh there was
> a release goal for Lenny to make dash the default /bin/sh[1], and has been
> proposed for squeeze as well[2].

Doesn't apply to Emdebian root filesystems, we have a different Policy:

http://wiki.debian.org/EmdebianPolicy

The only time that dash matters for emdebian-* is when the script is
expected to run on Debian (to generate files for Emdebian), as with
#530080.

I'll probably fix the script later but, for the benefit of the bug
report, I thought I'd explain why I'm lowering severity and removing
the usertags. This script has nothing to do with any Debian release
goals, it's an Emdebian replacement for the Debian release goal script.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpyJaoI8tJKl.pgp
Description: PGP signature

Reply via email to