Your message dated Tue, 08 Sep 2009 18:02:10 +0000
with message-id <[email protected]>
and subject line Bug#530041: fixed in amanda 1:2.6.1p1-1
has caused the Debian Bug report #530041,
regarding amanda-server: 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.)


-- 
530041: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530041
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: amanda-server
Severity: important
Version: 1:2.5.2p1-5
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/sbin/amverify line 32 (unsafe echo with
> backslash):
> t=`echo "abc\r\c" | wc -c`
> possible bashism in ./usr/sbin/amverify line 51 (unsafe echo with
> backslash):
>         echo "$1""$blanks\r\c"
> possible bashism in ./usr/lib/amanda/chg-disk line 85 (should be 'b = a'):
> if test X"$TAPE" == X""; then
> possible bashism in ./usr/lib/amanda/chg-mcutil line 58 (unsafe echo with
> backslash):
>         echo "Command Line -> $myname $...@\nexit($code): $ourconf not found
> as listed in amanda.conf"
> possible bashism in ./usr/lib/amanda/chg-mcutil line 68 (unsafe echo with
> backslash):
>         echo "Command Line -> $myname $@ \nExit($code): mcutil not
> specified in $ourconf"
> possible bashism in ./usr/lib/amanda/chg-mcutil line 82 (unsafe echo with
> backslash):
>         echo "Command Line -> $myname $@ \nExit($code): tape not specified
> in $ourconf"
> possible bashism in ./usr/lib/amanda/chg-mcutil line 96 (unsafe echo with
> backslash):
>         echo "Command Line -> $myname $@ \nExit($code): firstslot not
> specified in $ourconf"
> possible bashism in ./usr/lib/amanda/chg-mcutil line 110 (unsafe echo with
> backslash):
>         echo "Command Line -> $myname $@ \nExit($code): lastslot not
> specified in $ourconf"
> possible bashism in ./usr/lib/amanda/chg-mcutil line 124 (unsafe echo with
> backslash):
>         echo "Command Line -> $myname $@ \nExit($code): use_cleaning not
> specified in $ourconf"
> possible bashism in ./usr/lib/amanda/chg-mcutil line 138 (unsafe echo with
> backslash):
>         echo "Command Line -> $myname $@ \nExit($code): cleanslot not
> specified in $ourconf"
> possible bashism in ./usr/lib/amanda/chg-mcutil line 152 (unsafe echo with
> backslash):
>         echo "Command Line -> $myname $@ \nExit($code): cleansleep not
> specified in $ourconf"
> possible bashism in ./usr/lib/amanda/chg-mcutil line 166 (unsafe echo with
> backslash):
>         echo "Command Line -> $myname $@ \nExit($code): cleanme not
> specified in $ourconf"
> possible bashism in ./usr/lib/amanda/chg-mcutil line 180 (unsafe echo with
> backslash):
>         echo "Command Line -> $myname $@ \nExit($code): cleanfile not
> specified in $ourconf"
> possible bashism in ./usr/lib/amanda/chg-mcutil line 194 (unsafe echo with
> backslash):
>         echo "Command Line -> $myname $@ \nExit($code): lastfile not
> specified in $ourconf"
> possible bashism in ./usr/lib/amanda/chg-mcutil line 208 (unsafe echo with
> backslash):
>         echo "Command Line -> $myname $@ \nExit($code): currentslot not
> specified in $ourconf"
> possible bashism in ./usr/lib/amanda/chg-mcutil line 222 (unsafe echo with
> backslash):
>         echo "Command Line -> $myname $@ \nExit($code): logfile not
> specified in $ourconf"
> possible bashism in ./usr/lib/amanda/chg-mcutil line 238 (unsafe echo with
> backslash):
>         echo "Command Line -> $myname $@ \nExit($code): slot0source not
> specified in $ourconf"
> possible bashism in ./usr/lib/amanda/chg-mcutil line 260 (unsafe echo with
> backslash):
> echo "\n\n==== `date` ====" >> $logfile


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: amanda
Source-Version: 1:2.6.1p1-1

We believe that the bug you reported is fixed in the latest version of
amanda, which is due to be installed in the Debian FTP archive:

amanda-client_2.6.1p1-1_i386.deb
  to pool/main/a/amanda/amanda-client_2.6.1p1-1_i386.deb
amanda-common_2.6.1p1-1_i386.deb
  to pool/main/a/amanda/amanda-common_2.6.1p1-1_i386.deb
amanda-server_2.6.1p1-1_i386.deb
  to pool/main/a/amanda/amanda-server_2.6.1p1-1_i386.deb
amanda_2.6.1p1-1.diff.gz
  to pool/main/a/amanda/amanda_2.6.1p1-1.diff.gz
amanda_2.6.1p1-1.dsc
  to pool/main/a/amanda/amanda_2.6.1p1-1.dsc
