Subject: [PATCH] From: Andrey Borzenkov Signed-off-by: Andrey Borzenkov --- scripts/bluetooth.rules.in | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bluetooth.rules.in b/scripts/bluetooth.rules.in index 64df69d..f9733bc 100644 --- a/scripts/bluetooth.rules.in +++ b/scripts/bluetooth.rules.in @@ -1,4 +1,4 @@ # Run helper every time a Bluetooth device appears # On remove actions, bluetoothd should go away by itself -ACTION=="add", SUBSYSTEM=="bluetooth", RUN+="@prefix@/sbin/bluetoothd --udev" -ACTION=="change", SUBSYSTEM=="bluetooth", RUN+="@prefix@/sbin/bluetoothd --udev" +TEST{040000}!="/sys/fs/cgroup/systemd", ACTION=="add", SUBSYSTEM=="bluetooth", RUN{fail_event_on_error}+="@prefix@/sbin/bluetoothd --udev" +TEST{040000}!="/sys/fs/cgroup/systemd", ACTION=="change", SUBSYSTEM=="bluetooth", RUN+="@prefix@/sbin/bluetoothd --udev"