Package: rpcbind
Version: 1.2.5-0.3
Severity: normal

Dear Maintainer,

I have a debian buster install using sysvinit where the nfs filesystems are not 
mounted
on boot. I have observed the following:

When called from /etc/network/if-up.d/mountnfs the rpcbind initscript exits as
follows:

root@tvbox:~# ADDRFAM=inet /etc/network/if-up.d/mountnfs
/etc/init.d/rpcbind: 42: /etc/init.d/rpcbind: stat: not found
[FAIL] /run/rpcbind not owned by root failed!
[....] Starting NFS common utilities: statd
[warn] Not starting: portmapper is not running ... (warning).

this is caused by line 42 in /etc/init.d/rpcbind:

    if [ "$(LC_ALL=C stat -c '%U %g %a %F' "$STATEDIR")" != "_rpc 0 755 
directory" ] ; then

and is fixed when "stat" is called with full path "/usr/bin/stat":

    if [ "$(LC_ALL=C /usr/bin/stat -c '%U %g %a %F' "$STATEDIR")" != "_rpc 0 
755 directory" ] ; then

would be nice if this could be fixed.

greetings,
Erik


-- System Information:
Debian Release: 10.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.19.0-6-686 (SMP w/4 CPU cores)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15), 
LANGUAGE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages rpcbind depends on:
ii  adduser      3.118
ii  libc6        2.28-10
ii  libsystemd0  241-7~deb10u1
ii  libtirpc3    1.1.4-0.4
ii  libwrap0     7.6.q-28
ii  lsb-base     10.2019051400

rpcbind recommends no packages.

rpcbind suggests no packages.

-- no debconf information

Reply via email to