Package: hobbit-plugins
Version: 20201127
Severity: minor

Dear maintainer,

hobbit-plugins suggests hddtemp which is going to be removed from the
archive.

hddtemp is a software from another age that will not be shipped with
Debian Bookworm release [1]. However it could be easily replaced by the
drivetemp kernel module (available since kernel 5.6) which uses the same
hwmon interface as for NVME drives and other systems sensors and is
supported by lm-sensors. It does not require any privilege, as opposed
to hddtemp which runs as a daemon or a setuid binary.

hobbit-plugins currently suggests hddtemp to provide the optional
feature of reporting drive temperatures. As it pokes at the /sys hwmon
directory directly for the CPu temperature, you might consider doing the
same for drives temperature using a path like:
/sys/devices/pci*/*/ata*/host*/target*/*/hwmon/hwmon*/temp*_input
Alternatively you might want to call the sensors binary (from
lm-sensors) with -u (raw ouput) or -j (json output) and parse its
output.

Note that recommends do not affected installability, so it is not an
issue if hddtemp is removed from the archived before this bug is fixed.

Regards,
Aurelien

[1] https://sources.debian.org/src/hddtemp/0.3-beta15-54/debian/NEWS/

Reply via email to