Wind River Support Network

HomeDefectsLIN6-2572
Fixed

LIN6-2572 : wrlinux 5.0.1 - nfs-utils startup order

Created: Sep 19, 2013    Updated: Dec 3, 2018
Resolved Date: Dec 19, 2013
Previous ID: LIN5-2280
Found In Version: 6.0
Fix Version: 6.0.0.2
Severity: Severe
Applicable for: Wind River Linux 6
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