diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-07-20 09:17:57 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-07-20 09:17:57 +0200 |
commit | 32eae3c2a878dc2971431a1f4122e9d0884514aa (patch) | |
tree | 1b8398961fa6ae2b7cd3f0dcfc88afb0f4cfc3ea /src/cgls/cgls.c | |
parent | 891a15cab2d9df187bb55903223bc2a569cf9f5d (diff) |
rules: make sure always set at least one property on rfkill devices
The rfkill service waits for rfkill device initialization as reported by
udev_device_is_initialized(), and if that is never reported it might dead-lock.
However, udev never reports completed initialization for devices that have no
properties or tags set. For some rfkill devices this might be the case, in
particular those which are connected to exotic busses, where path_id returns
nothing.
This patch simply sets the SYSTEM_RFKILL property on all rfkill devices, to
ensure that udev_device_is_initialized() always reports something useful and we
don't dead-lock.
Fixes: #2745
Diffstat (limited to 'src/cgls/cgls.c')
0 files changed, 0 insertions, 0 deletions