From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] netplug: prevent starting multiple instances of netplugd
Date: Thu, 7 Jun 2018 16:10:10 +0200 [thread overview]
Message-ID: <20180607161010.01d1361c@windsurf> (raw)
In-Reply-To: <20180607013641.22701-1-casantos@datacom.com.br>
Hello,
On Wed, 6 Jun 2018 22:36:41 -0300, Carlos Santos wrote:
> Executing "/etc/init.d/S29netplug start" multiple times resulted in
> multiple instances of netplugd.
>
> Pass "-p /var/run/netplug.pid" to netplugd, so it creates the PID file
> that start-stop-daemon needs to know that netplugd is already running.
> Also use the pid file to stop netplugd, instead of the daemon name.
>
> Fixes https://bugs.busybox.net/show_bug.cgi?id=10661
>
> Reported-by: Joachim Krueger <mail2k@web.de>
> Signed-off-by: Carlos Santos <casantos@datacom.com.br>
> ---
> package/netplug/S29netplug | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2018-06-07 14:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-07 1:36 [Buildroot] [PATCH] netplug: prevent starting multiple instances of netplugd Carlos Santos
2018-06-07 14:10 ` Thomas Petazzoni [this message]
2018-06-17 15:50 ` Peter Korsgaard
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=20180607161010.01d1361c@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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