Wind River Support Network

HomeDefectsLIN5-2268
Fixed

LIN5-2268 : wrlinux 5.0.1 - nfs-utils startup order

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

start order problem for the services: nfscommon should be started in rcS.d but it is not.

Workaround

--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
@@ -35,6 +35,7 @@ INITSCRIPT_NAME_${PN}-client = "nfscommon"
 # it in at the default levels.  It must be terminated before the network
 # in the shutdown levels, but that works fine.
 INITSCRIPT_PARAMS = "defaults"
+INITSCRIPT_PARAMS_${PN}-client = "start 44 S ."
 
 inherit autotools update-rc.d
 

Steps to Reproduce

Looking at the rc links confirms this problem:
===  root@eqm01s13p2 PNCB /etc/rcS.d # ls /etc/rc*/*mountnfs*
/etc/rc0.d/S31umountnfs.sh  /etc/rc6.d/S31umountnfs.sh
/etc/rcS.d/S45mountnfs.sh

===  root@eqm01s13p2 PNCB /etc/rcS.d # ls /etc/rc*/*nfscom*
/etc/rc0.d/K20nfscommon  /etc/rc1.d/K20nfscommon
/etc/rc2.d/S20nfscommon  /etc/rc3.d/S20nfscommon
/etc/rc4.d/S20nfscommon  /etc/rc5.d/S20nfscommon  /etc/rc6.d/K20nfscommon

As can be seen nfscommon is not started in rcS.d like it should (right before S45mountnfs.sh)

Other Downloads


Live chat
Online