Package: nfs-common
Version: 1:2.8.4-1+b1
Severity: normal
X-Debbugs-Cc: [email protected]
Hi,
As per nfs.systemd97) it should be possible to mask rpcbind for a pure
NFSv4 setup. However:
1. rpcbind has both a service and a socket, masking only the service
results in errors, so both must be masked.
2. rpc.mountd refuses to start unless setting 'vers3=off' in section
[nfsd] of nfs.conf.
3. With vers3=off rpc.mountd still complains loudly ("Failed to register...")
unless TCP=off and UDP=off are also set.
Kid regards,
Andrei
systemd[1]: Starting nfs-mountd.service - NFS Mount Daemon...
rpc.mountd[994]: Failed to register (mountd, 1, udp): svc_reg() err:
RPC: Remote system error - Connection refused
rpc.mountd[994]: Failed to register (mountd, 1, tcp): svc_reg() err:
RPC: Remote system error - Connection refused
rpc.mountd[994]: Failed to register (mountd, 1, udp6): svc_reg() err:
RPC: Remote system error - Connection refused
rpc.mountd[994]: Failed to register (mountd, 1, tcp6): svc_reg() err:
RPC: Remote system error - Connection refused
rpc.mountd[994]: Failed to register (mountd, 2, udp): svc_reg() err:
RPC: Remote system error - Connection refused
rpc.mountd[994]: Failed to register (mountd, 2, tcp): svc_reg() err:
RPC: Remote system error - Connection refused
rpc.mountd[994]: Failed to register (mountd, 2, udp6): svc_reg() err:
RPC: Remote system error - Connection refused
rpc.mountd[994]: Failed to register (mountd, 2, tcp6): svc_reg() err:
RPC: Remote system error - Connection refused
rpc.mountd[994]: Failed to register (mountd, 3, udp): svc_reg() err:
RPC: Remote system error - Connection refused
rpc.mountd[994]: Failed to register (mountd, 3, tcp): svc_reg() err:
RPC: Remote system error - Connection refused
rpc.mountd[994]: Failed to register (mountd, 3, udp6): svc_reg() err:
RPC: Remote system error - Connection refused
rpc.mountd[994]: Failed to register (mountd, 3, tcp6): svc_reg() err:
RPC: Remote system error - Connection refused
rpc.mountd[994]: mountd: No V2 or V3 listeners created!
rpc.mountd[995]: Version 2.8.4 starting
systemd[1]: Started nfs-mountd.service - NFS Mount Daemon.
systemd[1]: Starting nfs-server.service - NFS server and services...
kernel: svc: failed to register nfsdv3 RPC service (errno 111).
kernel: svc: failed to register nfsaclv3 RPC service (errno 111).
kernel: svc: failed to register nfsdv3 RPC service (errno 97).
kernel: svc: failed to register nfsaclv3 RPC service (errno 97).
sh[1000]: nfsdctl: Error: Address family not supported by protocol
sh[1000]: nfsdctl: Error: Invalid argument
kernel: svc: failed to register nfsdv3 RPC service (errno 111).
kernel: svc: failed to register nfsaclv3 RPC service (errno 111).
sh[1001]: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection
refused)
sh[1001]: rpc.nfsd: unable to set any sockets for nfsd
systemd[1]: nfs-server.service: Main process exited, code=exited,
status=1/FAILURE
systemd[1]: nfs-server.service: Failed with result 'exit-code'.
systemd[1]: Stopped nfs-server.service - NFS server and services.
systemd[1]: Stopping nfs-mountd.service - NFS Mount Daemon...
rpc.mountd[995]: Caught signal 15, un-registering and exiting.
-- Package-specific info:
-- rpcinfo --
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.17.13+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages nfs-common depends on:
ii adduser 3.153
ii init-system-helpers 1.69
ii keyutils 1.6.3-6
ii libc6 2.42-6
ii libcap2 1:2.75-10+b5
ii libcom-err2 1.47.2-3+b6
ii libdevmapper1.02.1 2:1.02.205-2
ii libevent-core-2.1-7t64 2.1.12-stable-10+b1
ii libgssapi-krb5-2 1.22.1-2
ii libk5crypto3 1.22.1-2
ii libkeyutils1 1.6.3-6
ii libkrb5-3 1.22.1-2
ii libmount1 2.41.3-2
ii libnfsidmap1 1:2.8.4-1+b1
ii libtirpc3t64 1.3.6+ds-1
ii libwrap0 7.6.q-36
ii rpcbind 1.2.7-1
ii ucf 3.0052
Versions of packages nfs-common recommends:
ii python3 3.13.9-2
Versions of packages nfs-common suggests:
pn open-iscsi <none>
pn watchdog <none>
Versions of packages nfs-kernel-server depends on:
ii keyutils 1.6.3-6
ii libblkid1 2.41.3-2
ii libc6 2.42-6
ii libcap2 1:2.75-10+b5
ii libevent-core-2.1-7t64 2.1.12-stable-10+b1
ii libnl-3-200 3.12.0-1
ii libnl-genl-3-200 3.12.0-1
ii libreadline8t64 8.3-3
ii libsqlite3-0 3.46.1-8
ii libtirpc3t64 1.3.6+ds-1
ii libuuid1 2.41.3-2
ii libwrap0 7.6.q-36
ii libxml2-16 2.15.1+dfsg-2+b1
ii netbase 6.5
ii ucf 3.0052
Versions of packages nfs-kernel-server recommends:
ii python3 3.13.9-2
ii python3-yaml 6.0.3-1
Versions of packages nfs-kernel-server suggests:
ii procps 2:4.0.4-9
-- no debconf information