From: Florian Eckert Date: Tue, 15 Mar 2022 13:52:05 +0000 (+0100) Subject: collectd: remove not needed fix X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=a9ea1cf6ed08940be08c6d0170514665ac41d6c1;p=openwrt-packages.git collectd: remove not needed fix This was not a real fix but a workaround. It is no longer clear to me why this was necessary. Deleting the patch restores the upstream behaviour of the collected for the smart plugin. I have tested it and on my system the hard disk to be monitored is recognised. root@system ~ # cat /sys/class/block/sda/uevent MAJOR=8 MINOR=0 DEVNAME=sda DEVTYPE=disk Signed-off-by: Florian Eckert --- diff --git a/utils/collectd/patches/933-fix-smart-detection.patch b/utils/collectd/patches/933-fix-smart-detection.patch deleted file mode 100644 index 70250d61b..000000000 --- a/utils/collectd/patches/933-fix-smart-detection.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/src/smart.c -+++ b/src/smart.c -@@ -610,7 +610,6 @@ static int smart_read(void) { - return -1; - } - udev_enumerate_add_match_subsystem(enumerate, "block"); -- udev_enumerate_add_match_property(enumerate, "DEVTYPE", "disk"); - udev_enumerate_scan_devices(enumerate); - devices = udev_enumerate_get_list_entry(enumerate); - if (devices == NULL) {