From nobody Mon May 09 12:28:39 2022 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 C97841AD7F57 for ; Mon, 9 May 2022 12:28:39 +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 4KxgSl4L4zz3hFC for ; Mon, 9 May 2022 12:28:39 +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) 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 7276311234 for ; Mon, 9 May 2022 12:28:39 +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 249CSdOE053259 for ; Mon, 9 May 2022 12:28:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 249CSddA053258 for ports-bugs@FreeBSD.org; Mon, 9 May 2022 12:28:39 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 263878] sysutils/snmp_exporter: configuration file "generator.yml" is overwritten on update Date: Mon, 09 May 2022 12:28:39 +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 Some People X-Bugzilla-Who: topical@gmx.net 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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc 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: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652099319; 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=vWIi9rgs6Kd4Z3lYve8lna3bmWej6td1s3jvbpw61dw=; b=DzJatSzNuymqDRe0EA4qHGmM5ggwWBqkyMsjPWjJYinJG08R5qQVxjmm8tTY3UTEN7aIwZ 0NoX+EbEPmAAjPR3SyRl20DxoHvUqi6Rx5GjnXFyuDtyN3CPW4DK73oF7j1+krGLm5ALUT 5heDFY9LxBDEYpmfH38/CL4AcpzOVhft+Eyzf4p//7XqeofRnf/WuYYGPFl4qklU1E+BfO SYWy4+OpillZTb814SQwKCK6pSzoi4u/fjVOfldxwH32EKl9HwG7wao18XYEnp9IFvMkNk Y9SbIFd4TJLqCZAqNtIz76GH/CSfcSxPr1JO76qiK82CdxeVEOlrcgjsoER/bQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652099319; a=rsa-sha256; cv=none; b=SjnGboBEtoTkw5Ju0tK48j0x3cFQo29KAuvUpeb/Jp5ML14FhjWU6WZkrzZEprum0AKHDr 4/0yN+WtxmKgLIffIfcrmJaztsO+WeDYv3Ywyi8280RjvsyLlQ/Guf2damXVx40cO3mf9o l4A0kNMRuTPVBfnQPT8lCU85S83uXzx1pOwdKPK3FMX31Wlh4h7CfBUFQQw//nuzaTDQOz TcKAi35I/fuKX8XkHr/kymMv8aSlhIJ9DHcFtIlh9h2fOrvHiW4TVhZlzoJjixGOHzTfUc mep8pjUtPanfb+khWFrhXVhFhB98ccZpCpsCmSrA3PijD5QftZ3Z9MWtZxJ9WQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263878 Bug ID: 263878 Summary: sysutils/snmp_exporter: configuration file "generator.yml" is overwritten on update Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: topical@gmx.net CC: fabian.freyer@physik.tu-berlin.de Flags: maintainer-feedback?(fabian.freyer@physik.tu-berlin.de ) CC: fabian.freyer@physik.tu-berlin.de The snmp_exporter daemon reads its configuration from "snmp.yml".=20 Because of the size and complexity of "snmp.yml", there is a generator call= ed "snmp_exporter_generator" that takes "generator.yml" as its input. So, you always edit "generator.yml", call the generator and then (re)start = the daemon. Unfortunately, the file "generator.yml" is unconditionally written by the p= ort, so you loose your configuration on every port update. --=20 You are receiving this mail because: You are the assignee for the bug.=