From owner-freebsd-elastic@freebsd.org Fri Mar 6 06:55:52 2020 Return-Path: Delivered-To: freebsd-elastic@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 829B82611DF for ; Fri, 6 Mar 2020 06:55:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48YdgD0CQBz438V for ; Fri, 6 Mar 2020 06:55:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 290E82611DC; Fri, 6 Mar 2020 06:55:51 +0000 (UTC) Delivered-To: elastic@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 28A6F2611DB for ; Fri, 6 Mar 2020 06:55:51 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48YdgB6Lnkz436k for ; Fri, 6 Mar 2020 06:55:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 992D41C46E for ; Fri, 6 Mar 2020 06:55:50 +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 0266toCS096014 for ; Fri, 6 Mar 2020 06:55:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0266toNM096013 for elastic@FreeBSD.org; Fri, 6 Mar 2020 06:55:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: elastic@FreeBSD.org Subject: maintainer-feedback requested: [Bug 244627] sysutils/beats filebeat rc.d started with wrong path.home Date: Fri, 06 Mar 2020 06:55:50 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: elastic@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-elastic@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Support of ElasticSearch-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2020 06:55:52 -0000 Bugzilla Automation has asked freebsd-elastic mailing list for maintainer-feedback: Bug 244627: sysutils/beats filebeat rc.d started with wrong path.home https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244627 --- Description --- Current rc.d script is starting with -path.home=3D/var/db/beats/filebeat. The correct path.home should be /usr/local/share/beats/filebeat. /var/db/beats/filebeat is only the data directory. Correct cli args should be "-path.data /var/db/beats/filebeat -path.config /usr/local/etc -path.home /usr/local/share/beats/filebeat" see diff below: --- /usr/local/etc/rc.d/filebeat.old 2020-01-06 12:52:53.000000000 +1100 +++ /usr/local/etc/rc.d/filebeat 2020-03-06 17:52:04.423819000 +1100 @@ -21,7 +21,7 @@ load_rc_config $name : ${filebeat_enable:=3D"NO"} -: ${filebeat_config:=3D"-path.home /var/db/beats/${name} -path.config /usr/local/etc"} +: ${filebeat_config:=3D"-path.home=3D/usr/local/share/beats/${name} -path.= data /var/db/beats/${name} -path.config /usr/local/etc"} Also I would suggest that path.config be /usr/local/etc/filebeat instead of /usr/local/etc