From nobody Sun Mar 19 14:55:17 2023 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 4Pfgs14mpJz40JK7 for ; Sun, 19 Mar 2023 14:55:17 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pfgs12rlxz4K2v for ; Sun, 19 Mar 2023 14:55:17 +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=1679237717; 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: in-reply-to:in-reply-to:references:references; bh=bmkOXd+/43Mf6C34cjXYjmVpgL0Nk+fylh8Oa5b7vZ8=; b=Gu7EcwTyOLC9LIW7LTWYdyKFCz1/YEsbrSdNGPYRkYuTE8cDSe8GD0ZLTobX0lMXrouqgz c7qm6ZP0sgxAXzRbia9jd4x25dzvl9V6tkH70fg9ziHEOCpCKZhutkU7MKDjdGXoVA7vf7 UlZ5FWFFttkuywXBBLCWN725b40dBgEZMznnmnVYouQaEGIV57/fAdeA7/Io2sJBzrA7oj zKXqQgMkig8qTB6RhS9fkq5C2H9E2peo687dzoaXsCq324gj3EvgKSBNos9r40phG4qOxZ 768cV0ygf5MFqr+6p6mM5uqeb2SXsqGtOcvWKhVZh0iUMj4qgeM2Xyxpay4CSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679237717; a=rsa-sha256; cv=none; b=Zwbg1ozXxTAh4B/Xe5pWT6XdRkXgIFk0LlFBxLIZ0l6fgaV8XRVpJVU5rKUO0wJQLGxI8f ioYDQm946JImWdQ40BwR3PKXpMo1qaIhhcZgekzyc2eUtBYaGpa8RG+zskKfJ53t6sxoRi AI01AgeQbuG7h7xtz06I4oHmZYFmHPk6W6adpYeQewnWgghNbyShDhdMWufvwh7WvVrLAz 88Wmgy1qGNfTSHbbH3JTtYniI8GbFsNF8ZyMP9mMJqnjWszFTy0nrq5FOjIMCunfwgHlY8 ev/Vph7CFbUWEu+2yfexCAbk8cKbkBj9P90jEP8Y8Oa1pTthlHDDtg7naIqYAg== 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 4Pfgs11y0Czt39 for ; Sun, 19 Mar 2023 14:55:17 +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 32JEtHWP007807 for ; Sun, 19 Mar 2023 14:55:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32JEtHLM007806 for ports-bugs@FreeBSD.org; Sun, 19 Mar 2023 14:55:17 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 269629] net-mgmt/netdata: Netdata 1.38.0 complains about permissions using default config Date: Sun, 19 Mar 2023 14:55:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: grahamperrin@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269629 --- Comment #9 from Graham Perrin --- (In reply to Daniel Engberg from comment #8) Thanks, I tried that already.=20 Retry:=20 ---- root@mowa219-gjp4-8570p-freebsd:~ # date=20 Sun Mar 19 14:20:14 GMT 2023 root@mowa219-gjp4-8570p-freebsd:~ # service netdata stop Stopping netdata. Waiting for PIDS: 15502 15503, 15502 15503, 15502 15503, 15502 15503, 15502 15503. root@mowa219-gjp4-8570p-freebsd:~ # service netdata status netdata is not running. root@mowa219-gjp4-8570p-freebsd:~ # pkg delete --quiet --yes netdata =3D=3D> You should manually remove the "netdata" user.=20 =3D=3D> You should manually remove the "netdata" group=20 You may need to manually remove /usr/local/etc/netdata/netdata.conf if it i= s no longer needed. root@mowa219-gjp4-8570p-freebsd:~ # rm /usr/local/libexec/netdata/plugins.d/apps.plugin rm: /usr/local/libexec/netdata/plugins.d/apps.plugin: No such file or direc= tory root@mowa219-gjp4-8570p-freebsd:~ # pkg install --quiet --yes netdata =3D=3D=3D> Creating groups. Using existing group 'netdata'. =3D=3D=3D> Creating users Using existing user 'netdata'. =3D=3D=3D> Creating homedir(s) =3D=3D=3D=3D=3D Message from netdata-1.38.1: -- Quick start for local-only use: 1. sysrc netdata_enable=3D"YES" 2. service netdata start 3. Go to http://localhost:19999/ 4. Connect to Netdata Cloud using the netdata-claim.sh script: https://learn.netdata.cloud/docs/agent/claim#claiming-script root@mowa219-gjp4-8570p-freebsd:~ # ls -hln /usr/local/libexec/netdata/plugins.d/apps.plugin -rwsr-x--- 1 0 302 117K Mar 13 01:57 /usr/local/libexec/netdata/plugins.d/apps.plugin root@mowa219-gjp4-8570p-freebsd:~ # date ; service netdata start Sun Mar 19 14:23:37 GMT 2023 Starting netdata. root@mowa219-gjp4-8570p-freebsd:~ #=20 ---- Then:=20 ---- % tail -f -n 0 /var/log/messages Mar 19 14:23:39 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: PROCFILE: Ca= nnot open file '/usr/local/etc/netdata/apps_groups.conf' Mar 19 14:30:09 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch process 78634 command line (command 'python3.9') Mar 19 14:35:51 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch process 80348 command line (command 'sh') Mar 19 14:35:52 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch process 80958 command line (command 'sh') Mar 19 14:35:59 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch process 81586 command line (command 'cat') Mar 19 14:36:06 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch process 82186 command line (command 'sh') Mar 19 14:36:06 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch process 82188 command line (command 'gsed') Mar 19 14:40:14 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch process 82829 command line (command 'python3.9') Mar 19 14:46:00 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch process 83745 command line (command 'python3.9') Mar 19 14:46:00 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch process 83748 command line (command 'cc') Mar 19 14:46:12 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch process 83978 command line (command 'c++') Mar 19 14:46:14 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch process 84021 command line (command 'sccache') Mar 19 14:47:51 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch process 84882 command line (command 'sysctl') Mar 19 14:48:25 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: heartbeat cl= ock: woke up 504757 microseconds later than expected (can be due to system load = or the CLOCK_REALTIME set to the future). Mar 19 14:50:01 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch process 85232 command line (command 'gfortran12') Mar 19 14:50:03 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch process 85258 command line (command 'sh') ^C % --=20 You are receiving this mail because: You are the assignee for the bug.=