summaryrefslogtreecommitdiff
path: root/scripts/lib/mic/imager/loop.py
diff options
context:
space:
mode:
authorQiang Chen <qiang.chen@windriver.com>2013-10-22 11:03:59 +0800
committerRobert Yang <liezhi.yang@windriver.com>2013-12-10 21:12:21 -0500
commit5f22bad97a3bacb87cefb54ffd785d359c58aec0 (patch)
tree6d64b6d85af4946e709b2c530ba66adf42602080 /scripts/lib/mic/imager/loop.py
parent9c4b604ea0d81bc1de224b35ae160f87be6bcf7b (diff)
downloadopenembedded-core-5f22bad97a3bacb87cefb54ffd785d359c58aec0.tar.gz
openembedded-core-5f22bad97a3bacb87cefb54ffd785d359c58aec0.tar.bz2
openembedded-core-5f22bad97a3bacb87cefb54ffd785d359c58aec0.zip
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) 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>
Diffstat (limited to 'scripts/lib/mic/imager/loop.py')
0 files changed, 0 insertions, 0 deletions