Bug#990051: xfce4-sensors-plugin tries to run hddtemp, complains when it cannot find it.
Package: xfce4-sensors-plugin
Version: 1.3.0-3
Severity: normal
X-Debbugs-Cc: charlescurley@charlescurley.com
Dear Maintainer,
I did a new installation of Debian Bullseye, with xfce4. Upon "apt upgrade", I got an email from the hddtemp package as follows:
--------------------------------------------------
hddtemp (0.3-beta15-54) unstable; urgency=medium
hddtemp has been dead upstream for many years and is therefore in a minimal
maintenance mode. It will be shipped in the Debian Bullseye release, but
will not be present in the Debian Bookworm release.
Nowadays the 'drivetemp' kernel module is a better alternative. It uses the
Linux Hardware Monitoring kernel API (hwmon), so the temperature is returned
the same way and using the same tools as other sensors.
Loading this module is as easy as creating a file in the /etc/modules-load.d
directory:
echo drivetemp > /etc/modules-load.d/drivetemp.conf
-- Aurelien Jarno <aurel32@debian.org> Tue, 02 Feb 2021 20:27:44 +0100
--------------------------------------------------
This lead me to "apt purge hddtemp" and go with the drivetemp module. It appears that xfce4-sensors-plugin finds the drivetemp data. The program sensor also appears to get it:
--------------------------------------------------
charles@orca:~$ sensors
thinkpad-isa-0000
...
drivetemp-scsi-2-0
Adapter: SCSI adapter
temp1: +37.0°C (low = +0.0°C, high = +70.0°C)
(crit low = +0.0°C, crit = +70.0°C)
(lowest = +29.0°C, highest = +40.0°C)
charles@orca:~$
--------------------------------------------------
However, and this is the gist of this bug, when loading after logging in, something (xfce4-sensors-plugin??) tries to load hddtemp. This, of course, fails. The failure results in a notification that the attempt to load hddtemp failed. Well, doh!
Could you (or upstream?) please make attempting to load hddtemp conditional on its being present and executable?
Thank you.
-- System Information:
Debian Release: 11.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-7-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages xfce4-sensors-plugin depends on:
ii libc6 2.31-12
ii libcairo2 1.16.0-5
ii libglib2.0-0 2.66.8-1
ii libgtk-3-0 3.24.24-4
ii libnotify4 0.7.9-3
ii libpango-1.0-0 1.46.2-3
ii libpangocairo-1.0-0 1.46.2-3
ii libsensors5 1:3.6.0-7
ii libx11-6 2:1.7.1-1
ii libxfce4panel-2.0-4 4.16.2-1
ii libxfce4ui-2-0 4.16.0-1
ii libxfce4util7 4.16.0-1
ii libxnvctrl0 460.56-1
Versions of packages xfce4-sensors-plugin recommends:
pn hddtemp <none>
ii lm-sensors 1:3.6.0-7
Versions of packages xfce4-sensors-plugin suggests:
pn xsensors <none>
-- no debconf information
Reply to: