Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #201787

Re: Sid: NFS after upgrade [solved] please fix /etc/init.d/rpcbind

From Grzesiek Sójka <pld@sojka.co>
Newsgroups linux.debian.user
Subject Re: Sid: NFS after upgrade [solved] please fix /etc/init.d/rpcbind
Date 2018-10-28 13:50 +0100
Message-ID <wNSFX-5U3-3@gated-at.bofh.it> (permalink)
References <wNPI5-49V-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 10/28/18 11:27 AM, Grzesiek Sójka wrote:
> Hi there,
> 
> I just upgraded Sid and now I get the following during boot:
> 
> [....] Configuring network interfaces.../etc/init.d/rpcbind: 42: 
> /etc/init.d/rpcbind: stat: not found
> /run/rpcbind not owned by root failed!
> Starting NFS common utilities: statd
> Not starting: portmapper is not running ... (warning).
> mount.nfs: rpc.statd is not running but is required for remote locking.
> mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
> mount.nfs: rpc.statd is not running but is required for remote locking.
> mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
> done.
> [ ok ] Starting RPC port mapper daemon: rpcbind.
> [ ok ] Starting NFS common utilities: statd.

The problem is caused by wrong setting of the PATH variable during the 
execution of the /etc/init.d/rpcbind script. The new version uses stat 
binary which is located in /usr/bin but the PATH is set to 
PATH='/sbin:/bin'. As a workaround I added PATH="$PATH:/usr/bin" to 
/etc/init.d/rpcbind. It works fine now.

Please fix init scripts.

-- 
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Sid: NFS after upgrade Grzesiek Sójka <pld@sojka.co> - 2018-10-28 10:40 +0100
  Re: Sid: NFS after upgrade [solved] please fix /etc/init.d/rpcbind Grzesiek Sójka <pld@sojka.co> - 2018-10-28 13:50 +0100
    Re: Sid: NFS after upgrade [solved] please fix /etc/init.d/rpcbind Sven Joachim <svenjoac@gmx.de> - 2018-10-28 15:20 +0100
      Re: Sid: NFS after upgrade [solved] please fix /etc/init.d/rpcbind Grzesiek Sójka <pld@sojka.co> - 2018-10-28 16:00 +0100
        Re: Sid: NFS after upgrade [solved] please fix /etc/init.d/rpcbind Sven Joachim <svenjoac@gmx.de> - 2018-10-28 16:20 +0100
  Re: Sid: NFS after upgrade Elimar Riesebieter <riesebie@lxtec.de> - 2018-11-02 12:20 +0100

csiph-web