FS#69017 - [lm_sensors] add optional dependencies

Attached to Project: Arch Linux
Opened by David (Marzal) - Thursday, 17 December 2020, 17:44 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
healthd service as it is right now in the package has two dependencies if some want to use it as it is.

I thinks is a good idea to add them as optional dependencies:

optdepends=('rrdtool: for logging with sensord',
'beep: for healthd service'
'smtp-forwarder: to send mail')

https://github.com/archlinux/svntogit-packages/blob/packages/lm_sensors/trunk/healthd.conf "recommends" to install beep but I think this would be a better place/solution.

Additional info:
* package version: 3.6.0-2
* config and/or log files etc.
healthd[210740]: which: no beep in (/usr/local/sbin:/usr/local/bin:/usr/bin)
mail: Cannot start /usr/sbin/sendmail: executable not found (adjust *mta* variable)



Steps to reproduce:
systemctl start healthd.service



This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:16 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/lm_sensors/issues/1
Comment by vindicator (vindicator) - Thursday, 01 April 2021, 01:54 GMT
I'll add to this that "https://github.com/archlinux/svntogit-packages/blob/packages/lm_sensors/trunk/healthd" is VERY old.
So, along with suggesting "beep" and something like "postfix" as optional dependencies, I would say that the
*****
echo "$message" | mail -s \
*****
"mail" be changed to "sendmail", and
*****
"Sensors ALARM detected at host: $( hostname )" \
*****
"hostname" be changed to "hostnamectl --static"
Comment by EasyToRemember (EasyToRemember) - Sunday, 20 February 2022, 11:20 GMT
Having 'rrdtool' as an optional dependency contradicts the recommended setup as per Wiki:

https://wiki.archlinux.org/title/Lm_sensors

The end of Setup section reads:

**Note: A systemd service is automatically enabled if users answer YES when asked about generating /etc/conf.d/lm_sensors. Answering YES also automatically starts the service.**

However, sensord.service fails to start when rrdtool is not installed.


Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...