1
0
Fork 0
tuned/tests/unit/plugins
Jaroslav Škarvada 2f911b7e02
hotplug: do not report ENOENT errors on device remove
It requires slight internal plugin API change, thus 3rd party plugins
needs updating.

Namely the 'command_set' methods for devices were extended by the
'remove' boolean parameter which is set to 'True' on the hotplug remove
event. Then the method should silent the ENOENT errors where
appropriate, because the device interface may be removed (by
kernel/udev) before the method finishes.

Resolves: RHEL-11342

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2023-12-07 13:00:34 +01:00
..
__init__.py Fixed building on RHEL-7/CentOS 7 2020-06-19 11:15:12 +02:00
test_base.py hotplug: do not report ENOENT errors on device remove 2023-12-07 13:00:34 +01:00