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

Bug#486029: marked as done (debian-edu-config: bashism in /bin/sh script)



Your message dated Wed, 16 Jul 2008 11:47:02 +0000
with message-id <E1KJ5TK-0002L1-Q8@ries.debian.org>
and subject line Bug#486029: fixed in debian-edu-config 1.421
has caused the Debian Bug report #486029,
regarding debian-edu-config: 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.)


-- 
486029: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486029
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-edu-config
Severity: important
Version: 1.418
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/fetch-ldap-cert line 49 ($"foo" should be
> eval_gettext "foo"): 
> echo $"Usage: $0 {start|stop|restart|force-reload}" 
> possible bashism in ./etc/init.d/enable-nat line 86 ($"foo" should be
> eval_gettext "foo"):  
> echo $"Usage: $0 {start|stop|restart|force-reload|status}" 
> possible bashism in ./etc/init.d/open-backdoor line 115 ($"foo" should be
> eval_gettext "foo"): 
> echo $"Usage: $0 {start|stop|restart|force-reload|status}" 
> possible bashism in 
> ./etc/init.d/report-reboot line 68 ($"foo" should be eval gettext "foo"):
> echo $"Usage: $0 {start|stop|restart|force-reload}"
> possible bashism in ./etc/init.d/update-hostname line 64 ($"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: debian-edu-config
Source-Version: 1.421

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

debian-edu-config_1.421.dsc
  to pool/main/d/debian-edu-config/debian-edu-config_1.421.dsc
debian-edu-config_1.421.tar.gz
  to pool/main/d/debian-edu-config/debian-edu-config_1.421.tar.gz
debian-edu-config_1.421_all.deb
  to pool/main/d/debian-edu-config/debian-edu-config_1.421_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 486029@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Holger Levsen <holger@debian.org> (supplier of updated debian-edu-config 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.8
Date: Wed, 16 Jul 2008 11:31:45 +0000
Source: debian-edu-config
Binary: debian-edu-config
Architecture: source all
Version: 1.421
Distribution: unstable
Urgency: low
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Holger Levsen <holger@debian.org>
Description: 
 debian-edu-config - Configuration files for Skolelinux systems
Closes: 486029
Changes: 
 debian-edu-config (1.421) unstable; urgency=low
 .
   [ Petter Reinholdtsen ]
   * Correct DHCP server configuration in LDAP and on disk.
   * Report test duration instead of time stamps.
   * Remove obsolete code in testsuite used to to rename
     /etc/skolelinux/config to /etc/debian-edu/config.
   * Speed up some tests by reducing number of ping packages used from
     3 to 1.
   * Speed up DNS test suite by only looking up external DNS entries if
     ping reches the the IP address in question.
   * Speed up package installation test by only quering dpkg once for
     the list of installed packages.
   * Correct timezone test to work properly, and fix bugs in handling
     of BR and SE country codes.
   * Depend on discover | discover1 for the hardware test.
   * Increase cfengine editfilesize from 150k to 200k, to make sure it
     can edit squid.conf (now 164k).
   * Update syslog configuration to configure rsyslog instead of
     sysklogd.
   * Move iceweasel client proxy setting from cf.iceweasel to cf.squid
     to have it next to the configuration of environment and KDE.  This
     make cf.iceweasel obsolete.  Remove the conffile.
   * Change wpad URL passed on using DHCP from http://10.0.2.2/wpad.dat
     to http://www/wpad.dat, to make it easier to redirect using DNS.
     Add the wpad info to the DHCP packages sent on the thin client
     network too.
   * Remove obsolete debian/debian-edu-config.modules and the call to
     dh_installmodules.  It was useful in Woody, a long time ago.
   * Depend on resolvconf to get the correct DNS client configuration.
   * Change iceweasel and KDE proxy settings to use "Web Access
     Protocol Discovery" for proxy configuration, to avoid hardcoding
     proxy settings on the clients.  Add wpad DNS alias to get this
     working with Firefox.
   * Remove KDE test to check for the new proxy setting indicator, as it no
     longer make sense.
   * Change LTSP test to look for /etc/hosts in the chroot, not just the
     /etc/ directory, as the latter is generated by cfengine.
   * Add a rootDSE ldif entry to provide extra information in the
     OpenLDAP rootDSE.
   * Add RFC 2782 style service entries for ldap, http and syslog in
     DNS.
   * Add smtp-server and www-server options to the DHCP server setup,
     pointing to http://www/ and postoffice.
   * Provide replacement /etc/dhcp3/dhclient.conf file, to add options
     ntp-servers, log-servers, smtp-server, www-server, wpad-url to the
     request list.
   * Add script /usr/sbin/debian-edu-pxeinstall to generate a PXE boot
     environment for installing Debian Edu.
   * Provide PXE boot image /var/lib/tftpboot/debian-edu/pxelinux.0
     on backbone network by default, and enable PXE installation.
     Depend on atftpd | tftpd-hpa, tftp, syslinux, memtest86 and
     debian-edu-artwork to get the needed files.
   * Add empty netgroup shutdown-at-night-hosts for make it easier to
     activate it on clients.  Add generator for the server part using
     this netgroup.
   * Fix samba test to run only on Main-Server, where the samba packages
     are installed.
   * Add cron job to automatically run 'debian-edu-fsautoresize -n' on
     hosts listed as member of the fsautoresize-hosts netgroup, to make
     it easier to automatically extend LVM volumes on a large site.
   * Change testsuite/ldap-client to use the LDAP rootDSE to locate the
     LDAP base.
   * Remove unused and old LDAP schemas norEduPerson and EduPerson.
   * Added script /usr/share/debian-edu-config/tools/qemu-test-network
     to test a complete network using qemu.
   * Rewrite how the networked desktop-profile settings are enabled, to
     activate when the education-networked package is installed, instead
     of when the education-standalone package is not installed.
   * Edit init.d scripts to remove bashism in text output.  No use
     providing translation hooks when the rest of the i18n framework
     is missing (Closes: #486029).
   * Move etcinsvk from Recommends to Depends, to make sure it always is
     installed.
 .
   [ Holger Levsen ]
   * Remove obsolete code checking for /etc/skolelinux in
     bin/debian-edu-hd-warn, share/debian-edu-config/tools/logoutkill.sh
     and share/debian-edu-config/tools/nightkill.sh
   * Change the hardcoded distribution name in /usr/sbin/debian-edu-pxeinstall
     to lenny, so that this will continue to work when testing becomes stable.
   * Rewrite test for etcinsvk in postinst to keep lintians checkbashism test
     quiet.
Checksums-Sha1: 
 a290052b09f83819a347f2da5f0f0f5888b9eb67 1293 debian-edu-config_1.421.dsc
 a317b105e0aeca5a69094568905f7c301f56aab6 235999 debian-edu-config_1.421.tar.gz
 6f1d768b2beb9548685a63c276624f1f4db28d3e 207302 debian-edu-config_1.421_all.deb
Checksums-Sha256: 
 acce9d4e3b90736b3191a0559c216fffff5daab7c56e038d1e96c8597f96eb2a 1293 debian-edu-config_1.421.dsc
 f0db08f424dd2f3a5252b6821c5864df57b9d6346aea6ad5678dfe5b02e3e044 235999 debian-edu-config_1.421.tar.gz
 0b467c1f715f7169ce0003eb53e41f3fe5c66bc2e3ab2139d8d8559ff9d74079 207302 debian-edu-config_1.421_all.deb
Files: 
 1b1fe9a1141bf72b230064f101f375d1 1293 misc optional debian-edu-config_1.421.dsc
 07f9d413c19de931bbfafed53a86bd5f 235999 misc optional debian-edu-config_1.421.tar.gz
 f10bee858fde1eae4cf3c3db04802095 207302 misc optional debian-edu-config_1.421_all.deb

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

iD8DBQFIfd8eUHLQNqxYNSARAmc0AKCltHspsA52r7IPoc4GEhjANZ4bPwCgqUQg
S1KW+LdXdmVu8Qk0yYxZ9/o=
=nkUj
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: