[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#906436: nis: /etc/init.d/nis doesn't start ypbind, thus ypwhich timeouts



Package: nis
Version: 3.17.1-2
Severity: important

Dear Maintainer,

I use a NetBSD NIS server for a long time. This servers acts as a NIS server
(master) and some workstations use it (Linux, FreeBSD...).

I have noticed this evening that my Debian Buster was unable to use this server
anymore.

When I start nis, I obtain in log :
Aug 17 17:20:08 hilbert systemd[1]: Starting LSB: Start NIS client and server daemons....
Aug 17 17:20:20 hilbert nis[3775]: Starting NIS services: ypbindbinding to YP server...........................................failed (backgrounded).
Aug 17 17:20:20 hilbert nis[3775]: .

	I think that /etc/init.d/nis script tries to use ypwhich before starting
	ypbind. Thus, ypwhich returns :

root@hilbert:~# LANG=C ypwhich
ypwhich: Can't communicate with ypbind

	If I manually start ypbind with ypbind -d -broadcast, I obtain :
root@hilbert:~# ypbind -d -broadcast
4388: add_server() domain: systella.fr, broadcast
4388: [Welcome to ypbind-mt, version 1.38]

4388: ping interval is 20 seconds

4388: rebind interval is 900 seconds

4390: do_broadcast() for domain 'systella.fr' is called
4390: Answer for domain 'systella.fr' from server 'legendre.systella.fr'
4390: leave do_broadcast() for domain 'systella.fr'
4388: ypbindproc_domain_2_svc (systella.fr)
4388: Pinging all active servers.
4388: YPBINDPROC_DOMAIN: server '192.168.10.128', port 754
4388: Status: YPBIND_SUCC_VAL
4390: Pinging all active servers.
4390: Pinging all active servers.

	and ypwhich runs as expected :

hilbert:[~] > LANG=C ypwhich
legendre.systella.fr
hilbert:[~] >

	Best regards,

	JB

-- Package-specific info:

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nis depends on:
ii  debconf [debconf-2.0]  1.5.69
ii  hostname               3.20
ii  libc6                  2.27-5
ii  libgdbm5               1.14.1-6+b1
ii  libsystemd0            239-7
ii  lsb-base               9.20170808
ii  make                   4.2.1-1.2
ii  netbase                5.4
ii  rpcbind [portmap]      0.2.3-0.6

nis recommends no packages.

Versions of packages nis suggests:
pn  nscd  <none>

-- debconf information:
* nis/domain: systella.fr


Reply to: