9 Commits
Author SHA1 Message Date
Aurelien Jarno 927568e956 Makefile: do not use a temporary file to test iconv
Using a predictible temporary file name in /tmp is a security risk. It
could be used to overwrite or delete arbitrary files through a symlink,
possibly as root when running for instance "sudo make install".

Use "-o /dev/null" instead, which is supported by at least clang and
gcc.

Fixes: 68bda21952
2026-04-27 07:36:53 +00:00
Aurelien Jarno 039d0901bc sensors: remove duplicated LIBICONV definition from Module.mk
LIBICONV is already defined in the top level Makefile, so it does not
need to be redefined in prog/sensors/Module.mk.

In addition the latter version causes a.out file to be created when
running make targets, even "make clean".

Fixes: 68bda21952
2026-04-27 07:36:53 +00:00
Aurelien Jarno 9a17b6ec6a sensors.conf.5: editorial fixes
Submitted by Bjarni Ingi Gislason <bjarniig@simnet.is> via the Debian
BTS, bug #1051093.
2026-04-24 07:01:28 +00:00
Aurelien Jarno ed0ff3d18c sensors-detect.8: editorial fixes
Submitted by Bjarni Ingi Gislason <bjarniig@simnet.is> via the Debian
BTS, bug #1051123.
2026-04-24 07:01:28 +00:00
Aurelien Jarno 7d098e6af0 sensors-conf-convert.8: editorial fixes
Submitted by Bjarni Ingi Gislason <bjarniig@simnet.is> via the Debian
BTS, bug #1051117.
2026-04-24 07:01:28 +00:00
Aurelien Jarno 97ef21e5ef sensors.1: editorial fixes
Submitted by Bjarni Ingi Gislason <bjarniig@simnet.is> via the Debian
BTS, bug #1050985.
2026-04-24 07:01:28 +00:00
Aurelien Jarno 53b2e83051 isaset.8: editorial fixes
Submitted by Bjarni Ingi Gislason <bjarniig@simnet.is> via the Debian
BTS, bug #1051115.
2026-04-24 07:01:28 +00:00
Aurelien Jarno 4fd2346cf7 isadump.8: editorial fixes
Submitted by Bjarni Ingi Gislason <bjarniig@simnet.is> via the Debian
BTS, bug #1051114.
2026-04-24 07:01:28 +00:00
Aurelien Jarno 6282f6925a Emit missing sensor warning only if SENSORS_SYSFS_ROOT is defined
The lm-sensors library is widely used in various software, which could
be run in VMs where HWMON support may be absent (e.g. cloud kernels in
Debian). To avoid a confusing "/sys: No sensors at /sys/class/hwmon" on
the console or in the logs, only emit the message if the user specifies
an alternative path through SENSORS_SYSFS_ROOT. This behavior mirrors
what is done for the "Not a sysfs mount" message.

Fixes: 89548dab2a ("Add SENSORS_SYSFS_ROOT environment support")
2026-04-21 13:43:41 +02:00