FS#32368 - [hddtemp] not returning HDD temps for multiple drives as a systemd service
Attached to Project:
Arch Linux
Opened by Peter Hardman (shetland_breeder) - Thursday, 01 November 2012, 17:53 GMT
Last edited by Gaetan Bisson (vesath) - Sunday, 04 November 2012, 05:14 GMT
Opened by Peter Hardman (shetland_breeder) - Thursday, 01 November 2012, 17:53 GMT
Last edited by Gaetan Bisson (vesath) - Sunday, 04 November 2012, 05:14 GMT
|
Details
Description:
hddtemp returns an error in response to 'telnet localhost 7634' if the DRIVES= variable in /etc/conf.d/hddtemp is of the form "/dev/sd[ab]" when run as a systemd service. Works as expected if drives are specified as "/dev/sda /dev/sdb" The man page gives the /dev/sd[ab] form in an example and it always worked with initscripts. Additional info: hddtemp 0.3.beta15.52-1 systemd 195-2 kernel 3.6.4=1 Steps to reproduce: Run hddtemp as a systemd service reporting on multiple hard drives. The same command line used by the service works as expected from the console. In the failing case the telnet output is: Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. |/dev/sd[ab]|???|ERR|*|Connection closed by foreign host. vs the expected: Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. |/dev/sda|Hitachi HDT721032SLA360|27|C||/dev/sdb|Hitachi HDT721032SLA360|27|C|Connection closed by foreign host. I've reported this here instead of upstream because it seems to related to running hddtemp as a systemd service. |
This task depends upon
So I guess this is an upstream bug.