FS#35391 - [hddtemp] 0.3beta15.52-2 only displays /dev/sda in gkrellm hddtemps
Attached to Project:
Arch Linux
Opened by Dutch de Ruyter (straykat59) - Tuesday, 21 May 2013, 02:21 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 22 May 2013, 22:11 GMT
Opened by Dutch de Ruyter (straykat59) - Tuesday, 21 May 2013, 02:21 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 22 May 2013, 22:11 GMT
|
Details
Description: gkrellm is only able to see /dev/sda in Sensors
> Temperatures > hddtemp after upgrade of hddtemp to
0.3beta15.52-2. I have four (4) hard drives.
Package version: 0.3beta15.52-2 Rebuilt hddtemp from ABS with the following changes & all hard drives temps appear again in gkrellm. ABS > hddtemp > service: [Service] ExecStart=/usr/bin/hddtemp -dF /dev/sda Changed to: [Service] ExecStart=/usr/bin/hddtemp -dqF /dev/sda /dev/sdb /dev/sdc /dev/sdd To reproduce: reinstall hddtemp via pacman -S hddtemp I have attached my modified ABS > hddtemp > service file |
This task depends upon
https://wiki.archlinux.org/index.php/User:Djgera#hddtemp
I think that hddtemp needs to be compiled so your walk around is in fact not needed.
The change that I have applied to ABS > hddtemp adds your feature into systemd without having to edit systemd itself.
I am sure there is an "Acher" out there who can get hddtemp to automatically detect all hard drive temperatures?
My /etc/conf.d/hddtemp
PARAMS="-q -l 127.0.0.1"
DRIVES="/dev/sda /dev/sdb /dev/sdc"
So, I was getting details about 3 hards by netcat.
But now I getting details only about /dev/sda, even if DRIVES="/dev/sdb".
This report is connected with my problems?
hddtemp now ignores /etc/conf.d/hddtemp & systemd is fully implemented.
The "service" config file in ABS > hddtemp places the systemd "service" in /etc/systemd/system/multi-user.target.wants/hddtemp.service. This is the file I changed to get hddtemp to see all my drives.
As Pozzi has suggested you can place a "service" file in the /etc/systemd/system/ which will take priority, but I think it would be better if hddtemp was able to detect & display all hard drive temps. out of the box.
I have read some threads about this, mostly Fedora/Red Hat, about getting the "service" file to auto detect all hard drives.
Thank you for your explanation, now all works fine.
But this must be work "out of box", so I voted.
We ship reasonable default values and it is up to the user to customize them to fit their needs (just as you had to customize /etc/conf.d or other configuration files before).