Your message dated Sun, 21 Mar 2010 07:47:53 +0000
with message-id <[email protected]>
and subject line Bug#557648: fixed in sysvinit 2.87dsf-9
has caused the Debian Bug report #557648,
regarding Confusing mix of different styles in /lib/init/vars.sh
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.)


-- 
557648: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557648
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: initscripts
Version: 2.87dsf-8
Severity: normal
File: /lib/init/vars.sh
Tags: patch

Hi,

the vars.sh script uses different code styles to check for noswap and
quiet options in /proc/cmdline that makes reading the code harder. It
can also get confused by similary spelled options:

  % echo not-quiet | grep -qw quiet && echo quiet
quiet

The attached vars.sh script adds default values (so they never are
undefined) that can be overriden in /etc/defaults/rcS and then uses a
for loop with case statements to parse /proc/cmdline.

MfG
        Goswin

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

Kernel: Linux 2.6.31.5 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages initscripts depends on:
ii  coreutils                     8.0-2      GNU core utilities
ii  debianutils                   3.2.2      Miscellaneous utilities specific t
ii  libc6                         2.10.1-7   GNU C Library: Shared libraries
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  mount                         2.16.1-4   Tools for mounting and manipulatin
ii  sysv-rc                       2.87dsf-8  System-V-like runlevel change mech
ii  sysvinit-utils                2.87dsf-8  System-V-like utilities

Versions of packages initscripts recommends:
ii  e2fsprogs                     1.41.9-1   ext2/ext3/ext4 file system utiliti
ii  psmisc                        22.8-1     utilities that use the proc file s

initscripts suggests no packages.

-- no debconf information
#
# Set rcS vars
#

# Set defaults
TMPTIME=0
SULOGIN=no
DELAYLOGIN=no
UTC=no
VERBOSE=no
FSCKFIX=no
NOSWAP=no

# Source conffile
if [ -f /etc/default/rcS ]; then
    . /etc/default/rcS || true
fi

# Parse kernel command line
if [ -r /proc/cmdline ]; then
    for ARG in $(cat /proc/cmdline); do
        case $ARG in
            # check for bootoption 'noswap' and do not activate swap
            # partitions/files when it is set.
            (noswap) NOSWAP=yes; break;;
            # Accept the same 'quiet' option as the kernel
            (quiet) VERBOSE=no; break;;
        esac
    done
fi

# But allow both rcS and the kernel options 'quiet' to be overrided
# when INIT_VERBOSE=yes is used as well.
[ "$INIT_VERBOSE" ] && VERBOSE="$INIT_VERBOSE" || true

--- End Message ---
--- Begin Message ---
Source: sysvinit
Source-Version: 2.87dsf-9

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

initscripts_2.87dsf-9_i386.deb
  to main/s/sysvinit/initscripts_2.87dsf-9_i386.deb
sysv-rc_2.87dsf-9_all.deb
  to main/s/sysvinit/sysv-rc_2.87dsf-9_all.deb
sysvinit-utils_2.87dsf-9_i386.deb
  to main/s/sysvinit/sysvinit-utils_2.87dsf-9_i386.deb
sysvinit_2.87dsf-9.diff.gz
  to main/s/sysvinit/sysvinit_2.87dsf-9.diff.gz
sysvinit_2.87dsf-9.dsc
  to main/s/sysvinit/sysvinit_2.87dsf-9.dsc
sysvinit_2.87dsf-9_i386.deb
  to main/s/sysvinit/sysvinit_2.87dsf-9_i386.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.
