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, Oct 2, 5:59 PM
Unknown Object (File)
Tue, Oct 1, 10:15 PM
Unknown Object (File)
Mon, Sep 30, 3:46 PM
Unknown Object (File)
Sun, Sep 29, 6:26 AM
Unknown Object (File)
Sat, Sep 28, 11:27 AM
Unknown Object (File)
Tue, Sep 24, 4:11 AM
Unknown Object (File)
Sun, Sep 22, 2:39 PM
Unknown Object (File)
Sat, Sep 21, 3:17 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 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.