Your message dated Sun, 05 Apr 2009 17:19:24 +0000
with message-id <[email protected]>
and subject line Bug#518359: fixed in mksh 37.2-1
has caused the Debian Bug report #518359,
regarding resolvconf: bug in shell script leads to early exit - resolv.conf is 
not filled with nameserver entries - with fix
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.)


-- 
518359: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518359
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: resolvconf
Version: 1.42
Severity: grave
Tags: patch
Justification: renders package unusable

Hello,

the /etc/resolvconf/update.d/libc script contains "set -e", which
means the shell aborts execution if one of the commands returns
a non-zero exit status.

The aforementioned script contains instructions ("[ ... ]") that
do so and thusly fails to work. These familiar with Makefiles,
which exhibit similar behaviour, know to use negative logic, i.e.
[ x != y ] || foo instead of [ x = y ] && foo, instead.

The patch below fixes this problem:

--- /etc/resolvconf/update.d/libc.orig  2009-03-05 17:07:48.000000000 +0000
+++ /etc/resolvconf/update.d/libc       2009-03-05 17:11:10.000000000 +0000
@@ -60,7 +60,9 @@ uniquify()
        RSLT=""
        while [ "$1" ] ; do
                for E in $RSLT ; do
-                       [ "$1" = "$E" ] && { shift ; continue 2 ; }
+                       [ "$1" = "$E" ] || continue
+                       shift
+                       continue 2
                done
                RSLT="${RSLT:+$RSLT }$1"
                shift
@@ -76,7 +78,9 @@ uniquify_nameserver_list()
        N=0
        while [ "$1" ] ; do
                for E in $NMSRVRS ; do
-                       [ "$1" = "$E" ] && { shift ; continue 2 ; }
+                       [ "$1" = "$E" ] || continue
+                       shift
+                       continue 2
                done
                NMSRVRS="${NMSRVRS:+$NMSRVRS }$1"
                case "$TRUNCATE_NAMESERVER_LIST_AFTER_127" in (y|Y|yes|YES|Yes) 
case "$1" in (127.*) return 0 ;; esac ;; esac



-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh

Versions of packages resolvconf depends on:
ii  coreutils                     6.10-6     The GNU core utilities
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip

resolvconf recommends no packages.

resolvconf suggests no packages.

-- debconf information:
* resolvconf/linkify-resolvconf: true
* resolvconf/downup-interfaces:
  resolvconf/link-tail-to-original: false



--- End Message ---
--- Begin Message ---
Source: mksh
Source-Version: 37.2-1

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

mksh_37.2-1.diff.gz
  to pool/main/m/mksh/mksh_37.2-1.diff.gz
mksh_37.2-1.dsc
  to pool/main/m/mksh/mksh_37.2-1.dsc
mksh_37.2-1_amd64.deb
  to pool/main/m/mksh/mksh_37.2-1_amd64.deb
mksh_37.2.orig.tar.gz
  to pool/main/m/mksh/mksh_37.2.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.
