Your message dated Mon, 04 Aug 2008 00:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#493505: fixed in lsb 3.2-17
has caused the Debian Bug report #493505,
regarding lsb-base: bashism in init-functions + kills networking on reboot on 
systems where /bin/sh = /bin/bash
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.)


-- 
493505: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493505
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: lsb-base
Version: 3.2-16
Severity: grave

There is a bashism in /usr/lib/init-functions that breaks some init
scripts. For example checkroot.sh breaks when system is running on
battery power in log_warning_msg, this causes root fs munted read-only,
this also cases strange bugs after. So severity is grave.

The problem is that log_warning_msg does the following call:
     log_end_msg -1

log_end_msg contains at the end of the function:
     return $1

this gives:
     return -1

That works in bash and zsh, for example. But it does not work with dash.
IEEE Std 1003.1, 2004 Edition says this about return built-in:
   EXIT STATUS
      The value of the special parameter '?' shall be set to n, an
      _unsigned_ decimal integer, or to the exit status of the last
      command executed if n is not specified....
  (see http://www.opengroup.org/onlinepubs/000095399/utilities/return.html)

So dash is posix-compliant. Problem can be solved by using 255 instead
of -1.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27-rc1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lsb-base depends on:
ii  ncurses-bin               5.6+20080713-1 terminal-related programs and man 
ii  sed                       4.1.5-8        The GNU sed stream editor

lsb-base recommends no packages.

lsb-base suggests no packages.

-- debconf-show failed



--- End Message ---
--- Begin Message ---
Source: lsb
Source-Version: 3.2-17

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

lsb-base_3.2-17_all.deb
  to pool/main/l/lsb/lsb-base_3.2-17_all.deb
lsb-core_3.2-17_i386.deb
  to pool/main/l/lsb/lsb-core_3.2-17_i386.deb
lsb-cxx_3.2-17_i386.deb
  to pool/main/l/lsb/lsb-cxx_3.2-17_i386.deb
lsb-desktop_3.2-17_i386.deb
  to pool/main/l/lsb/lsb-desktop_3.2-17_i386.deb
lsb-graphics_3.2-17_i386.deb
  to pool/main/l/lsb/lsb-graphics_3.2-17_i386.deb
lsb-languages_3.2-17_i386.deb
  to pool/main/l/lsb/lsb-languages_3.2-17_i386.deb
lsb-multimedia_3.2-17_i386.deb
  to pool/main/l/lsb/lsb-multimedia_3.2-17_i386.deb
lsb-printing_3.2-17_i386.deb
  to pool/main/l/lsb/lsb-printing_3.2-17_i386.deb
lsb-qt4_3.2-17_i386.deb
  to pool/main/l/lsb/lsb-qt4_3.2-17_i386.deb
lsb-release_3.2-17_all.deb
  to pool/main/l/lsb/lsb-release_3.2-17_all.deb
lsb_3.2-17.dsc
  to pool/main/l/lsb/lsb_3.2-17.dsc
lsb_3.2-17.tar.gz
  to pool/main/l/lsb/lsb_3.2-17.tar.gz
lsb_3.2-17_all.deb
  to pool/main/l/lsb/lsb_3.2-17_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.
Chris Lawrence <[EMAIL PROTECTED]> (supplier of updated lsb 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: Sun, 03 Aug 2008 10:15:45 -0500
Source: lsb
Binary: lsb-core lsb-graphics lsb-cxx lsb-desktop lsb-qt4 lsb-languages 
lsb-multimedia lsb-printing lsb lsb-base lsb-release
Architecture: source all i386
Version: 3.2-17
Distribution: unstable
Urgency: low
Maintainer: Chris Lawrence <[EMAIL PROTECTED]>
Changed-By: Chris Lawrence <[EMAIL PROTECTED]>
Description: 
 lsb        - Linux Standard Base 3.2 support package
 lsb-base   - Linux Standard Base 3.2 init script functionality
 lsb-core   - Linux Standard Base 3.2 core support package
 lsb-cxx    - Linux Standard Base 3.2 C++ support package
 lsb-desktop - Linux Standard Base 3.2 Desktop support package
 lsb-graphics - Linux Standard Base 3.2 graphics support package
 lsb-languages - Linux Standard Base 3.2 Runtime Languages package
 lsb-multimedia - Linux Standard Base 3.2 Multimedia package
 lsb-printing - Linux Standard Base 3.2 Printing package
 lsb-qt4    - Linux Standard Base 3.2 Qt4 support package
 lsb-release - Linux Standard Base version reporting utility
Closes: 493505
Changes: 
 lsb (3.2-17) unstable; urgency=low
 .
   * log_{success,failure,warning}_msg suck, please don't use them for
     Debian scripts.  Nonetheless, breakage fixed.  (Closes: #493505)
Checksums-Sha1: 
 9f85896ab4f7862c8573a6729736c6eebb9effbf 958 lsb_3.2-17.dsc
 dd7f21d960f426a3f1f5c49e470e07ffcd54e3eb 52065 lsb_3.2-17.tar.gz
 4ac24fe789e600d6234582bf7fe8fcfbad785bc6 14230 lsb_3.2-17_all.deb
 60b4cb91dc4acb5246e1a5cfbda30018d25f9fad 19378 lsb-base_3.2-17_all.deb
 bcd2748201cdc9c3761a0a59c177f107ebf44ee5 19866 lsb-release_3.2-17_all.deb
 4a8563af0c3a33f1bb45f82ec657a65de42ee964 37862 lsb-core_3.2-17_i386.deb
 6ec551704724507f4bb9c6186514f10796c39217 14268 lsb-graphics_3.2-17_i386.deb
 842785a85e4550e134e98035e5a2ce5879bb4307 14234 lsb-cxx_3.2-17_i386.deb
 f7cf2d5e7f49efdec5bb4efabb3052e614879bd7 14364 lsb-desktop_3.2-17_i386.deb
 3c88a9e0fb5d583607064362c1d4f3f34ae3b1c8 14300 lsb-qt4_3.2-17_i386.deb
 b511c74da758a05459193815cd3ed5cf729009da 14258 lsb-languages_3.2-17_i386.deb
 1b20b704ebc18e4adfefe9911500290f18c55957 14242 lsb-multimedia_3.2-17_i386.deb
 4f29fbd865f516d1607526d1b36b9974f5d7853e 14264 lsb-printing_3.2-17_i386.deb
Checksums-Sha256: 
 4ffc0f0158864134a6fa6104ee0711ade7278d9489b242fb44cc638484ca528c 958 
lsb_3.2-17.dsc
 f8f0168c2b066b2949dff153116141d4f16e581ff5c5365ddb51f844364bc389 52065 
lsb_3.2-17.tar.gz
 c847108b07d340e5100e71522f15b60de6825c4d2ccf903a855559f190b94e8e 14230 
lsb_3.2-17_all.deb
 ad27434384685631e1c85eb4f97f7927bc927713166055fae2ab85d9cb98e8ad 19378 
lsb-base_3.2-17_all.deb
 6a20969c05367ce98f7d55c2d5c83476d34e6be98028e1a6dd55bd0eee47b926 19866 
lsb-release_3.2-17_all.deb
 4ab91353f2f537339951d7d8194355f2efbd5ece3ff0ed31f5e63f75fafa1fd8 37862 
lsb-core_3.2-17_i386.deb
 75c3bac2fccdacf88b2b86729a1cc78acf92e804f9c75beff92bb6bed288ff0d 14268 
lsb-graphics_3.2-17_i386.deb
 c4d132e07ff8e1d77991c6026a8c8cf9d61ce1e117b7ad69ed23095bbf742b20 14234 
lsb-cxx_3.2-17_i386.deb
 e4d0aa92e59426126a922341003715029903aae53004d3f72ff5084f451c066f 14364 
lsb-desktop_3.2-17_i386.deb
 ab37995894095b429cca01ef9b3269d0862cd767cfb35a6a6444a22b80cfe8ac 14300 
lsb-qt4_3.2-17_i386.deb
 a5269b5d912cbec6d15ae86ef73ca4fa29155af4640f1c3c92db75f6cc41c98e 14258 
lsb-languages_3.2-17_i386.deb
 dac21dfff6d7e45116ac703078dbddcea66015f14e5dcca31f79b772f337e1a5 14242 
lsb-multimedia_3.2-17_i386.deb
 f7f825831be199964540604c4fb4fc960a2844ea828f92af26fe66a802f12b62 14264 
lsb-printing_3.2-17_i386.deb
Files: 
 d009db80a7d733a5b3dca4c6c5c8dffe 958 misc extra lsb_3.2-17.dsc
 06384ebe58ae874577e4618ec18f50b7 52065 misc extra lsb_3.2-17.tar.gz
 29d527ff71459d88ecb957492d147e5c 14230 misc extra lsb_3.2-17_all.deb
 57358fb5bf5ef45507d4413195a359da 19378 misc required lsb-base_3.2-17_all.deb
 51b5fc07f7a02feb487725f5ca1c468c 19866 misc extra lsb-release_3.2-17_all.deb
 16a59add8404c5af2d0e87c38669063c 37862 misc extra lsb-core_3.2-17_i386.deb
 5fb0bed78626cb14fa1e2fe5ad382afc 14268 misc extra lsb-graphics_3.2-17_i386.deb
 1b49505d7f63e3a102fb04dd32bb718a 14234 misc extra lsb-cxx_3.2-17_i386.deb
 089c3ef241ede974b106e4ae24528101 14364 misc extra lsb-desktop_3.2-17_i386.deb
 b157310e98c5c97ac50270c0d99c1439 14300 misc extra lsb-qt4_3.2-17_i386.deb
 79b1337415690285dc87eb9c66e9f3e8 14258 misc extra lsb-languages_3.2-17_i386.deb
 a9960188a162411244188ad40af0b8ac 14242 misc extra 
lsb-multimedia_3.2-17_i386.deb
 28b601ec74a1ea24f37acceafc4d1879 14264 misc extra lsb-printing_3.2-17_i386.deb

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

iD8DBQFIlc3v2wQKE6PXubwRApisAKDehTAP2BwiY950M0MZnDOTeda8SACfaTE1
PgMqlFB36C7AlB8KY02i9NI=
=Sjs2
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to