Package: brightness-udev Version: 0.5.1-2 Severity: normal /lib/udev/rules.d/90-brightnessctl.rules contains
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness" ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness" ACTION=="add", SUBSYSTEM=="leds", RUN+="/bin/chgrp input /sys/class/leds/%k/brightness" ACTION=="add", SUBSYSTEM=="leds", RUN+="/bin/chmod g+w /sys/class/leds/%k/brightness" However, these files do not necessarily exist and I get errors in the journalctl output. This issue has occurred since Linux kernel 5.8 (no errors with 5.7.0-3-amd64, and errors started to appear with 5.8.0-1-amd64). 5.7.0-3-amd64 is no longer available, but I could compare with the stable kernel, where there are no issues. *** Stable kernel 4.19: zira:~> uname -a Linux zira 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux zira:~> journalctl -b | grep -E 'Apple Keyboard|chmod|chgrp' Sep 24 11:07:30 zira kernel: usb 2-6.2: Product: Apple Keyboard Sep 24 11:07:30 zira kernel: input: Apple, Inc Apple Keyboard as /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.0/0003:05AC:0221.0001/input/input8 Sep 24 11:07:30 zira kernel: apple 0003:05AC:0221.0001: input,hidraw0: USB HID v1.11 Keyboard [Apple, Inc Apple Keyboard] on usb-0000:00:14.0-6.2/input0 Sep 24 11:07:30 zira kernel: input: Apple, Inc Apple Keyboard as /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.1/0003:05AC:0221.0002/input/input9 Sep 24 11:07:30 zira kernel: apple 0003:05AC:0221.0002: input,hidraw1: USB HID v1.11 Device [Apple, Inc Apple Keyboard] on usb-0000:00:14.0-6.2/input1 Sep 24 11:07:32 zira systemd-logind[755]: Watching system buttons on /dev/input/event2 (Apple, Inc Apple Keyboard) zira:~> ll /sys/class/leds/*/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:07:32 /sys/class/leds/hp::hddprotect/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:07:30 /sys/class/leds/input0::capslock/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:07:30 /sys/class/leds/input0::numlock/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:07:30 /sys/class/leds/input0::scrolllock/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:07:30 /sys/class/leds/input8::capslock/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:07:30 /sys/class/leds/input8::compose/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:07:30 /sys/class/leds/input8::kana/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:07:30 /sys/class/leds/input8::numlock/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:07:30 /sys/class/leds/input8::scrolllock/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:07:31 /sys/class/leds/phy0-led/brightness *** Latest unstalbe kernel 5.8: zira:~> uname -a Linux zira 5.8.0-2-amd64 #1 SMP Debian 5.8.10-1 (2020-09-19) x86_64 GNU/Linux zira:~> journalctl -b | grep -E 'Apple Keyboard|chmod|chgrp' Sep 24 11:09:42 zira kernel: usb 2-6.2: Product: Apple Keyboard Sep 24 11:09:42 zira kernel: input: Apple, Inc Apple Keyboard as /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.0/0003:05AC:0221.0001/input/input9 Sep 24 11:09:42 zira kernel: apple 0003:05AC:0221.0001: input,hidraw0: USB HID v1.11 Keyboard [Apple, Inc Apple Keyboard] on usb-0000:00:14.0-6.2/input0 Sep 24 11:09:42 zira kernel: input: Apple, Inc Apple Keyboard as /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.1/0003:05AC:0221.0002/input/input10 Sep 24 11:09:42 zira kernel: apple 0003:05AC:0221.0002: input,hidraw1: USB HID v1.11 Device [Apple, Inc Apple Keyboard] on usb-0000:00:14.0-6.2/input1 Sep 24 11:09:43 zira systemd-udevd[448]: input9::compose: Process '/bin/chgrp input /sys/class/leds/input9::compose/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[453]: input9::capslock: Process '/bin/chgrp input /sys/class/leds/input9::capslock/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[464]: input9::kana: Process '/bin/chgrp input /sys/class/leds/input9::kana/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[436]: input9::numlock: Process '/bin/chgrp input /sys/class/leds/input9::numlock/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[448]: input9::compose: Process '/bin/chmod g+w /sys/class/leds/input9::compose/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[461]: input9::scrolllock: Process '/bin/chgrp input /sys/class/leds/input9::scrolllock/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[464]: input9::kana: Process '/bin/chmod g+w /sys/class/leds/input9::kana/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[436]: input9::numlock: Process '/bin/chmod g+w /sys/class/leds/input9::numlock/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[461]: input9::scrolllock: Process '/bin/chmod g+w /sys/class/leds/input9::scrolllock/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[453]: input9::capslock: Process '/bin/chmod g+w /sys/class/leds/input9::capslock/brightness' failed with exit code 1. Sep 24 11:09:43 zira kernel: usb 2-6.2: Product: Apple Keyboard Sep 24 11:09:43 zira kernel: input: Apple, Inc Apple Keyboard as /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.0/0003:05AC:0221.0004/input/input29 Sep 24 11:09:43 zira kernel: apple 0003:05AC:0221.0004: input,hidraw0: USB HID v1.11 Keyboard [Apple, Inc Apple Keyboard] on usb-0000:00:14.0-6.2/input0 Sep 24 11:09:43 zira kernel: input: Apple, Inc Apple Keyboard as /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.1/0003:05AC:0221.0005/input/input30 Sep 24 11:09:43 zira kernel: apple 0003:05AC:0221.0005: input,hidraw1: USB HID v1.11 Device [Apple, Inc Apple Keyboard] on usb-0000:00:14.0-6.2/input1 Sep 24 11:09:43 zira kernel: input: Apple, Inc Apple Keyboard as /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.0/0003:05AC:0221.0006/input/input31 Sep 24 11:09:43 zira kernel: apple 0003:05AC:0221.0006: input,hidraw0: USB HID v1.11 Keyboard [Apple, Inc Apple Keyboard] on usb-0000:00:14.0-6.2/input0 Sep 24 11:09:43 zira kernel: input: Apple, Inc Apple Keyboard as /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.1/0003:05AC:0221.0008/input/input33 Sep 24 11:09:43 zira kernel: apple 0003:05AC:0221.0008: input,hidraw2: USB HID v1.11 Device [Apple, Inc Apple Keyboard] on usb-0000:00:14.0-6.2/input1 Sep 24 11:09:43 zira systemd-udevd[445]: input29::compose: Process '/bin/chgrp input /sys/class/leds/input29::compose/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[449]: input29::capslock: Process '/bin/chgrp input /sys/class/leds/input29::capslock/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[444]: input29::numlock: Process '/bin/chgrp input /sys/class/leds/input29::numlock/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[445]: input29::compose: Process '/bin/chmod g+w /sys/class/leds/input29::compose/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[449]: input29::capslock: Process '/bin/chmod g+w /sys/class/leds/input29::capslock/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[444]: input29::numlock: Process '/bin/chmod g+w /sys/class/leds/input29::numlock/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[433]: input29::scrolllock: Process '/bin/chgrp input /sys/class/leds/input29::scrolllock/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[433]: input29::scrolllock: Process '/bin/chmod g+w /sys/class/leds/input29::scrolllock/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[435]: input29::kana: Process '/bin/chgrp input /sys/class/leds/input29::kana/brightness' failed with exit code 1. Sep 24 11:09:43 zira systemd-udevd[435]: input29::kana: Process '/bin/chmod g+w /sys/class/leds/input29::kana/brightness' failed with exit code 1. Sep 24 11:09:44 zira systemd-logind[718]: Watching system buttons on /dev/input/event20 (Apple, Inc Apple Keyboard) zira:~> ll /sys/class/leds/*/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:09:44 /sys/class/leds/hp::hddprotect/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:09:42 /sys/class/leds/input0::capslock/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:09:42 /sys/class/leds/input0::numlock/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:09:42 /sys/class/leds/input0::scrolllock/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:09:44 /sys/class/leds/input31::capslock/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:09:44 /sys/class/leds/input31::compose/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:09:44 /sys/class/leds/input31::kana/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:09:44 /sys/class/leds/input31::numlock/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:09:44 /sys/class/leds/input31::scrolllock/brightness -rw-rw-r-- 1 root input 4096 2020-09-24 11:09:43 /sys/class/leds/phy0-led/brightness One can see that there are more devices, and the files exist only for one of them. -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.8.0-2-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -- no debconf information -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)