[Bug 280284] net-mgmt/net-snmp: conffile hardcoded in rc script
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 Jul 2024 22:35:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280284
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 path.
The line number is 80 and looks like this:
check_conffile /usr/local/share/snmp/snmpd.conf
--
You are receiving this mail because:
You are the assignee for the bug.