[Bug 282501] sysutils/kubo-go: Incorrect path and environment variables in rc.d script
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Nov 2024 19:09:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282501 Bug ID: 282501 Summary: sysutils/kubo-go: Incorrect path and environment variables in rc.d script Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: jhixson@FreeBSD.org Reporter: eemmaa@waifu.club Assignee: jhixson@FreeBSD.org Flags: maintainer-feedback?(jhixson@FreeBSD.org) 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" ``` -- You are receiving this mail because: You are the assignee for the bug.