Without the 170-non_fatal_include.patch hotplug2 throws this:
Unable to include '/etc/hotplug2-platform.rules'
Syntax error (/etc/hotplug2-common.rules, line 9): Syntax error: Internal parser error.
Unable to include '/etc/hotplug2-common.rules'
Syntax error (/etc/hotplug2-init.rules, line 3): Syntax error: Internal parser error.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35863
Memory leak is caused by the way hotplug2 handles environment variables,
using setenv() and unsetenv(). setenv() creates copies of the supplied
strings, but, due to a POSIX blunder, these copies are never destroyed
by unsetenv(), neither in glibc nor uclibc - not until the program
terminates.
Since some events are handled directly in the main process, even when
configured with the "fork" worker, hotplug2 memory usage will keep
growing over time. This can be observed by running "udevtrigger" and
noting the increase in hotplug2 VmRSS after each run.
This patch uses putenv() instead, which leaves storage management to
the caller, so that we can explicitly delete stuff when it's no longer
needed.
Signed-off-by: Aleksandar Radovanovic <biblbroks@sezampro.rs>
SVN-Revision: 18725
when bringing up ethernet on ixp4xx, the driver may request
a firmware while hotplug2 waits for the netdev bringup to complete.
change the event processing loop to keep an event backlog to allow
unthrottled events to pass through while throttled events are being waited for
SVN-Revision: 12019