Thorsten Glaser <[email protected]> (supplier of updated mksh 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: RIPEMD160

Format: 1.8
Date: Sun, 05 Apr 2009 15:48:16 +0000
Source: mksh
Binary: mksh
Architecture: source amd64
Version: 37.2-1
Distribution: unstable
Urgency: low
Maintainer: Thorsten Glaser <[email protected]>
Changed-By: Thorsten Glaser <[email protected]>
Description: 
 mksh       - enhanced version of the Korn shell
Closes: 518355 518359
Changes: 
 mksh (37.2-1) unstable; urgency=low
 .
   * New upstream version R37b; complete ChangeLog:
     - [tg] Clean up build system and dot.mkshrc some more
     - [tg] Add getrusage(2) implementation using times(3) if none found
     - [tg] Add jobless mode (for Minix 3, Plan 9, …)
     - [tg] Detect the Amsterdam Compiler Kit in the build system
     - [tg] If no RLIM_INFINITY don’t try to do ulimit
     - [tg] Work around gcc4 strict warnings vs. broken system headers
     - [tg] Work around systems with mmap(2) but no munmap(2)
     - [tg] Fix (disallow) bind key macro recursion (instead of beeping
       and going into an endless loop), allow multi-line bind key macros
       (mostly from Alexander Hall), remove dead code (the beeping) and
       optimise
     - [tg] Add (commented out, undesired, standards compliance breaking)
       compatibility code to MidnightBSD 0.1 /bin/sh for ctriv
     - [tg] Clarify the mksh(1) manual page even more
     - [tg] Port to Minix 3 + GCC
   * New upstream version R37; complete ChangeLog:
     - [tg] Rename -o utf8-hack to -o utf8-mode
     - [tg] Fix spacing mode error (pasto) in the mdoc(7) format manpage
     - [tg] Implement $((#…)) unsigned arithmetic calculation, needed for
       arc4random_uniform(3)-in-korn-shell implementation
     - [tg] Really preserve LD_LIBRARY_PATH in check.pl
     - [tg] New Build.sh option ‘-combine’ for building mksh(1) at once
       with “-fwhole-program --combine” (gcc4, llvm-gcc4) if available
     - [tg] Always set COLUMNS and LINES trying as hard as we can, using
       TIOCGWINSZ even if used without FTALKING, and with the sane 80x24
       default if the ioctl(2) fails
     - [tg] Handle _POSIX_VDISABLE being undefined (e.g. Linux/klibc)
     - [tg] <sys/file.h> is only required for flock(2)
     - [tg] Fix multi-column output routine for the corner case if the
       screen is less wide than one output column; 10x Gábor Gergely
     - [tg] Fix ${foo/@(%)/\\x} in UTF-8 mode (utf_widthadj for control
       characters U+0080‥U+009F is slightly broken; this fix shifts the
       brokenness into the command line editing mode only)
     - [tg] Introduce mksh_ari_t and mksh_uari_t internal types to limit
       arithmetics to 32 bit on all systems; currently depending on the
       already-used standard int32_t and uint32_t types. Future expansion
       to 64 bit possible. Document that shell integer variables use this
       type.
     - [tg] The variables PGRP, PPID, RANDOM and USER_ID are now unsigned
     - [tg] Fix two off-by-ones breaking PS1 ending with a newline; bug
       reported by Matthias Diener
     - [tg] Just pass through C1 control characters for now
     - [tg] Code and internal interfaces cleanup
     - [tg] Regression test fixes for Cygwin env(1) being unsorted
     - [tg] Replace the memory allocator by something equally simple and
       homegrown but optimised for use with mksh and free checking
     - [tg] Import a couple of minor fixes (e.g. spelling) from oksh
     - [tg] Fix problems with "set -e" for real; from oksh,
       Closes: #518359
     - [tg] In "set -o posix" mode, have limited echo(1) to improve
       standards compliance; the exact feature set is open for discussion,
       e.g. with pkgsrc® people; for now, only -n as first arg
     - [tg] Make test builtin operator precedence consistent; from oksh
     - [tg] Revamp and fold and enhance the regression tests
     - [tg] Document somewhat surprising behaviour in mksh(1) better;
       here: [ x -eq y ]; for gps23 from #ksh
     - [tg] Reduce memory consumption by allocator simplification
     - [tg] Fix bugs spotted by DEC ucode cc (ULTRIX) and gcc 1.42 (BSD/OS)
     - [laffer1] Make mksh the default /bin/sh in MidnightBSD
   * debian/rules: add support for applying patches to the source code
   * debian/rules: build with new ‘-combine’ option for better optimisation
   * Fix debconf checks if dash is uninstalled; Closes: #518355
   * Use 「--package mksh」 consistently with dpkg-divert
   * debian/control: update package description
   * Upgrade Standards-Version to 3.8.1
     - debian/rules: support nocheck in DEB_BUILD_OPTIONS
     - debian/control: add RCS Id as comment field
   * debian/source.lintian-overrides: add (things not deemed fixable)
     - package-uses-deprecated-debhelper-compat-version (who cares)
     - vcs-field-uses-not-recommended-uri-format (source is available
       via AnonCVS, but pserver must die!)
   * debian/control: prepend :ext: anoncvs protocol to VCS-CVS field
Checksums-Sha1: 
 f84856227f28ac9144bc190b8a6cb49b3ab27c58 1876 mksh_37.2-1.dsc
 d09b1e08bf97db85fbb0a42e6052d11f024c92e6 267164 mksh_37.2.orig.tar.gz
 a40b943a11086843474fd2c9539436b2d80c7554 34997 mksh_37.2-1.diff.gz
 d52083688cfb6daf29cb58395f6493b2ff8ac09d 304392 mksh_37.2-1_amd64.deb
Checksums-Sha256: 
 c6f79ea49dc5cb651b4a17249604f0e34241132fa89af7a21681b3052e68cc9e 1876 
mksh_37.2-1.dsc
 0d2f8778e637ec38c97cf676dd4e67518e131716dd863a0659fe0911e31e74ed 267164 
mksh_37.2.orig.tar.gz
 9c0f59a31b11960c1e5e2b137af78dfafd1c7eec4b24769abcfbb3212b826e45 34997 
mksh_37.2-1.diff.gz
 03403b3e3198b4eb140811406929153c090375153900576bd8e2674545ec1543 304392 
mksh_37.2-1_amd64.deb
Files: 
 58124a98b7e0acfc56528b9b0e011991 1876 shells optional mksh_37.2-1.dsc
 ff5af613a19e94d3fb04927fbaf5d7dd 267164 shells optional mksh_37.2.orig.tar.gz
 9a2bf4da9229ac23661234670db50cc3 34997 shells optional mksh_37.2-1.diff.gz
 beb106c75b29cf3a2961d88f2e48289e 304392 shells optional mksh_37.2-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MirBSD)

iQIcBAEBAwAGBQJJ2NlCAAoJEHa1NLLpkAfgfvUQAJTkpob1sCyQb1x9bWvsfXz9
8JVe+k3DLEvkg1kDiPsI9sbYIxRvCh8arDmdAJMrONCic/5X3gzcFfcolgJk2T/D
rP21ZWsnrSFjGhSXsHfzUPtREhKAS9q8aADKmkPeOS8tFSwVVm3kVKbncUW5NuBM
lUVA6mj3IjDYmYrT53Fc83BccaUlRcz868rsQOEWvC/LCAtPDyslUIj+yTUzTLql
2kLMFEipBbVK/uT9ck/zu8OcaTl21BgfuG3UkzX2yHLq48uECAAXLekQ8M39gn0v
zyJKRYK+aC/yrTWUXYZgiKvn921jTfanK6IsRk/DMx/4+3xW+41a1RwhhSdg4duh
KrqFZsqwf3S3Q3gZxx23OPLr5dhPJ/UftcFGfybjLNsPKpTqf89NSuokhiNRBYaE
W1fNOwle3iaeT057Yu18dUHZ3DOd+bMixkswfvqBNmUeOsOUunits9sXgE41FVYq
I55LYitVfTxTSwg3drDmBe6inGmPltWqUKE7hoOstY5EG7fuPxgKcGA7vwJh7zSH
EmBtyw8zYKHo8lnAYFjm0Lpca3Riex/Iyc4v9lR3tbqd4wDZ4M8XvJr7z6ZFddSB
N0yaGfV3eeQOUrMjn+2xnUP/NzS/nRIkRJZ4Jqc5UwafzZop8tvGUDUY9Gp6kQEf
LKXsvrKWiSulbPLd/lqm
=LUDL
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to