Web lists-archives.com

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




On 10/28/18 2:10 PM, Sven Joachim wrote:
Wouldn't it be better to fix the init system that sets such a bad
default PATH?  Whatever init system that may be - sysv-rc's
/etc/init.d/rc script sets PATH=/sbin:/usr/sbin:/bin:/usr/bin, so this
should not happen with sysvinit + sysv-rc.

Please, keep in mind that /etc/init.d/rpcbind may also be invoked by /etc/network/if-up.d/mountnfs (after bringing up interfaces):

# grep PATH /etc/network/if-up.d/mountnfs
PATH=/sbin:/bin

What init system do you use?

# apt --installed list | grep sys | cut -f 1 -d ' '
busybox-syslogd/unstable,now
init-system-helpers/unstable,now
libboost-filesystem1.62.0/unstable,now
libboost-system1.62.0/unstable,now
libsystemd0/unstable,now
sysv-rc/unstable,now
sysvinit-core/unstable,now
sysvinit-utils/unstable,now

--
Pozdrawiam
Grzesiek

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