[PATCH 0/8] mdev: improve daemon operation

Jan Klötzke jan at kloetzke.net
Mon Dec 16 21:56:48 UTC 2019


It looks like the mdev daemon mode is not fully reliable (see [1]). This
patch series improves it by first increasing the netlink buffer size and
by adding an error handling in case of socket overflows.

During discussion a number of other related issues popped up. These are
fixed in the series too by

 * adding syslog support with configurable verbosity,
 * adding a SIGHUP handler to reload the configuration while the daemon
   is running and
 * by fixing rule match debug prints.

Regards,
Jan

[1] http://lists.busybox.net/pipermail/busybox/2019-December/087665.html

---

 libbb/xconnect.c  |  15 ++--
 util-linux/mdev.c | 198 +++++++++++++++++++++++++++++++++++++---------
 2 files changed, 169 insertions(+), 44 deletions(-)



More information about the busybox mailing list