Package: ypbind-mt
Version: 2.7.2-2
Severity: important

Dear Maintainer,

What I did:

1. Download Release Candidate 1 Debian Installer image for Bullseye.
2. Make clean install with it
3. Login as root
4. apt install ypbind-mt
5. Add 'ypserver (IP address of NIS server)' to /etc/yp.conf
6. systemctl start ypbind.service

Expected behavior:

ypbind starts successfully.

What really happens:

ypbind fails to start. `systemctl status ypbind.service` shows
following log messages

----------------------------------------------------------------------
May 02 10:26:10 nisclienthost systemd[1]: Starting NIS Binding Service...
May 02 10:26:10 nisclienthost domainname[1234]: domainname: No such file or 
directory
May 02 10:26:10 nisclienthost systemd[1]: ypbind.service: Control process 
exited, code=exited, status=1/FAILURE
May 02 10:26:10 nisclienthost systemd[1]: ypbind.service: Failed with result 
'exit-code'.
May 02 10:26:10 nisclienthost systemd[1]: Failed to start NIS Binding Service.
----------------------------------------------------------------------

What is the problem:

The source of the problem is that following is necessary between step
5 and 6.

5.5. cat (name of my NIS domain) > /etc/defaultdomain

But is isn't documented anywhere. So at least it should be documented
in the document of this packages. However, ypbind.service doesn't
start successfully without this file. So it should be created when
this package is installed.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-6-amd64 (SMP w/4 CPU threads)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ypbind-mt depends on:
ii  hostname           3.23
ii  libc6              2.31-11
ii  libnsl2            1.3.0-2
ii  libsystemd0        247.3-5
ii  libtirpc3          1.3.1-1
ii  rpcbind [portmap]  1.2.5-9

Versions of packages ypbind-mt recommends:
ii  libnss-nis  3.1-4
ii  nscd        2.31-11
ii  yp-tools    4.2.3-3

ypbind-mt suggests no packages.

-- Configuration Files:
/etc/yp.conf changed:
ypserver 192.168.0.1


-- no debconf information

Reply via email to