From nobody Sun Jul 14 22:35:39 2024 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 4WMgCJ2n4mz5RYxL for ; Sun, 14 Jul 2024 22:35:40 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WMgCJ1C9wz58hk for ; Sun, 14 Jul 2024 22:35:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720996540; a=rsa-sha256; cv=none; b=KWuH+NXZyZWJhzFRdAbDSPdUdQUOzdarUeBvJs6O3LJr+sqZ3OCM4PonQpD20ERDGJe/Ff EERrgzphPVNBRMCsLLSNbgvk6wyqf2CQXcTY5VXjR3ijEy9rrefVQTzEAb2gtlx86UJmBn Zk6srSG6xzAm4u2sTETExjMYZwMChpv61GSIZLteCzyvZkKFQQeDlYVqiKiRqMfI3KAAsR /WvVS9YCwi7t5ZF+AQI+lxsOCxKSN2xgrQQa/a9LJhv6YCXeJ5v8kqqd9zZIyL597lLboI MhyLdZ2sB7lC04l05fEB7B83qeBlwzfqj4ZwIDe7aE/pZ0C0W1/mk6QoLGPplg== 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=1720996540; 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=AQWox7FGJUsF4f/i4RKn+GtqW03Z1l/ffdxOu8uk+4I=; b=v1qlBjmup1eVPXfDj7mdaQNgHrjrYZangTXA3D4uVh7n+kD1F6BjqEMd7jfrx++lavcY30 hu3NgrNlbCGf0AJg1hthX82wGDcOkFL/HoggMuBy9cYkGQqzlCwd7GEfFgi8XpR7ozMKxH Or0E+B1xX9USHwNMRimtvnCkNDxTKFxKJ8ooRQoHK9kmivoB/7HoK93+5BJGdLBLQYf/EE Q3+stAVtlgw/ClfftbJxwZJIRx2QyUJ/tkK+vTxN+4AqUuXoxCSInpvarUQDUb3L4C2b5g Sd1+VuQfO+GK9Pd8XDRM+HBn8m7R0UFVrTQO5HoxFb8X7XKaZQHe839o68nsVg== 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 4WMgCJ0hYSzS5F for ; Sun, 14 Jul 2024 22:35:40 +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 46EMZdZb085145 for ; Sun, 14 Jul 2024 22:35:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46EMZdvd085143 for ports-bugs@FreeBSD.org; Sun, 14 Jul 2024 22:35: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 280284] net-mgmt/net-snmp: conffile hardcoded in rc script Date: Sun, 14 Jul 2024 22:35: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: gebhart@secnetix.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: zi@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 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: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280284 Bug ID: 280284 Summary: net-mgmt/net-snmp: conffile hardcoded in rc script Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: zi@FreeBSD.org Reporter: gebhart@secnetix.de Flags: maintainer-feedback?(zi@FreeBSD.org) Assignee: zi@FreeBSD.org some weeks ago a change appeared in the port, that spits out this warning at startup: /usr/local/etc/rc.d/snmpd: WARNING: snmpd configuration file /usr/local/share/snmp/snmpd.conf not found Of course there is no such file, because my snmpd.conf is in /usr/local/etc/ where it should be and is correctly configured in rc.conf. However there's one hardcoded check for the file above, which triggers the warning. I guess, that line should simply be removed in the rc script because the following lines do the check anyway with $snmpd_conffile instead of the hardcoded pat= h. The line number is 80 and looks like this: check_conffile /usr/local/share/snmp/snmpd.conf --=20 You are receiving this mail because: You are the assignee for the bug.=