Your message dated Fri, 30 Jun 2006 13:47:07 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#292632: fixed in file-rc 0.8.8
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: file-rc
Version: 0.8.7
Severity: normal
Tags: patch

Hi,

posh is a very strictly POSIX implementation, which shows some errors in
your rc and rcS script.

stty: Standardeingabe: Das Argument ist ungültig
rc: 2 -> 0
/etc/init.d/rc:96: [: -a: unexpected operator/operand
Reading configuration file /etc/runlevel.conf.
/etc/init.d/rc:219: [: -a: unexpected operator/operand
/etc/init.d/rc:237: [: -a: unexpected operator/operand
/etc/init.d/rc:237: [: -a: unexpected operator/operand
/etc/init.d/rc:237: [: -a: unexpected operator/operand
/etc/init.d/rc:243: [: -a: unexpected operator/operand
set centerline=here

The POSIX standard doesn't know the argument -a for test and the keyword
local.

A patch is appended.

Jörg.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.9
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)

-- no debconf information
--- /etc/init.d/rc      2004-08-14 18:47:29.000000000 +0200
+++ /tmp/rc     2005-01-28 12:49:35.687350368 +0100
@@ -60,7 +60,7 @@
 [ $debug -eq 1 ] && echo "rc: $prevlevel -> $runlevel"
   # wait for any lock to vanish (but only when not booting)
 i=0
-while [ -f "$LOCKFILE" -a "$previous" != "N" ]
+while [ -f "$LOCKFILE" ] && [ "$previous" != "N" ]
 do
     read pid < "$LOCKFILE"
     if ! kill -0 $pid &> /dev/null
@@ -129,7 +129,7 @@
     *) return $false ;;
     esac
 
-    if [ $1 -ge $valid_min_seq -a $1 -le $valid_max_seq ]
+    if [ $1 -ge $valid_min_seq ] && [ $1 -le $valid_max_seq ]
     then
        return $true
     fi
@@ -137,8 +137,6 @@
 }
 
 element() {
-    local element list IFS
-
     element="$1"
     case "$element" in
        reboot | R) element=0 ;;
@@ -160,8 +158,6 @@
 }
 
 is_elem() {
-    local elem x
-
     elem=$1; shift
 
     for x in $*
@@ -175,7 +171,6 @@
 # list of commands and levels is tested.
 #
 pushlevel() {
-    local newcmd newlevels i add outline
     newcmd=$1;shift
     newlevels=$1; shift
     add="$newcmd:$newlevels"
@@ -213,7 +208,7 @@
 
 
 # lock the configuration file
-if [ "$prevlevel" != "N" -a "$runlevel" != "1" -a "$runlevel" != "6" ]
+if [ "$prevlevel" != "N" ] && [ "$runlevel" != "1" ] && [ "$runlevel" != "6" ]
 then
     (echo "$$" > "$LOCKFILE") || true
 fi
@@ -237,7 +232,7 @@
 done < $CFGFILE
 
 # remove lock of configuration file
-if [ "$prevlevel" != "N" -a "$runlevel" != "1" -a "$runlevel" != "6" ]
+if [ "$prevlevel" != "N" ] && [ "$runlevel" != "1" ] && [ "$runlevel" != "6" ]
 then
     rm -f "$LOCKFILE"
 fi
--- /etc/init.d/rcS     2004-08-14 18:47:29.000000000 +0200
+++ /tmp/rcS    2005-01-28 12:58:54.377718384 +0100
@@ -55,9 +55,6 @@
 trap ":" INT QUIT TSTP
 
 element() {
-    local element list IFS
-
-
     element="$1"
        
     [ "$2" = "in" ] && shift

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: file-rc
Source-Version: 0.8.8

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

file-rc_0.8.8.dsc
  to pool/main/f/file-rc/file-rc_0.8.8.dsc
file-rc_0.8.8.tar.gz
  to pool/main/f/file-rc/file-rc_0.8.8.tar.gz
file-rc_0.8.8_all.deb
  to pool/main/f/file-rc/file-rc_0.8.8_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.
Roland Rosenfeld <[EMAIL PROTECTED]> (supplier of updated file-rc 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.7
Date: Fri, 30 Jun 2006 22:31:49 +0200
Source: file-rc
Binary: file-rc
Architecture: source all
Version: 0.8.8
Distribution: unstable
Urgency: low
Maintainer: Roland Rosenfeld <[EMAIL PROTECTED]>
Changed-By: Roland Rosenfeld <[EMAIL PROTECTED]>
Description: 
 file-rc    - Alternative boot mechanism using a single configuration file
Closes: 292632
Changes: 
 file-rc (0.8.8) unstable; urgency=low
 .
   * Fix POSIX sh incompatibilities. Thanks to Jörg Sommer for reporting
     this and providing a patch (Closes: #292632).
   * Build-Depends instead of Build-Depends-Indep on debhelper.
   * Upgrade to debhelper v5.
   * Upgrade to Standards-Version 3.7.2 (no changes).
   * Fix non ascii char in runlevel.conf.5 man page.
   * Remove non-posix-code from postinst.
   * Remove closes=n entries from old changelog header lines to make
     lintian happy.
   * Update FSF address in debian/copyright.
Files: 
 30c891e65a1bf3e5d538ccedf3dddf20 489 admin extra file-rc_0.8.8.dsc
 1e27d8a93e98a560f844254c9c2f26c4 65398 admin extra file-rc_0.8.8.tar.gz
 bb61c7ad3ff2db5e2cb5ec838daca7a4 36380 admin extra file-rc_0.8.8_all.deb

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

iD8DBQFEpYrfO7/Pd72LBQ0RAkYmAKC9DbTS42HtLlS4SUV3apQkSJYe+gCgqr8J
5U8Nq2lP1NZLjT3pXcZODgw=
=aOco
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to