Component: Start up scripts OS: stable/14 Steps to Reproduce: ``` service start kubo-go ``` - Actual results: simply does not work, silently fails - Expected results: kubo/ipfs-go starting with the defined environment variables withing the start up script # Additional Information In the init script in /usr/local/etc/rc.d/kubo-go has incorrect paths and environment variables. KUBO_PATH by its self seems to not work, using IPFS_PATH as well works as expected. Additionally currently /usr/local/bin/kubo-go is used within the rc script, but kubo is installed in the path /usr/local/bin/kubo Before change (not working) ``` command_args="-S -m 3 -s ${kubo_syslog_priority} -l ${kubo_syslog_facility} -T ${kubo_syslog_tag} -p ${pidfile} /usr/bin/env KUBO_PATH=${kubo_path} ${kubo_env} /usr/local/bin/kubo-go daemon --init --init-profile=server --migrate=true ${kubo_args}" procname="/usr/local/bin/kubo-go" ``` After change (working) ``` command_args="-S -m 3 -s ${kubo_syslog_priority} -l ${kubo_syslog_facility} -T ${kubo_syslog_tag} -p ${pidfile} /usr/bin/env IPFS_PATH=${kubo_path} KUBO_PATH=${kubo_path} ${kubo_env} /usr/local/bin/kubo daemon --init --init-profile=server --migrate=true ${kubo_args}" procname="/usr/local/bin/kubo" ```
Component: Start up scripts OS: stable/14 Steps to Reproduce: ``` service kubo-go enable service kubo-go start ``` - Actual results: simply does not work, silently fails - Expected results: kubo/ipfs-go starting with the defined environment variables withing the start up script # Additional Information In the init script in /usr/local/etc/rc.d/kubo-go has incorrect paths and environment variables. KUBO_PATH by its self seems to not work, using IPFS_PATH as well works as expected. Additionally currently /usr/local/bin/kubo-go is used within the rc script, but kubo is installed in the path /usr/local/bin/kubo Before change (not working) ``` command_args="-S -m 3 -s ${kubo_syslog_priority} -l ${kubo_syslog_facility} -T ${kubo_syslog_tag} -p ${pidfile} /usr/bin/env KUBO_PATH=${kubo_path} ${kubo_env} /usr/local/bin/kubo-go daemon --init --init-profile=server --migrate=true ${kubo_args}" procname="/usr/local/bin/kubo-go" ``` After change (working) ``` command_args="-S -m 3 -s ${kubo_syslog_priority} -l ${kubo_syslog_facility} -T ${kubo_syslog_tag} -p ${pidfile} /usr/bin/env IPFS_PATH=${kubo_path} KUBO_PATH=${kubo_path} ${kubo_env} /usr/local/bin/kubo daemon --init --init-profile=server --migrate=true ${kubo_args}" procname="/usr/local/bin/kubo"
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=eedba1bf9e2977bc5a689f0505c3f62252c454f2 commit eedba1bf9e2977bc5a689f0505c3f62252c454f2 Author: John Hixson <jhixson@FreeBSD.org> AuthorDate: 2024-12-06 21:28:56 +0000 Commit: John Hixson <jhixson@FreeBSD.org> CommitDate: 2024-12-06 21:29:28 +0000 sysutils/kubo-go: use correct name for binary PR: 282501 Reported by: Emma M <eemmaa@waifu.club> sysutils/kubo-go/Makefile | 4 ++-- sysutils/kubo-go/pkg-plist | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
Fixed. Thanks!