Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 10661] New: /etc/init.d/S29netplug starts multiple instances of netplugd
@ 2018-01-22 12:48 bugzilla at busybox.net
  2018-06-06 13:28 ` [Buildroot] [Bug 10661] " bugzilla at busybox.net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2018-01-22 12:48 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10661

            Bug ID: 10661
           Summary: /etc/init.d/S29netplug starts multiple instances of
                    netplugd
           Product: buildroot
           Version: 2017.11.2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: mail2k at web.de
                CC: buildroot at uclibc.org
  Target Milestone: ---

If you execute the command "/etc/init.d/S29netplug start" multiple times, you
get multiple instances of netplugd. 
This is not the desired behaviour. We should only have one running netplugd.

The change has to be made in  package/netplug/S29netplug:
line 46:
-       start-stop-daemon -S -q -p /var/run/netplugd.pid -x /sbin/netplugd
${NETPLUGDARGS}

+       start-stop-daemon -S -q -x /sbin/netplugd -- -p /var/run/netplugd.pid
${NETPLUGDARGS}

Reason: 
If the start-stop-daemon gets the parameter -p /var/run/netplug.pid it will try
to identify a running process by this pid-file but the file doesn't exist. As a
result, every call of  "/etc/init.d/S29netplug start" starts a new netplugd.

--> The parameter -p /var/run/netplug.pid must be passed to netplugd.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-06-21 18:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-22 12:48 [Buildroot] [Bug 10661] New: /etc/init.d/S29netplug starts multiple instances of netplugd bugzilla at busybox.net
2018-06-06 13:28 ` [Buildroot] [Bug 10661] " bugzilla at busybox.net
2018-06-06 16:35 ` bugzilla at busybox.net
2018-06-07  1:39 ` bugzilla at busybox.net
2018-06-07 14:21 ` bugzilla at busybox.net
2018-06-18 11:07 ` bugzilla at busybox.net
2018-06-21 18:07 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox