Re: [ovs-dev] [PATCH] ovs-lib.in: Cleanup old socket and pidfiles in stop_daemon

2019-02-11 Thread Ben Pfaff
On Mon, Feb 11, 2019 at 05:22:53PM +0100, Timothy Redaelli wrote: > Currently if a client crashes (signal 11) the unix socket (.ctl) and the > pidfile may not be deleted when you use ovs-ctl stop or restart. > > Moreover since ovs-appctl is used on a closed socket some warnings are > printed. >

[ovs-dev] [PATCH] ovs-lib.in: Cleanup old socket and pidfiles in stop_daemon

2019-02-11 Thread Timothy Redaelli
Currently if a client crashes (signal 11) the unix socket (.ctl) and the pidfile may not be deleted when you use ovs-ctl stop or restart. Moreover since ovs-appctl is used on a closed socket some warnings are printed. This commit deletes the pidfile and the unix socket then returns without