FS#66603 - [smartmontools] should depend on inetutils

Attached to Project: Arch Linux
Opened by Sebastian Wyder (sebastian.wyder) - Sunday, 10 May 2020, 15:41 GMT
Last edited by Christian Hesse (eworm) - Friday, 28 August 2020, 07:01 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

smartmontools depends[1] on the «hostname» command to display the system's hostname in email notifications.

Therefore, inetutils which provides «hostname» should be included as an optional dependency.

[1] https://github.com/smartmontools/smartmontools/blob/32b94fb4cf07ddefe022deac74518a29a4c16149/smartmontools/smartd_warning.sh.in#L73
This task depends upon

Closed by  Christian Hesse (eworm)
Friday, 28 August 2020, 07:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  smartmontools 7.1-2
Comment by Sebastian Wyder (sebastian.wyder) - Sunday, 10 May 2020, 15:43 GMT
Sorry for not providing a summary in the title, was not able to add one after submission.
Comment by Geert Hendrickx (ghen) - Wednesday, 26 August 2020, 14:23 GMT
`hostname` is not defined by POSIX, maybe you can ask upstream to use portable `uname -n` instead?
inetutils should be avoided :-)
Comment by Jakub Klinkovský (lahwaacz) - Wednesday, 26 August 2020, 14:32 GMT
Upstream configure script already uses `uname -n` when `hostname` is not available: https://github.com/smartmontools/smartmontools/commit/33ca163351e93356d48cff5644924c9145389bc9

Loading...