[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#822804: nfs-common: rpcbind.service not started on boot before nfs-common



Package: nfs-common
Version: 1:1.2.8-9
Severity: normal

Dear Maintainer,

I am running Debian stretch. When nfs-common is loaded on booting,
rpcbind.service isn't loaded. This causes the following statements in the
init script to exit:

if [ -x /usr/sbin/rpcinfo ]; then
    /usr/sbin/rpcinfo -p >/dev/null 2>&1
    RET=$?
    if [ $RET != 0 ]; then
       echo
       log_warning_msg "Not starting: portmapper is not running"
       exit 0
    fi

When calling systemctl restart nfs-common.service in a running system,
it causes rpcbind.service to be loaded and thus the init script
continues to run.

Kind regards,
Benedikt Wildenhain

P.S.: I did not investigate how to get rpcbind running, as I only use
NFSv4 and explicitly setting NEED_STATD=no in /etc/default/nfs-common
was enough to get NFSv4 working.


Reply to: