This patchset is targeting issues observed across distributions: - polling on a wrong resource when mdstat is empty - eventing for external containers - dealing with udev and mdadm - quiet fail if other instance is running Mdmonitor is started automitically if needed by udev. This patchset introduces mdmonitor stoping if no redundant array presents. Blazej Kucman (2): mdmonitor: set small delay once Check if other Monitor instance running before fork. Mariusz Tkaczyk (2): Monitor: refresh mdstat fd after select Monitor: stop notifing about containers. Monitor.c | 83 ++++++++++++++++++++++++++++++++++++++++--------------- mdadm.h | 2 +- mdstat.c | 20 +++++++++++--- 3 files changed, 77 insertions(+), 28 deletions(-) -- 2.25.0