From ec76ec1fde7da753676b18ff45926740fcd08072 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 18 Dec 2013 21:16:35 +0100 Subject: bus: catch up with kdbus changes --- src/libudev/libudev-monitor.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/libudev/libudev-monitor.c') diff --git a/src/libudev/libudev-monitor.c b/src/libudev/libudev-monitor.c index a6dba89376..e07e462af3 100644 --- a/src/libudev/libudev-monitor.c +++ b/src/libudev/libudev-monitor.c @@ -122,6 +122,14 @@ struct udev_monitor *udev_monitor_new_from_netlink_fd(struct udev *udev, const c else return NULL; + /* + * We do not support subscribing to uevents if no instance of udev + * is running. Uevents would otherwise broadcast the processing data + * of the host into containers, which is not acceptable. Containers + * will currently just not get any uevents. + */ + + udev_monitor = udev_monitor_new(udev); if (udev_monitor == NULL) return NULL; -- cgit v1.2.3-54-g00ecf