Your message dated Tue, 26 May 2009 00:02:07 +0000
with message-id <[email protected]>
and subject line Bug#530071: fixed in dpkg 1.15.2
has caused the Debian Bug report #530071,
regarding dselect: bashism in /bin/sh script
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
530071: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530071
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dselect
Severity: important
Version: 1.15.1
User: [email protected]
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/lib/dpkg/methods/disk/setup line 75 (echo -e):
> echo -e "p\nq\n" | fdisk "$blockbase" 2>/dev/null
> >$tp.f
> possible bashism in ./usr/lib/dpkg/methods/disk/setup line 288 (echo -e):
> echo -e 'p\nq\n' | fdisk /dev/hda 2>/dev/null >$tp.f
> possible bashism in ./usr/lib/dpkg/methods/disk/setup line 291 (echo -e):
> echo -e 'p\nq\n' | fdisk /dev/sda 2>/dev/null >$tp.f
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.
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].
If you want more information about dash as /bin/sh, you can read:
http://lists.debian.org/debian-release/2008/01/msg00189.html
For more information supporting this goal please refer to Debian Policy,
section 10.4, at:
http://www.debian.org/doc/debian-policy/ch-files.html#s-scripts
Hints about how to fix bashisms:
Sometimes these bugs are already fixed in Ubuntu, look at the PTS.
If not already fixed you can read:
https://wiki.ubuntu.com/DashAsBinSh
If you still don't know how to fix the bashisms don't hesitate to reply to
this email, or tag the bug as 'help'.
[1]http://release.debian.org/lenny/goals.txt
[2]http://lists.debian.org/debian-release/2009/04/msg00133.html
Thank you,
Raphael Geissert
--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.15.2
We believe that the bug you reported is fixed in the latest version of
dpkg, which is due to be installed in the Debian FTP archive:
dpkg-dev_1.15.2_all.deb
to pool/main/d/dpkg/dpkg-dev_1.15.2_all.deb
dpkg_1.15.2.dsc
to pool/main/d/dpkg/dpkg_1.15.2.dsc
dpkg_1.15.2.tar.gz
to pool/main/d/dpkg/dpkg_1.15.2.tar.gz
dpkg_1.15.2_amd64.deb
to pool/main/d/dpkg/dpkg_1.15.2_amd64.deb
dselect_1.15.2_amd64.deb
to pool/main/d/dpkg/dselect_1.15.2_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guillem Jover <[email protected]> (supplier of updated dpkg package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 26 May 2009 01:00:36 +0200
Source: dpkg
Binary: dpkg dpkg-dev dselect
Architecture: source amd64 all
Version: 1.15.2
Distribution: unstable
Urgency: low
Maintainer: Dpkg Developers <[email protected]>
Changed-By: Guillem Jover <[email protected]>
Description:
dpkg - Debian package management system
dpkg-dev - Debian package development tools
dselect - Debian package management front-end
Closes: 529857 529889 530071 530446
Changes:
dpkg (1.15.2) unstable; urgency=low
.
[ Guillem Jover ]
* Fix FTBFS on GNU/Hurd due to a missmatched define usage in
start-stop-daemon. Closes: #530446
* Remove obsolete priorities support from dselect.
Thanks to Sven Joachim <[email protected]>.
* Fix bashism (“echo -e”) in dselect disk setup method. Closes: #530071
* Properly parse fdisk output in dselect disk setup method.
* Fix memory leaks due to not destroying some pkg iterators.
.
[ Updated dpkg translations ]
* Asturian (Marcos Alvarez Costales). Closes: #529889
* Basque (Piarres Beobide). Closes: #529857
* French (Christian Perrier).
* German (Sven Joachim).
.
[ Updated man page translations ]
* German (Helge Kreutzmann).
.
[ Updated dselect translations ]
* French (Christian Perrier).
.
[ Updated scripts translations ]
* French (Christian Perrier).
* German (Helge Kreutzmann).
Checksums-Sha1:
7655262f0f4fdab688bad1e2e024ed859cd1c415 1210 dpkg_1.15.2.dsc
e73a709f80454fc56e2d31dc28230f783661bb93 7049986 dpkg_1.15.2.tar.gz
b6fe1c3a7541d645af696ed49e13711a7e06e6ac 2191182 dpkg_1.15.2_amd64.deb
74e5db1fa29144d1c8983c975c1f8fdafd2bd82f 667840 dselect_1.15.2_amd64.deb
3b59244a1a06438b9b5573ceebac043fc994309b 634046 dpkg-dev_1.15.2_all.deb
Checksums-Sha256:
bc129497b2fe2d66414570ce11ee5814ab412160ba1bb8d7f1aaaa10e1973943 1210
dpkg_1.15.2.dsc
ec92968f6a7fdfeddb4cee5bd177f03b1dd99ec2fe7ea0b6a2e8d4cbbfee1a74 7049986
dpkg_1.15.2.tar.gz
9271ecef71bde3360db79d783e513d03df65037d1f88eb98bfe3a08528d56b3e 2191182
dpkg_1.15.2_amd64.deb
06021c838d919278f7798e9519deae825b0348941ffa56f4d85cc329cae7cc13 667840
dselect_1.15.2_amd64.deb
efeb03051d2743ce98270356d6ea6801a5225c0c2300d483faf45f70f7dd2517 634046
dpkg-dev_1.15.2_all.deb
Files:
394e6828c6f2d26b763c5c5ab36b9acb 1210 admin required dpkg_1.15.2.dsc
c3cc61f151d0672d10d76aca92254bd8 7049986 admin required dpkg_1.15.2.tar.gz
ed01379f07ee2e7c20eeed8deab92696 2191182 admin required dpkg_1.15.2_amd64.deb
77868c2caf8a628db420c6f17f387cbc 667840 admin optional dselect_1.15.2_amd64.deb
f91fd1971b67a9f727673b5f56c5def5 634046 utils optional dpkg-dev_1.15.2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkobKWQACgkQuW9ciZ2SjJsW3wCgwMBy0MsXGh5Chb8HcKmeh0pQ
edcAoIh6nqSU/ncwO+Q64fc5AA7Sr1bM
=K5rC
-----END PGP SIGNATURE-----
--- End Message ---