Package: rpcbind Version: 1.2.5-0.3 Severity: important Tags: patch Hi,
It seems like there are two minor bugs in the sysv init script of rpcbind: 1) The PATH variable isn't set so /usr/bin isn't in the path. Hence `stat` cannot be found, which leads to secondary errors at boot. 2) The init script of statd has a dependency on "portmap", but rpcbind does not provide portmap, hence the dependency tree is not complete The patch below fixes both: --- /etc/init.d/rpcbind.orig 2018-10-14 16:18:46.000000000 +0200 +++ /etc/init.d/rpcbind 2019-01-28 20:50:22.780390955 +0100 @@ -3,7 +3,7 @@ # start/stop rpcbind daemon. ### BEGIN INIT INFO -# Provides: rpcbind +# Provides: rpcbind portmap # Required-Start: $network $local_fs # Required-Stop: $network $local_fs # Default-Start: S @@ -16,6 +16,7 @@ # RPC include NFS and NIS. ### END INIT INFO +PATH=/sbin:/usr/sbin:/bin:/usr/bin test -f /sbin/rpcbind || exit 0 . /lib/lsb/init-functions Thanks Attila Kinali -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled Versions of packages rpcbind depends on: ii adduser 3.118 ii libc6 2.28-5 ii libsystemd0 240-4 ii libtirpc3 1.1.4-0.4 ii libwrap0 7.6.q-27 ii lsb-base 10.2018112800 rpcbind recommends no packages. rpcbind suggests no packages. -- Configuration Files: /etc/init.d/rpcbind changed [not included] -- no debconf information