Debian Bug report logs - #690720
live-boot: bashism in /bin/sh script

version graph

Package: live-boot; Maintainer for live-boot is Live Systems Maintainers <debian-live@lists.debian.org>; Source for live-boot is src:live-boot.

Reported by: Raphael Geissert <atomo64@gmail.com>

Date: Tue, 16 Oct 2012 18:15:36 UTC

Severity: important

Found in version live-boot/3.0~b6-1

Done: Daniel Baumann <daniel.baumann@progress-technologies.net>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Debian Live Project <debian-live@lists.debian.org>:
Bug#690720; Package live-boot. (Tue, 16 Oct 2012 18:15:39 GMT) Full text and rfc822 format available.

Acknowledgement sent to Raphael Geissert <atomo64@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Tue, 16 Oct 2012 18:15:39 GMT) Full text and rfc822 format available.

Message #5 received at maintonly@bugs.debian.org (full text, mbox):

From: Raphael Geissert <atomo64@gmail.com>
To: maintonly@bugs.debian.org
Subject: live-boot: bashism in /bin/sh script
Date: Tue, 16 Oct 2012 13:09:33 -0500
Package: live-boot
Version: 3.0~b6-1
Severity: important
User: debian-release@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 ./lib/live/boot/9990-misc-helpers.sh line 664 (read 
with option other than -r):
>                                        read -s passphrase
>possible bashism in ./lib/live/boot/9990-mount-iscsi.sh line 36 (echo -e):
>                        echo -ne $i\\r

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.

You can find hints about how to fix bashisms at:
https://wiki.ubuntu.com/DashAsBinSh

Thank you,
Raphael Geissert



Reply sent to daniel.baumann@progress-technologies.net:
You have taken responsibility. (Tue, 16 Oct 2012 19:33:04 GMT) Full text and rfc822 format available.

Notification sent to Raphael Geissert <atomo64@gmail.com>:
Bug acknowledged by developer. (Tue, 16 Oct 2012 19:33:04 GMT) Full text and rfc822 format available.

Message #10 received at 690720-done@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel.baumann@progress-technologies.net>
To: Raphael Geissert <atomo64@gmail.com>
Cc: 690720-done@bugs.debian.org
Subject: Re: Bug#690720: live-boot: bashism in /bin/sh script
Date: Tue, 16 Oct 2012 21:31:14 +0200
On 10/16/2012 08:09 PM, 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.

..apart from the fact that we do check for bashisms within the test
target in the makefile..

> checkbashisms' output:
>> possible bashism in ./lib/live/boot/9990-misc-helpers.sh line 664 (read 
> with option other than -r):
>>                                        read -s passphrase
>> possible bashism in ./lib/live/boot/9990-mount-iscsi.sh line 36 (echo -e):
>>                        echo -ne $i\\r

this is executed within initramfs, closing.

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 14 Nov 2012 07:25:41 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 08:52:11 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.