Package: nis
Version: 3.17-17
Severity: critical

Hi,

installing nis in a chroot with

  chroot $DIR apt-get install nis

causes nis to break down on the main system. E.g. sudo says:

  YPBINDPROC_DOMAIN: Domain not bound
  YPBINDPROC_DOMAIN: Domain not bound
  sudo: unknown uid: 1009

Restarting nis on the main system fixes the problem.

I beliefe the problem is the following in postinst:

  # And start the service.
  if [ "$2" != "" -a "$2" != "<>" ] && dpkg --compare-versions "$2" le 3.9-1
  then
        killall ypbind >/dev/null 2>&1 || true
  fi

which kills not just the ypbind in the chroot (of which there is none)
but also any other ypbind including the systems one.

MfG
        Goswin

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

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



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to