Subject: bug#680 closed by Mark Hindley <[email-masked]> (Fixed in Debian #1012444)

From: "Devuan bug Tracking System" <[email-masked]>
Date: Tue, 10 Jan 2023 17:00:05 +0000

This is an automatic notification regarding your bug report
which was filed against the rpcbind package:

#680: RPCBind incorrect or incomplete runlevels

It has been closed by Mark Hindley <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mark Hindley <[email-masked]> by
replying to this email.

-- 
680: https://bugs.devuan.org/cgi/bugreport.cgi?bug=680
Devuan Bug Tracking System
Contact [email-masked] with problems

Subject: Fixed in Debian #1012444
From: Mark Hindley <[email-masked]>
To: [email-masked]
Date: Tue, 10 Jan 2023 16:59:57 +0000

Version: 1.2.6-5

Subject: RPCBind incorrect or incomplete runlevels
From: Ken Dibble <[email-masked]>
To: [email-masked]
Date: Fri, 3 Jun 2022 10:45:38 -0400

Package: rpcbind

Version: 1.2.5-9

The only time rpcbind is brought up is at system start.

RUNLEVEL 1 kills it.

So either rpcbind shouldn't be killed at runlevel 1 or it should be

made sure to be running prior to nfs-kernel-server on runlevels 2-5.

$sudo su

# init 1

.

.

#init 5

# /etc/init.d/nfs-kernel-server restart

System response:

Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon....
Exporting directories for NFS kernel daemon....
Starting NFS kernel daemon: nfsd
Not starting: portmapper is not running ... (warning).

#/etc/init.d/rpcbind restart

System response:

Stopping RPC port mapper daemon: rpcbind.
Starting RPC port mapper daemon: rpcbind.

#/etc/init.d/nfs-kernel-server restart

System response:

Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon....
Exporting directories for NFS kernel daemon....
Starting NFS kernel daemon: nfsd mountd.

Investigation:

/etc$sudo find . -name *nfs-kernel-server
./rc2.d/S04nfs-kernel-server
./rc0.d/K01nfs-kernel-server
./rc1.d/K01nfs-kernel-server
./default/nfs-kernel-server
./init.d/nfs-kernel-server
./rc3.d/S04nfs-kernel-server
./rc4.d/S04nfs-kernel-server
./rc6.d/K01nfs-kernel-server
./rc5.d/S04nfs-kernel-server

/etc$ sudo find . -name *rpcbind
./rc0.d/K06rpcbind
./rc1.d/K06rpcbind
./rcS.d/S17rpcbind
./default/rpcbind
./init.d/rpcbind
./rc6.d/K06rpcbind
./insserv.conf.d/rpcbind

The fix would appear to be obvious and trivial.

Modify the installation script to set the rc scripts correctly.

Regards,

Ken