Devuan bug report logs - #680
RPCBind incorrect or incomplete runlevels

version graph

Package: rpcbind; Maintainer for rpcbind is (unknown); Source for rpcbind is src:rpcbind.

Reported by: Ken Dibble <ken@beckydibble.com>

Date: Fri, 3 Jun 2022 14:48:02 UTC

Severity: normal

Tags: debian

Fixed in version 1.2.6-5

Done: Mark Hindley <mark@hindley.org.uk>

Forwarded to https://bugs.debian.org/1012444

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#680: RPCBind incorrect or incomplete runlevels
Reply-To: Ken Dibble <ken@beckydibble.com>, 680@bugs.devuan.org
Resent-From: Ken Dibble <ken@beckydibble.com>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Fri, 03 Jun 2022 14:48:02 +0000
Resent-Message-ID: <handler.680.B.165426760225937@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: report 680
X-Devuan-PR-Package: rpcbind
X-Devuan-PR-Keywords: 
Received: via spool by submit@bugs.devuan.org id=B.165426760225937
          (code B); Fri, 03 Jun 2022 14:48:02 +0000
Received: (at submit) by bugs.devuan.org; 3 Jun 2022 14:46:42 +0000
Delivered-To: devuanbugs@dyne.org
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Fri, 03 Jun 2022 14:46:41 +0000 (UTC)
Received: from sender4-of-o51.zoho.com (sender4-of-o51.zoho.com [136.143.188.51])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mail.dyne.org (Postfix) with ESMTPS id 9529F6617B5
	for <submit@bugs.devuan.org>; Fri,  3 Jun 2022 16:45:44 +0200 (CEST)
ARC-Seal: i=1; a=rsa-sha256; t=1654267541; cv=none; 
	d=zohomail.com; s=zohoarc; 
	b=Fqgud1KAYkqUqEfnsJdxLPPlko5mcSk+hptHsJwHFTdm+7hgcKXbOQba7tniIEEGmp5Ubn/NuYCtliOGzg8ViHACfieQhIlyESpGV38+3KNGIJgxNKU1GcQGLefsk93EIevxLtbSjr4ssN42PzGZY/NN4flbBjDtPumHtrJPREQ=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; 
	t=1654267541; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; 
	bh=RYZvhLcxsTrW5TBfINAzucjbJHJ2qLNzhV/vgqMyHtY=; 
	b=SSVUnz5MDnh3Rk1HR8xcfzGhO7d4d3KH03/6+ro2DFwaO0wbYRSf/AZ+DrUVOpMJsAIC7/79bbsnN9yKbc/XBiAtka2Y83hcodfjX8ecftwYkN87zWL4FOssscZqiOAHvGsBsQw4l3EzNgCxLxT5ZurXs0NYBaICaK7pzhnVndI=
ARC-Authentication-Results: i=1; mx.zohomail.com;
	spf=pass  smtp.mailfrom=ken@beckydibble.com;
	dmarc=pass header.from=<ken@beckydibble.com>
Received: from [192.168.0.17] (cpe-71-64-9-76.insight.res.rr.com [71.64.9.76]) by mx.zohomail.com
	with SMTPS id 1654267540267377.49097590979216; Fri, 3 Jun 2022 07:45:40 -0700 (PDT)
Message-ID: <d1b39174-889f-3444-ad58-f0e032588d85@beckydibble.com>
Date: Fri, 3 Jun 2022 10:45:38 -0400
MIME-Version: 1.0
Content-Language: en-US
To: submit@bugs.devuan.org
From: Ken Dibble <ken@beckydibble.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-ZohoMailClient: External
X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org
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

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Mon Nov 25 19:49:02 2024;