From nobody Sat Nov 02 19:09:02 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XgnMf6NYMz5cXR6 for ; Sat, 02 Nov 2024 19:09:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XgnMf2J6Yz4rcn for ; Sat, 2 Nov 2024 19:09:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730574542; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zn2sNOMU7j2PdjyZsjca5tmcC9Moi6k3RuF38nZCm+A=; b=qnWq3t2uP6f2Oakkxc89J/zykeUI7iDwR3B7oau0ft+Lq5IoNuS9XKnh/cmhgU+3RgGH2y 0/XS1uyG1Wnv6rVNTroXkRlUNmIH4lk5bjUQmJ0ooyoAEegloCrmm66LmAQwVinH6Zzw1U urZpw8Ejb6XDOrZ08uGoUWNBBPAW2cY1s9zGzXMC4+PrAg2z1PwLxNalXQPI6qWnZHqioz OkF0acAj2LJN29Gj+84ZSULLwni1NiK5XUcn+noW2KU2nhmFDAHHY+AeYbmLWDPexD22gH PoYl/iL4MR/0YIdDTenRaSpLIuPVDl6C3OJzlqAFS3XIm+G+pF8ffctDtEad7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730574542; a=rsa-sha256; cv=none; b=KZ9qPi9QnuE4RfR1dtwl0Hgptn3Q0Kx/jFETgoYDgr0pHOwET6zcljvA5nNUPFyms/buA2 LR1joiKsDeGptQOvbCwHKVwLYQQsmefotmzMR6jFzomU8oBWtiC+7/hv03pVxAVE+ozWkt mypzBZ10newYQbbfHP7zWd3rsnv+XbLp/JfxcFf/19vDHy90FKV2ByC3Fuxz+Kvrf3M+cb WzplxJw7+TrLJDCVzSWblCjDIsKMrPZIUDHA2RRrrrk26NXbGSq+NJJW2W2zYhjONlQOUj TmgUj2MA1c4bRKyvWZH9AaoM/xfeoZiFMf9OlITjDuOiUku6Lsdc9s57E5z2VA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XgnMf1krnzGsX for ; Sat, 2 Nov 2024 19:09:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4A2J92xW027618 for ; Sat, 2 Nov 2024 19:09:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4A2J92mc027617 for ports-bugs@FreeBSD.org; Sat, 2 Nov 2024 19:09:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 282501] sysutils/kubo-go: Incorrect path and environment variables in rc.d script Date: Sat, 02 Nov 2024 19:09:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eemmaa@waifu.club X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jhixson@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282501 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 st= art 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.=20 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=3D"-S -m 3 -s ${kubo_syslog_priority} -l ${kubo_syslog_facilit= y} -T ${kubo_syslog_tag} -p ${pidfile} /usr/bin/env KUBO_PATH=3D${kubo_path} ${kubo_env} /usr/local/bin/kubo-go daemon --init --init-profile=3Dserver --migrate=3Dtrue ${kubo_args}" procname=3D"/usr/local/bin/kubo-go" ``` After change (working) ``` command_args=3D"-S -m 3 -s ${kubo_syslog_priority} -l ${kubo_syslog_facilit= y} -T ${kubo_syslog_tag} -p ${pidfile} /usr/bin/env IPFS_PATH=3D${kubo_path} KUBO_PATH=3D${kubo_path} ${kubo_env} /usr/local/bin/kubo daemon --init --init-profile=3Dserver --migrate=3Dtrue ${kubo_args}" procname=3D"/usr/local/bin/kubo" ``` --=20 You are receiving this mail because: You are the assignee for the bug.=