Re: [ovs-dev] [PATCH] ovs-lib.in:Add process name checking when start ovs service

2014-07-31 Thread Ben Pfaff
Re: [ovs-dev] [PATCH] ovs-lib.in:Add process name checking when > >start > >ovs service > > > >On Wed, Jul 30, 2014 at 02:22:50PM +0800, lichu...@huawei.com wrote: > >> From: Chunhe Li > >> > >> Only check wheather is daemon pid exist is not enough

Re: [ovs-dev] [PATCH] ovs-lib.in:Add process name checking when start ovs service

2014-07-31 Thread Lichunhe
>-Original Message- >From: Ben Pfaff [mailto:b...@nicira.com] >Sent: Friday, August 01, 2014 8:19 AM >To: Lichunhe >Cc: dev@openvswitch.org; Qianhuibin (Huibin QIAN, Euler) >Subject: Re: [ovs-dev] [PATCH] ovs-lib.in:Add process name checking when start >ovs service &g

Re: [ovs-dev] [PATCH] ovs-lib.in:Add process name checking when start ovs service

2014-07-31 Thread Ben Pfaff
On Wed, Jul 30, 2014 at 02:22:50PM +0800, lichu...@huawei.com wrote: > From: Chunhe Li > > Only check wheather is daemon pid exist is not enough, becasue the pid which > store in pidfile maybe assign to another process by OS. So it will checking > failed for pid exist, but the starting process w

[ovs-dev] [PATCH] ovs-lib.in:Add process name checking when start ovs service

2014-07-29 Thread lichunhe
From: Chunhe Li Only check wheather is daemon pid exist is not enough, becasue the pid which store in pidfile maybe assign to another process by OS. So it will checking failed for pid exist, but the starting process which own the pid is not the ovs daemon. Signed-off-by: Chunhe Li Signed-off-b