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)
Sat, Sep 27, 10:46 PM
Unknown Object (File)
Thu, Sep 25, 4:28 PM
Unknown Object (File)
Thu, Sep 25, 4:00 PM
Unknown Object (File)
Mon, Sep 22, 11:46 AM
Unknown Object (File)
Mon, Sep 22, 11:45 AM
Unknown Object (File)
Mon, Sep 22, 11:44 AM
Unknown Object (File)
Fri, Sep 19, 1:31 PM
Unknown Object (File)
Wed, Sep 17, 11:17 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.