Describe the bug
RuuviCollector does not work when run without root privileges after raspberry pi os 12/2022 updates.
To Reproduce
Make a fresh install with latest updates of raspberry pi os 32-bit
Install RuuviCollector as per readme
Run RuuviCollector without root privileges
Expected behavior
RuuviCollector works.
Environment
OS and device (ie. Raspbian on RaspberryPI): Raspberry pi OS (32-bit) & Raspberry Pi ZeroW 2
Java version (check with java -version): openjdk version "17.0.4" 2022-07-19
Additional information
Issue was resolved with adding cap_sys_rawio to capabilities.
Describe the bug RuuviCollector does not work when run without root privileges after raspberry pi os 12/2022 updates.
To Reproduce
Expected behavior RuuviCollector works.
Environment OS and device (ie. Raspbian on RaspberryPI): Raspberry pi OS (32-bit) & Raspberry Pi ZeroW 2 Java version (check with java -version): openjdk version "17.0.4" 2022-07-19
Additional information Issue was resolved with adding
cap_sys_rawio
to capabilities.