Date: Tue, 4 Jun 2024 18:42:45 GMT From: Mark Johnston <markj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5349beb0a4e7 - main - net-mgmt/net-snmp: Update ownership of snmpd.log Message-ID: <202406041842.454Igj2o039186@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/ports/commit/?id=5349beb0a4e7f933ad58d3b57865cade61b6207c commit 5349beb0a4e7f933ad58d3b57865cade61b6207c Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2024-05-23 16:57:22 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2024-06-04 18:40:37 +0000 net-mgmt/net-snmp: Update ownership of snmpd.log Otherwise snmpd isn't able to re-open its log file after rotation, when configured to run as the snmpd user. Approved by: zi Sponsored by: Stormshield Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D45317 --- net-mgmt/net-snmp/Makefile | 2 +- net-mgmt/net-snmp/files/net-snmp.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 01534364feb8..305576e6cbd5 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -1,7 +1,7 @@ PORTNAME= snmp PORTVERSION= 5.9.4 PORTEPOCH= 1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION} \ ZI diff --git a/net-mgmt/net-snmp/files/net-snmp.conf b/net-mgmt/net-snmp/files/net-snmp.conf index 926d513d5c2b..e392ad4c312a 100644 --- a/net-mgmt/net-snmp/files/net-snmp.conf +++ b/net-mgmt/net-snmp/files/net-snmp.conf @@ -3,4 +3,4 @@ # see newsyslog.conf(5) for details # # logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] -/var/log/snmpd.log 644 7 100 * J /var/run/net_snmpd.pid +/var/log/snmpd.log snmpd:snmpd 644 7 100 * J /var/run/net_snmpd.pid
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406041842.454Igj2o039186>