From nobody Tue Oct 3 18:49:58 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 4S0RhQ3hbVz4vrRf for ; Tue, 3 Oct 2023 18:49:58 +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 4S0RhQ28J0z4T8N for ; Tue, 3 Oct 2023 18:49:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696358998; a=rsa-sha256; cv=none; b=gmKWD1tmgsBpHA7j6H+S9qofZPbznLurdsKnsYiYbjthfLlQBqYnfKfIVcqLEgK0g9hIjf UFWPEmBNI4G3wk1Y0XlNCOp/gsP7cdEAjptfZujobQjX/0EhRz3pEWCA9AMhRzIc6LJ6n8 Hc71473w3/N1e/m6jPhdr4MQOiQBANSpOMiX1tfG7BSmPP1n5+25Q0zB53TymKIOSAiOpS gV2sDgIU4+Y7WaMS8uU/BszenJNN70baDFBoW8Zf2+hzmcoK8bBPG41/oqoJ5bNw0F31cQ zKFcntvu56jI7TeRYPr98kPykkwD+4rQm45/mgz9JbJn3X1X1v9zwQm83PFqrg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696358998; 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=yCg1c2p2FqxwAubEbxfGWAZWtWH9OnTdUKTBZxrLm04=; b=mAk3jTRWsVesDyRlEhhJwvQ4NEej6RU7KYh11KxDeqnHn2cZhsOIPGAiXW3Ta0hmaWx1X1 Y8GEQVm7P9C8qlriPvB/ni4VyAt8+xGoguAAFxumVK6PkakLTvzHS8cQ4Us/8nTBTl/Vaf I/mSIHa/lF2ryLOyDYN9DxtlEwqSQDRYX0i4GQwZJctSR6VpMvMMuL7kU1my8lz/qU/461 86CoQAyenhQCUDVdG9vVdNzwP4IiSkGvwkArG0e3JqKnJlA/B64Aw/0xKcIoJqkV0wH+Aj 2tTVO9juNA9Nr6qR5xBveX28Jk9itTwB9HxrAIcnnf0wGTmDpjNw170XXqCPjA== 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 4S0RhQ16SFz15sy for ; Tue, 3 Oct 2023 18:49:58 +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 393InwKS079498 for ; Tue, 3 Oct 2023 18:49:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 393InwUW079497 for ports-bugs@FreeBSD.org; Tue, 3 Oct 2023 18:49:58 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 274194] sysutils/loki: New rc.d file for promtail Date: Tue, 03 Oct 2023 18:49:58 +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 Only Me X-Bugzilla-Who: freebsd@funzi.org X-Bugzilla-Status: New X-Bugzilla-Resolution: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274194 --- Comment #1 from Christopher Beppler --- Hi Eren, Thank you for taking initiative! I like the idea of also providing a rc script for promtail. Since we should= n't deviate from upstream too much, I'd propose to use https://github.com/grafana/loki/blob/v2.9.1/clients/cmd/promtail/promtail-l= ocal-config.yaml as default configuration (adapted to FreeBSD paths where necessary, see bel= ow) I'd see positions.yaml somewhere around /usr/local/var/db/loki. You're righ= t, it's a best a huge performance penalty if positions.yaml state file gets lo= st on reboot. If promtail is later configured by the user to run as root is up to the use= r. Alternatively, the loki user could be put into the right groups to get read access to the log files. That's not in scope of this port - we try to stay = as close as possible to upstream. If we can get the upstream promtail-local-config.yaml running, we're good. The user will have to read through the documentation to configure it properly anyways :-). I plan to work on the version bump in the next days. If you attach a patch = for the current ports version (2.8.1), I am happy to submit it all together. Thanks Christopher --=20 You are receiving this mail because: You are the assignee for the bug.=