git: 5349beb0a4e7 - main - net-mgmt/net-snmp: Update ownership of snmpd.log
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jun 2024 18:42:45 UTC
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