Petter Reinholdtsen <[email protected]> (supplier of updated sysvinit 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, 21 Mar 2010 08:19:38 +0100
Source: sysvinit
Binary: sysvinit sysvinit-utils sysv-rc initscripts
Architecture: source i386 all
Version: 2.87dsf-9
Distribution: unstable
Urgency: low
Maintainer: Debian sysvinit maintainers 
<[email protected]>
Changed-By: Petter Reinholdtsen <[email protected]>
Description: 
 initscripts - scripts for initializing and shutting down the system
 sysv-rc    - System-V-like runlevel change mechanism
 sysvinit   - System-V-like init utilities
 sysvinit-utils - System-V-like utilities
Closes: 505468 540008 552029 557648
Changes: 
 sysvinit (2.87dsf-9) unstable; urgency=low
 .
   [ Petter Reinholdtsen ]
   * Correct typo preventing sysv-rc error messages to be sent to stderr.
   * Only override VERBOSE in /lib/init/vars.sh based on kernel
     argument when called from /etc/init.d/rc (Closes: #505468).
   * Only use /proc/cmdline to override VERBOSE setting during boot if
     it is readable (Closes: #540008).
   * Only send SIGUSR to init from init.d/mountall.sh when /dev/initctl
     was created, to reduce the chance of confusing upstart (Related to
     #569032).
   * Make kernel argument parsing in /lib/init/vars.sh more robust to
     avoid incorrect matches (Closes: #557648).
   * Enable swap earlier in the boot, to avoid running out of memory
     during fsck (Closes: #552029).
   * Update upstream email address in the README to the current one.
Checksums-Sha1: 
 1ff5e5d05e51371a4b3f25f7a28524f0e1b7ff41 1501 sysvinit_2.87dsf-9.dsc
 798a628fba8c9a63b44cdd71082e0bcc4b21a9b4 163562 sysvinit_2.87dsf-9.diff.gz
 ca86c0cc3075e3ab79e82f854860ae2548a78b61 107818 sysvinit_2.87dsf-9_i386.deb
 64e5f157c6543743bf8b61c4dc8e64203f86d24f 107730 
sysvinit-utils_2.87dsf-9_i386.deb
 3297c79a16d7ac38732ff23e54cb4b3b8b39127c 64366 initscripts_2.87dsf-9_i386.deb
 fba04c518f1bc1fabadcd963404e90c04dfee382 57460 sysv-rc_2.87dsf-9_all.deb
Checksums-Sha256: 
 4d1c57e2cf3be105726096a05aa50010732acdcaa5752a2019d0468984da756f 1501 
sysvinit_2.87dsf-9.dsc
 09c20f887dca48a1878f99ca4d5918d8c19247506e29f8365db9ddd68fe04d08 163562 
sysvinit_2.87dsf-9.diff.gz
 168c0cf5a162b5ad474f7943b0b6156a417d72397f8132b29e2582318871ac9d 107818 
sysvinit_2.87dsf-9_i386.deb
 12675ff9ea1bdd8a0ac378277f8ecae131fb9fa8363f8ab3c5d5ba6ba04619ac 107730 
sysvinit-utils_2.87dsf-9_i386.deb
 3310eb2ab63a572285b48ba301d82bc9e79baabc32bbde3416c3a86baa8a31c9 64366 
initscripts_2.87dsf-9_i386.deb
 7abe5b158fb2e0aa1b6ca968d1c9dba0c8d52ef8b662f95c26aa7f6daa8b1f64 57460 
sysv-rc_2.87dsf-9_all.deb
Files: 
 1e5cd15087caf00d36eb7e3f6c9c0caa 1501 admin required sysvinit_2.87dsf-9.dsc
 a087df9761b2eff5ef664c2a3c9efe7b 163562 admin required 
sysvinit_2.87dsf-9.diff.gz
 5e73b920508d22d38489c58781ca1314 107818 admin required 
sysvinit_2.87dsf-9_i386.deb
 7110e10e1297be17e4734eec720f664c 107730 admin required 
sysvinit-utils_2.87dsf-9_i386.deb
 2391b1a564a1b8b465911985c8f419e4 64366 admin required 
initscripts_2.87dsf-9_i386.deb
 1b704244520daf81ce1d3570ffb1c5dd 57460 admin required sysv-rc_2.87dsf-9_all.deb

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

iD8DBQFLpcvD20zMSyow1ykRAr32AJwNRrAkiO4TgsmAFON10GEVwykpnwCg32GD
aerUrLAfPoMLnhPE9Ze0OYA=
=nHKv
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to