Page MenuHomeFreeBSD

net-mgmt/net-snmp: Update ownership of snmpd.log
ClosedPublic

Authored by markj on May 23 2024, 4:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 1, 6:10 AM
Unknown Object (File)
Fri, Jun 28, 6:48 PM
Unknown Object (File)
Tue, Jun 11, 3:15 AM
Unknown Object (File)
Wed, Jun 5, 3:50 AM
Unknown Object (File)
May 25 2024, 6:45 PM
Unknown Object (File)
May 25 2024, 11:45 AM
Unknown Object (File)
May 24 2024, 7:23 PM
Unknown Object (File)
May 24 2024, 5:27 PM
Subscribers

Details

Summary

Otherwise snmpd isn't able to re-open its log file after rotation, when
configured to run as the snmpd user.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 57869
Build 54757: arc lint + arc unit

Event Timeline

markj requested review of this revision.May 23 2024, 4:57 PM
markj created this revision.
This revision is now accepted and ready to land.May 23 2024, 5:11 PM

After reading that, I did some testing:

  • root:wheel yes, it stops logging after HUP.
  • snmpd:snmpd logging contines after HUP.
In D45317#1034152, @dvl wrote:

After reading that, I did some testing:

  • root:wheel yes, it stops logging after HUP.
  • snmpd:snmpd logging contines after HUP.

Thanks for confirming this so quickly Dan.

The UPDATING entry should also mention this change in ownership.