[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#486061: marked as done (xdebconfigurator: bashism in /bin/sh script)



Your message dated Wed, 25 Jun 2008 17:47:21 +0000
with message-id <E1KBZ5V-0007bM-A0@ries.debian.org>
and subject line Bug#486061: fixed in xdebconfigurator 1.34
has caused the Debian Bug report #486061,
regarding xdebconfigurator: 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 owner@bugs.debian.org
immediately.)


-- 
486061: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486061
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xdebconfigurator
Severity: important
Version: 1.33
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 one or more /bin/sh scripts making 
use of bashisms.

checkbashisms' output:
> possible bashism in ./etc/init.d/xdebconfigurator line 50 ($"foo" should be
> eval_gettext "foo"): 
> echo $"Usage: $0 {start|stop|restart|force-reload|status}"

Not using bash (or a Debian Policy conformant shell interpreter which does 
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's a 
release goal for Lenny to make dash the default /bin/sh[1].

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 please refer to the Debian Policy section 10.4 supporting 
this argument 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

[1]http://release.debian.org/lenny/goals.txt

Thank you,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



--- End Message ---
--- Begin Message ---
Source: xdebconfigurator
Source-Version: 1.34

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

xdebconfigurator_1.34.dsc
  to pool/main/x/xdebconfigurator/xdebconfigurator_1.34.dsc
xdebconfigurator_1.34.tar.gz
  to pool/main/x/xdebconfigurator/xdebconfigurator_1.34.tar.gz
xdebconfigurator_1.34_all.deb
  to pool/main/x/xdebconfigurator/xdebconfigurator_1.34_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 486061@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere@debian.org> (supplier of updated xdebconfigurator 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 25 Jun 2008 19:32:45 +0200
Source: xdebconfigurator
Binary: xdebconfigurator
Architecture: source all
Version: 1.34
Distribution: unstable
Urgency: low
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
Description: 
 xdebconfigurator - A script used with debconf to autoconfigure xserver-xorg
Closes: 286668 305423 305426 418746 486061
Changes: 
 xdebconfigurator (1.34) unstable; urgency=low
 .
   * Rewrite how ddcprobe output is processed, to handle all listed
     resolutions and fetch monitor frequence.
   * Add example output from ddcprobe on a few machines.
   * Add support for xresprobe, and prefer it over ddcprobe.  Recommend
     it instead of read-edid (Closes: #286668, #305423, #305426,
     #418746).
   * Rewrite handling of the monitor database
     (/usr/share/hwdata/MonitorsDB), to use the values there if the
     eisa ID is there.  This allow us to override monitors with
     incorrect DDC information.
   * Start on our own MonitorsDB file, to allow us to include our own
     override values, and also use a file in /etc/ for site specific
     overrides.
   * Remove obsolete base-config fragments.
   * Updated standards-version to 3.8.0.
   * Avoid bashism in init.d script (Closes: #486061).
Files: 
 d82d7124cd0762f5fd559b1e3f4a9d60 732 x11 optional xdebconfigurator_1.34.dsc
 b58d3b916f0eabe55a75c37f7f189994 32799 x11 optional xdebconfigurator_1.34.tar.gz
 4f0fa0839bfe244fee6d1225902d0ea6 28066 x11 optional xdebconfigurator_1.34_all.deb

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

iD8DBQFIYoJj20zMSyow1ykRAsAfAKCzGcTyy1r8h6FGBPSYPr+Z/qO31ACg6XuR
dbWYFvwdJdzSHwZePWGZp4o=
=oR5e
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: