From nobody Wed Oct 4 13:48:25 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 4S0wy16fRKz4vySM for ; Wed, 4 Oct 2023 13:48:25 +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 4S0wy1518Vz3ckj for ; Wed, 4 Oct 2023 13:48:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696427305; a=rsa-sha256; cv=none; b=Ci/zBoUi0WPHvGnsF4n4Ps8/eQOuOcU50+DMXUr0Z/YVE38lLM2Qkakaeulk3ckI72DkRK J3DVZHbuKv6Ap1zWsKtOIAMOYxR+IT7l75PVVwYBNsBm4yG0rIHTprXdMTZkx+dSTh3l3f CTb4bi5IZdl/s825cYm0ov/MKO+4VnmpVwBIdMa7svp13/Csj+TkZlJGOBc/VJWhDf/kE4 9H6Xjt8f7UjMzQ4aOAgvYAhKkehXJ8aoBXd21I/fGO4a6CDfYzoeWeXeSbJuArNRm9mNdB FHLAaX9FEGvkJu27+g3y8lushGSkRd6Ypqy4DHvssKWnSOgrwrpNRXsfspvlRw== 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=1696427305; 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=OmE1aeJoguJTFnSH2makbtPQprbIDVVUcHa219SStzE=; b=GMlxmNjgp1QW6dw3ou0/yudh+ISTfx2unWEnN7bD4RyYqpTOJleKTlmF4PzV1Zg+umb87s v/ifI2lzm6zPfmPIdCE2SGb3IbC5AsWtgb9DQMVeB0L0FrfeOLidOZ2qszRU2My1q4eoyu TKhlCIoKKeLB2C52cGhumkZydeMEx6XNebc5TS7PUb0DCgP1zKeBk3hZegpOfb+bcS3lB9 9rgxI1319MYeKyUBO19TNLkp4NG63gaTl1w4aNfGgQZtQxCkT7Fb3R2mO5rWWvr65kx3+j XeUNG7PGOD4LGo1tNtonTdas4apTLSpXIskS/rxhGgFYsGdMmcSg5ezMbAB/HQ== 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 4S0wy144dVzfng for ; Wed, 4 Oct 2023 13:48:25 +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 394DmPBw080385 for ; Wed, 4 Oct 2023 13:48:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 394DmPG0080384 for ports-bugs@FreeBSD.org; Wed, 4 Oct 2023 13:48:25 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: Wed, 04 Oct 2023 13:48:25 +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: turkay.eren@gmail.com 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 #3 from Eren T=C3=BCrkay --- Hey Christopher, Thanks for the reply. I agree with staying close to upstream and using the default configuration file. In that case, I'm planning on following: - Add default configuration file with /var/db/promtail/positions.yml - Add promtail user/group - Add rc.d script - Run promtail under promtail user (upstream system.d file also runs with promtail) The only downside is that promtail will not be able to read /var/log/ as provided by default but it will not crash. As you mentioned this will not be the scope of the work, I will leave that as-is and we can later improve the default behavior. I can send this patch in a few days, probably on the weekend. If you happen= to bump the version earlier, we can add it later. Best, Eren --=20 You are receiving this mail because: You are the assignee for the bug.=