Wind River Support Network

HomeDefectsLIN5-7592
Fixed

LIN5-7592 : wrlinux 5.0.1 - nfs-utils rpc.idmapd: No such file or directory

Created: Sep 19, 2013    Updated: Dec 19, 2017
Resolved Date: Oct 16, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.8
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

'/usr/sbin/rpc.idmapd': No such file or directory
Details: at boot time
Starting mcelog daemon
creating NFS state directory: done
starting statd: done
starting idmapd: start-stop-daemon: can't execute
'/usr/sbin/rpc.idmapd': No such file or directory

Cause: typo in the recipe. idpamd instead of idmapd

layers/oe-core/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb

FILES_${PN}-client = "${base_sbindir}/*mount.nfs* ${sbindir}/*statd \
                       ${sbindir}/rpc.idpamd ${sbindir}/sm-notify \

Workaround

Please try these patches below:
1) layers/wr-base/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend
--- a/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend
+++ b/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend
@@ -13,8 +13,8 @@ SRC_URI += "file://do-not-pass-CFLAGS-to-native.patch \
 
 inherit useradd
 
-USERADD_PACKAGES = "${PN}"
-USERADD_PARAM_${PN} = "-d /var/lib/nfs -r -s /bin/false rpcuser"
+USERADD_PACKAGES = "${PN}-client"
+USERADD_PARAM_${PN}-client = "-d /var/lib/nfs -r -s /bin/false rpcuser"
 
 do_install_append () {
        chown rpcuser ${D}/var/lib/nfs

2)layers/oe-core/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb

--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
@@ -50,7 +50,8 @@ INHIBIT_AUTO_STAGE = "1"
 
 PACKAGES =+ "${PN}-client ${PN}-stats"
 FILES_${PN}-client = "${base_sbindir}/*mount.nfs* ${sbindir}/*statd \
-                      ${sbindir}/rpc.idpamd ${sbindir}/sm-notify \
+                      ${sbindir}/rpc.idmapd ${sbindir}/sm-notify \
+                      ${sbindir}/showmount ${sbindir}/nfsstat \
                       /var/lib/nfs /etc/init.d/nfscommon"
 FILES_${PN}-stats = "${sbindir}/mountstats ${sbindir}/nfsiostat"
 RDEPENDS_${PN}-stats = "python"

Steps to Reproduce

problem appears at boot time.

Other Downloads


Live chat
Online