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)
Thu, Nov 14, 6:31 AM
Unknown Object (File)
Thu, Nov 7, 8:03 AM
Unknown Object (File)
Thu, Nov 7, 12:38 AM
Unknown Object (File)
Tue, Nov 5, 11:14 AM
Unknown Object (File)
Fri, Oct 25, 10:14 AM
Unknown Object (File)
Wed, Oct 23, 11:59 PM
Unknown Object (File)
Wed, Oct 23, 7:56 PM
Unknown Object (File)
Wed, Oct 23, 1:00 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 Not Applicable
Unit
Tests Not Applicable

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.