Netdev List
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@linux-foundation.org>
To: Alex Dubov <oakad@yahoo.com>
Cc: netdev@vger.kernel.org
Subject: Re: iproute2: make arpd daemon write pid file on fork
Date: Fri, 12 Aug 2011 09:15:47 -0700	[thread overview]
Message-ID: <20110812091547.17c40798@nehalam.ftrdhcpuser.net> (raw)
In-Reply-To: <201108121623.24984.oakad@yahoo.com>

On Fri, 12 Aug 2011 16:23:24 +1000
Alex Dubov <oakad@yahoo.com> 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.

  reply	other threads:[~2011-08-12 16:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1313080925.3635.YahooMailNeo@web121018.mail.ne1.yahoo.com>
     [not found] ` <20110811110029.023a5955@nehalam.ftrdhcpuser.net>
2011-08-12  6:23   ` iproute2: make arpd daemon write pid file on fork Alex Dubov
2011-08-12 16:15     ` Stephen Hemminger [this message]
2011-08-15  5:42       ` Alex Dubov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110812091547.17c40798@nehalam.ftrdhcpuser.net \
    --to=shemminger@linux-foundation.org \
    --cc=netdev@vger.kernel.org \
    --cc=oakad@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox