generic-poky/meta
Qiang Chen a1927d6c45 nfs-utils: Stop rpc.statd correctly
An incorrect process name in the nfsserver initscript prevented
rpc.statd from being shut down.

root@qemux86-64:~# /etc/init.d/nfsserver start
creating NFS state directory: done
starting 8 nfsd kernel threads: done
starting mountd: done
starting statd: done

root@qemux86-64:~# ps | grep rpc.statd
  650 root     10532 S    /usr/sbin/rpc.statd
  654 root      4720 S    grep rpc.statd

root@qemux86-64:~# /etc/init.d/nfsserver stop
stopping statd: done
stopping mountd: done
stopping nfsd: done

root@qemux86-64:~# ps | grep rpc.statd
  650 root     10532 S    /usr/sbin/rpc.statd
  662 root      4720 S    grep rpc.statd

As this daemon drops a pid file,simply use that instead.
Also add some initialization checks so the daemons are not
left partially started in the absence of kernel nfsd support.

(From OE-Core master rev: 37e70a28e9cfc773bd70f09d7129295ce891ae18)

(From OE-Core rev: 5f22bad97a3bacb87cefb54ffd785d359c58aec0)

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Qiang Chen <qiang.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-12 17:00:03 +00:00
..
classes base.bbclass: fix nondeterministic PACKAGECONFIG processing order 2013-12-12 17:00:01 +00:00
conf documentation.conf: update contents 2013-09-24 17:57:03 +01:00
files device_table-minimal.txt: change group of /dev/hda back to disk 2013-12-12 16:59:52 +00:00
lib lib/oe/path: Fix copytree functions for tar 1.27 2013-10-14 16:55:21 +01:00
recipes-bsp alsa-state: Rename init script 2013-10-14 16:55:22 +01:00
recipes-connectivity nfs-utils: Stop rpc.statd correctly 2013-12-12 17:00:03 +00:00
recipes-core packagegroup-base: if zeroconf DISTRO_FEATURE enabled, add libnss-mdns 2013-12-12 17:00:02 +00:00
recipes-devtools gcc: Fix strange C++ repo issues 2013-10-14 16:55:22 +01:00
recipes-extended crond: remove UID check in init script 2013-12-12 16:59:57 +00:00
recipes-gnome libunique: Add PACKAGECONFIG for dbus 2013-10-07 09:37:32 +01:00
recipes-graphics cairo: add explicit dependency on zlib 2013-12-12 16:59:56 +00:00
recipes-kernel perf: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for mips64 2013-12-12 17:00:02 +00:00
recipes-lsb4 libpng12: rename libpng_1.2.50 to libpng12 2013-04-09 13:16:53 +01:00
recipes-multimedia lame: Add dependency on ncurses 2013-10-07 09:37:33 +01:00
recipes-qt qt4: add upstream QTBUG-31579 patch for QPainter regression 2013-12-12 16:59:53 +00:00
recipes-rt rt-tests: add Upstream-Status for cyclictest patch 2013-07-29 13:09:03 +01:00
recipes-sato sato-icon-theme: add more compatibility symlinks 2013-09-30 22:11:58 +01:00
recipes-support aspell: Add PACKAGECONFIG for curses 2013-10-07 09:37:32 +01:00
site native: Use a native site file and ensure the correct sed is used 2013-09-30 22:11:57 +01:00
COPYING.MIT
recipes.txt meta/recipes.txt: add recipes-lsb4 2013-04-10 09:23:17 +01:00