Package: nfs-common
Version: 1:1.0.10-6+etch.1
Severity: normal

The init.d script has some typos regarding the handle of $? values. For 
example, there are several checks like this:

  if [ $? != 0 ]; then
    log_end_msg $?
    exit $?
  fi

(lines 176 - 179 of /etc/init.d/nfs-common)

IMHO I think that the value of $? is overwritten with the result of the 
comparison in the first line. It would be better written this way:

  res=$?
  if [ $res != 0 ]; then
    log_end_msg $res
    exit $res
  fi

Regards.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)

Versions of packages nfs-common depends on:
ii  add 3.102                                Add and remove users and groups
ii  lib 2.3.6.ds1-13etch7                    GNU C Library: Shared libraries
ii  lib 1.39+1.40-WIP-2006.11.14+dfsg-2etch1 common error description library
ii  lib 1.1a-1                               An asynchronous event notification
ii  lib 0.10-4                               A mechanism-switch gssapi library
ii  lib 1.4.4-7etch6                         MIT Kerberos runtime libraries
ii  lib 0.18-0                               An nfs idmapping library
ii  lib 0.14-2etch3                          allows secure rpc communication us
ii  lib 7.6.dbs-13                           Wietse Venema's TCP wrappers libra
ii  lsb 3.1-23.2etch1                        Linux Standard Base 3.1 init scrip
ii  net 4.29                                 Basic TCP/IP networking system
ii  por 5-26                                 The RPC portmapper
ii  ucf 2.0020                               Update Configuration File: preserv

nfs-common recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to