amanda_2.6.1p1.orig.tar.gz
  to pool/main/a/amanda/amanda_2.6.1p1.orig.tar.gz



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.
Bdale Garbee <[email protected]> (supplier of updated amanda 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: SHA512

Format: 1.8
Date: Tue, 08 Sep 2009 11:40:42 -0600
Source: amanda
Binary: amanda-common amanda-server amanda-client
Architecture: source i386
Version: 1:2.6.1p1-1
Distribution: unstable
Urgency: low
Maintainer: Bdale Garbee <[email protected]>
Changed-By: Bdale Garbee <[email protected]>
Description: 
 amanda-client - Advanced Maryland Automatic Network Disk Archiver (Client)
 amanda-common - Advanced Maryland Automatic Network Disk Archiver (Libs)
 amanda-server - Advanced Maryland Automatic Network Disk Archiver (Server)
Closes: 486405 488713 492352 524618 527090 527489 530041
Changes: 
 amanda (1:2.6.1p1-1) unstable; urgency=low
 .
   * new upstream version, closes: #527090, #527489, #486405, #488713
   * tweak configure to ensure ssh support is enabled, closes: #524618, #492352
   * update debian/control to include my git packaging repo location
   * resolve possible bashisms, closes: #530041
Checksums-Sha1: 
 ed133dd4fe33112d767e099328883a7b45fb1095 1879 amanda_2.6.1p1-1.dsc
 796b8748d2bdee21268f6001aa967c95f68c8c51 2848295 amanda_2.6.1p1.orig.tar.gz
 53f1cc0bf2cdcad20e8579c91f7376894140a7f8 36995 amanda_2.6.1p1-1.diff.gz
 c7b5f253a56db6f7471073ae0cb5502b74913d44 1504450 
amanda-common_2.6.1p1-1_i386.deb
 65f47e20720532772fbc58be97cf561132d04c32 433950 
amanda-server_2.6.1p1-1_i386.deb
 4ca6964aa5c8b464fcb9b376fcfd73db89b3896c 194004 
amanda-client_2.6.1p1-1_i386.deb
Checksums-Sha256: 
 28ac46338bf995547296422f14c444aff729b36d93f3e75c3faf522f7f7ffab0 1879 
amanda_2.6.1p1-1.dsc
 23e8523abe5623d4f1f5d7271460d1250309d10897e6da3af8c849bdd20ee921 2848295 
amanda_2.6.1p1.orig.tar.gz
 00cb0484b2c872f2fee47f925cb8a6740ad987e164c4abb916f7f5e472f055d5 36995 
amanda_2.6.1p1-1.diff.gz
 fe204a52c1e70e863537656ea960a566fc5a0aeefde259a96dd5f6757a8df1be 1504450 
amanda-common_2.6.1p1-1_i386.deb
 2466dc0af2da3c7038e0a0ef281e40d9d9c45299ce1fa62358082a2fe167844b 433950 
amanda-server_2.6.1p1-1_i386.deb
 1f998e98eedaa60fb7c3ba085b06a027e80af67ec93eb53c91225a175363d846 194004 
amanda-client_2.6.1p1-1_i386.deb
Files: 
 a4559c475fde4bb6a7cbdd2722d9416f 1879 utils optional amanda_2.6.1p1-1.dsc
 eae0a75f21aa708a8dccf9ea7ac1c631 2848295 utils optional 
amanda_2.6.1p1.orig.tar.gz
 2d02f51d348b912303bfd67e434d1e1c 36995 utils optional amanda_2.6.1p1-1.diff.gz
 4166dbbbdf8dc067180e55d45869f7dc 1504450 utils optional 
amanda-common_2.6.1p1-1_i386.deb
 062b31ebd9ab58682292e553cadbbd7d 433950 utils optional 
amanda-server_2.6.1p1-1_i386.deb
 c94d57817ab4503c3d5e92177b4ae72e 194004 utils optional 
amanda-client_2.6.1p1-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIVAwUBSqaaQjqTYZbAldlBAQqryg//a+bNISBkTZupsFGdWMlcU+/5Z5VJYywO
AEVJHMtDq7DuLGJgiUdAR5HWJsUgloBvMPxvfYKLMAEqgan67ksjWQGOp9EYyytX
0XDygT7fjAHK9bAesjdMbXvf2HAVQUKHfuSyL5gLfquraHCqzo8Fw2NdIvbxGWL9
X3DYy/Th4GZILgkRIAAAQsCa1ioXeCh1caN/6nqiTXBBYZ0yyCY9dDHgEqWvAA8k
xUVeBbGqBxFNfYHIMWRpwM4hmzihWSS08kO2+gKDnpCJlOEzyyfEBFgFj+HocgKf
fr8ukALtHeAnBmbJzl+/f0unBDkpj4VhJJ/yQYMJGwlgDN4jMAE8ss7vViXor6jm
282DUSo1ga+a9r2VKz6DMktZbmoWBaVcuFVtdD8lM5ulKER8G8ARvYobMEB0XCLH
PIR3/5tDWLezIfciaFxZTqyvy438M0oSdqRGi/HoZp0DdtKHdNUIzRQmrmHw3py/
jALReCvUyOrzeiMtGrMSES/ZUneD0QP2UXfL0HPXFhzpDPrlssxbC656Inkze339
XYU9GduQUM464aSycOu4Qde1q5mFQ7bPsIWtjBEI8L6qyIv8yAoxnfPYD/d7kuzl
iqaaR6inRetO12mTqjOQX0cPA2ZnOKO/WHz9/UVExe7gJ3rqWNd4VGcTPTZGQ+px
/BAlJ+soHOA=
=cYdF
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to