FS#76963 - "taskd" package missing dependency on "which"
Attached to Project:
Community Packages
Opened by Nicholas Flynt (zeta0134) - Friday, 30 December 2022, 15:13 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 03 June 2023, 17:35 GMT
Opened by Nicholas Flynt (zeta0134) - Friday, 30 December 2022, 15:13 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 03 June 2023, 17:35 GMT
|
Details
Description:
During a fresh taskd setup, following https://wiki.archlinux.org/title/Taskd#Setup, keys and certificates must be generated. The shell script at /usr/share/doc/taskd/pki/generate relies on the "which" utility to discover relevant key generation tools, but this is not listed as a dependency. Without "which", the script fails with: --- [root@redacted pki]# ./generate ./generate.ca: line 4: which: command not found ./generate.ca: line 4: which: command not found ERROR: No certtool found ./generate.server: line 4: which: command not found ./generate.server: line 4: which: command not found ERROR: No certtool found ./generate.crl: line 4: which: command not found ./generate.crl: line 4: which: command not found ERROR: No certtool found ./generate.client: line 4: which: command not found ./generate.client: line 4: which: command not found ERROR: No certtool found --- Manually installing "which" is sufficient to work around the issue, and post setup the daemon seems to run just fine without it. An optional dependency seems appropriate here. Additional info: * package version(s) - taskd-1.1.0-5-x86_64 - which-2.21-5-x86_64 Steps to reproduce: - On a freshly installed Arch system, `pacman -S taskd` - (optional, default are fine) Edit the variables in /usr/share/doc/taskd/pki/vars - Change directory to /usr/share/doc/taskd/pki/ - Run ./generate |
This task depends upon
Closed by Jelle van der Waa (jelly)
Saturday, 03 June 2023, 17:35 GMT
Reason for closing: Fixed
Additional comments about closing: Added optional dep to which
taskd-1.1.0-6-x86_64.pkg.tar.zst
Saturday, 03 June 2023, 17:35 GMT
Reason for closing: Fixed
Additional comments about closing: Added optional dep to which
taskd-1.1.0-6-x86_64.pkg.tar.zst
[1] https://github.com/archlinux/svntogit-packages/commit/9d470705f3cc19c87fb2adeebeeac59a9b253cf9