Created attachment 378758 [details] Strace when trying to load the driver When trying to use upsdrv with an Eaton UPS connected via USB using the usbhid-ups driver on a kernel using GRKERNSEC_SYSFS_RESTRICT the driver can't find the device. strace shows that the system tries to access /sys/bus/usb/devices to find the devices but is not allowed. A solution to this would be getting a whitelisted group which is allowed access to the sysfs filesystem or more finegrained controls.
I think I never had the chance to tell spender about this, sorry. I'm CCing he now.
ping @upstream. Anything to do here?
I'm closing as the system no longer uses hardened sources so testing will be impossible.