Thread (3 messages) 3 messages, 2 authors, 2011-08-15

Re: iproute2: make arpd daemon write pid file on fork

flat view

From: Stephen Hemminger <hidden>
Date: 2011-08-12 16:16:07

On Fri, 12 Aug 2011 16:23:24 +1000
Alex Dubov [off-list ref] wrote:
Current version of arpd included with iproute2-2.6.37 will fork 
unconditionally on start-up (using daemon() library call). This causes 
problems with distro start-up scripts, as PID of the started daemon can not be 
reliably obtained, hampering orderly daemon shutdown process.

The included patch makes arpd write it's own pid file after fork, in a common 
LSB fashion, so as to better inter-operate with start up scripts. Removal of 
stale pid files is handled elsewhere.
I already checked in a version which has the -p pidfile option.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help