Your message dated Fri, 29 May 2009 12:48:09 +0000
with message-id <[email protected]>
and subject line Bug#530147: fixed in munin 1.2.6-12
has caused the Debian Bug report #530147,
regarding munin-plugins-extra: 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.)
--
530147: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530147
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: munin-plugins-extra
Severity: important
Version: 1.2.6-10
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/share/munin/plugins/exim_mailqueue_alt line 42
> (should be 'b = a'):
> if [ "$1" == "config" ]; then
> possible bashism in ./usr/share/munin/plugins/foldingathome_wu line 34
> (should be 'b = a'):
> if [ "$wu" == "" ]; then
> possible bashism in ./usr/share/munin/plugins/netopia line 27
> ($HOST(TYPE|NAME)):
> echo "host_name $HOSTNAME"
> possible bashism in ./usr/share/munin/plugins/netopia line 48
> ($HOST(TYPE|NAME)):
> snmpget -Ov $HOSTNAME $COMMUNITY interfaces.ifTable.ifEntry.ifInOctets.3 |
> sed 's/^.*: //'
> possible bashism in ./usr/share/munin/plugins/netopia line 50
> ($HOST(TYPE|NAME)):
> snmpget -Ov $HOSTNAME $COMMUNITY interfaces.ifTable.ifEntry.ifOutOctets.3 |
> sed 's/^.*: //'
> possible bashism in ./usr/share/munin/plugins/foldingathome_rank line 34
> (should be 'b = a'):
> if [ "$rank" == "" ]; then
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: munin
Source-Version: 1.2.6-12
We believe that the bug you reported is fixed in the latest version of
munin, which is due to be installed in the Debian FTP archive:
munin-node_1.2.6-12_all.deb
to pool/main/m/munin/munin-node_1.2.6-12_all.deb
munin-plugins-extra_1.2.6-12_all.deb
to pool/main/m/munin/munin-plugins-extra_1.2.6-12_all.deb
munin_1.2.6-12.diff.gz
to pool/main/m/munin/munin_1.2.6-12.diff.gz
munin_1.2.6-12.dsc
to pool/main/m/munin/munin_1.2.6-12.dsc
munin_1.2.6-12_all.deb
to pool/main/m/munin/munin_1.2.6-12_all.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.
Holger Levsen <[email protected]> (supplier of updated munin 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: Fri, 29 May 2009 14:31:23 +0200
Source: munin
Binary: munin-node munin-plugins-extra munin
Architecture: source all
Version: 1.2.6-12
Distribution: unstable
Urgency: low
Maintainer: Munin Debian Maintainers <[email protected]>
Changed-By: Holger Levsen <[email protected]>
Description:
munin - network-wide graphing framework (grapher/gatherer)
munin-node - network-wide graphing framework (node)
munin-plugins-extra - network-wide graphing framework (user contributed
plugins for nod
Closes: 500226 501189 505684 510307 521355 523239 530147
Changes:
munin (1.2.6-12) unstable; urgency=low
.
* Fix bashisms in several plugins in munin-plugins-extra, thanks to
Raphael Geissert for the bug and the patch. (Closes: #530147)
* Fix hardcode upsname in nut_misc and nut_volts plugins, thanks to Joey
Hess for the bug and Stig Sandbeck Mathisen for the patch.
(Closes: #521355)
* munin.postinst and munin-node.postinst: workaround bug in xen-tools
(#531021) by creating the munin group if it doesn't exist.
(Closes: #501189)
* Add patch to linux cpu plugin to output correct graph if HZ value != 100,
thanks to Valentin Vidic for the patch. (Closes: #500226)
* Add patch to acpi plugin to call acpi without -B as requiered by acpi in
lenny and newer, thanks to Joey Hess. (Closes: #523239)
* Include ejabberd plugin in munin-plugins-extra. Thanks to Christian Dröge
for the plugin. (Closes: #505684)
* Include various plugins for asterisk in munin-plugins-extra. Thanks to
Rodolphe Quiedeville and Jan Prunk for the plugins. (Closes: #510307)
Checksums-Sha1:
06b165c3c1f2f62ab7803c00be9a28df33170477 1380 munin_1.2.6-12.dsc
9a8ce9a77da03e38b597b27f5e2185c035fd3c72 61070 munin_1.2.6-12.diff.gz
efa61fe3c095c78c4c60acb6acf3ed2276708731 613554 munin_1.2.6-12_all.deb
bb89a7a59916ca4e16ae074398efea17f20ddc2c 662498 munin-node_1.2.6-12_all.deb
c1879aa52948938119b2d5fee454c7df44f8041a 80128
munin-plugins-extra_1.2.6-12_all.deb
Checksums-Sha256:
8b89bf51a9af8d59840e9a2793d7126e9ab240bd625403aac22431cd1c38bb0c 1380
munin_1.2.6-12.dsc
8487c8643c697ca36e9366035b3a2d017cc5b02c3842c7c3a5c16958287b7285 61070
munin_1.2.6-12.diff.gz
55f24ba4f890cf9d6fa22023d13d2d57d7addb7f9db2248f1f836983830aae51 613554
munin_1.2.6-12_all.deb
a2717faed0a609cafc8b7fbc4b49da71bbf0665c1aa5081d736b7a2aead9b0e3 662498
munin-node_1.2.6-12_all.deb
a73a9bf01d18a6609753a7762208abf7951c9c5475196cd71caa8d14b7fe704e 80128
munin-plugins-extra_1.2.6-12_all.deb
Files:
89b109eb73d360b68585f5a9a569616b 1380 net optional munin_1.2.6-12.dsc
433c532eaff38f73190aea7c38b78ff0 61070 net optional munin_1.2.6-12.diff.gz
20d0569fce189f875b5f1df719690a5b 613554 net optional munin_1.2.6-12_all.deb
f3b4cef16334925e00d4e14812be410c 662498 net optional
munin-node_1.2.6-12_all.deb
bd0411f9833078918a1ee70b21cbc01a 80128 net optional
munin-plugins-extra_1.2.6-12_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKH9a5UHLQNqxYNSARAv+GAJ9BFWk37XhB1qp/hm7Kg4dEI6WJsgCgpy9A
4qQutVO4uwnl9tRfQ7eC2Ho=
=5lqZ
-----END PGP SIGNATURE-----
--- End Message ---