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)
Wed, Dec 4, 6:03 AM
Unknown Object (File)
Fri, Nov 29, 4:51 AM
Unknown Object (File)
Sat, Nov 23, 1:10 AM
Unknown Object (File)
Thu, Nov 21, 5:51 PM
Unknown Object (File)
Thu, Nov 21, 1:46 AM
Unknown Object (File)
Mon, Nov 18, 11:31 AM
Unknown Object (File)
Nov 17 2024, 12:52 PM
Unknown Object (File)
Nov 14 2024, 6:31 AM
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.