[Pkg-sysvinit-devel] Bug#493505: mountnfs: -1 is not a valid return value (for LSB)

martin f krafft madduck at debian.org
Sat Aug 2 21:37:26 UTC 2008


Package: initscripts
Version: 2.86.ds1-60
Severity: normal

When /etc/network/if-up.d/mountnfs gets run, it outpus an error:

+ [ -z if-up.d/mountnfs[vde0]: ]
+ echo -n if-up.d/mountnfs[vde0]: waiting for interface cable before doing NFS mounts
if-up.d/mountnfs[vde0]: waiting for interface cable before doing NFS mounts
+ log_end_msg -1
+ [ -z -1 ]
+ log_end_msg_pre -1
+ :
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ -t 1 ]
+ [ x !=  ]
+ [ x != xdumb ]
+ [ -x /usr/bin/tput ]
+ [ -x /usr/bin/expr ]
+ /usr/bin/tput hpa 60
+ FANCYTTY=0
+ false
+ [ -1 -eq 0 ]
+ [ -1 -eq -1 ]
+ echo -e  (warning).
-e  (warning).
+ log_end_msg_post -1
+ :
+ return -1
return: 1: Illegal number: -1

Please use 255 if you actually want to return -1, or another number.

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

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initscripts depends on:
ii  debianutils                  2.30        Miscellaneous utilities specific t
ii  e2fsprogs                    1.41.0-3    ext2/ext3/ext4 file system utiliti
ii  libc6                        2.7-13      GNU C Library: Shared libraries
ii  lsb-base                     3.2-16      Linux Standard Base 3.2 init scrip
ii  mount                        2.13.1.1-1  Tools for mounting and manipulatin
ii  sysvinit-utils               2.86.ds1-60 System-V-like utilities

Versions of packages initscripts recommends:
ii  psmisc                        22.6-1     Utilities that use the proc filesy

initscripts suggests no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20080802/f5400209/attachment.pgp 


More information about the Pkg-sysvinit-devel mailing list