|
Bugzilla – Full Text Bug Listing |
| Summary: | sensors fails to start after systemd service hardening | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | llyyr <llyyr.public> |
| Component: | Other | Assignee: | Jean Delvare <jdelvare> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | Andreas.Stieger, jsegitz, opensuse |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE Tumbleweed | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 1181400 | ||
Thank you for the bug report. https://build.opensuse.org/request/show/934574 should fix this This is an autogenerated message for OBS integration: This bug (1193149) was mentioned in https://build.opensuse.org/request/show/934609 Factory / sensors This also needs to be fixed in harden_fancontrol.service.patch because fancontrol service needs it to be able to read hwmon devices from /sys This is an autogenerated message for OBS integration: This bug (1193149) was mentioned in https://build.opensuse.org/request/show/940445 Factory / sensors should be fixed |
systemd security hardening efforts cause lm_sensors.service to fail to start ``` $ systemctl status lm_sensors × lm_sensors.service - Initialize hardware monitoring sensors Loaded: loaded (/usr/lib/systemd/system/lm_sensors.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Mon 2021-11-29 09:50:13 IST; 4s ago Process: 2205 ExecStart=/sbin/modprobe -qab $BUS_MODULES $HWMON_MODULES (code=exited, status=0/SUCCESS) Process: 2206 ExecStart=/usr/bin/sensors -s (code=exited, status=1/FAILURE) Main PID: 2206 (code=exited, status=1/FAILURE) CPU: 69ms ``` Commenting out the following line from lm_sensors.service makes it work again ProtectKernelTunables=true