Package: nis
Version: 3.13-1
Severity: normal

With a ksh-like shell (such as pdksh) as /bin/sh, /etc/init.d/nis stop
fails with a syntax error on line 160.

This is because the nis init script attempts to define a function
stop(), which is a predefined function for handling the STOP signal.

The best ways I think this could be resolved:
- use the case $1 in start|stop|... that is used by many other packages
- rename the stop function to nis_stop or similar

-- Package-specific info:

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7eagle-20040916
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nis depends on:
ii  debconf                     1.4.30.11    Debian configuration management sy
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libgdbm3                    1.8.3-2      GNU dbm database routines (runtime
ii  libslp1                     1.0.11a-2    OpenSLP libraries
ii  make                        3.80-9       The GNU version of the "make" util
ii  netbase                     4.20         Basic TCP/IP networking system
ii  portmap                     5-9          The RPC portmapper
ii  sysvinit                    2.86.ds1-1   System-V like init

-- debconf information excluded


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

Reply via email to