Page MenuHomeFreeBSD

databases/mysql55-server: Adapt ${name}_limits to the new resource limiting mechanics for services
ClosedPublic

Authored by 0mp on Nov 2 2018, 4:45 PM.
Tags
None
Referenced Files
F168858082: D17818.diff
Sun, Aug 30, 11:52 AM
F168803491: D17818.id49978.diff
Sun, Aug 30, 5:59 AM
Unknown Object (File)
Sat, Aug 29, 9:13 PM
Unknown Object (File)
Sat, Aug 29, 7:41 AM
Unknown Object (File)
Fri, Aug 28, 9:37 AM
Unknown Object (File)
Fri, Aug 28, 9:30 AM
Unknown Object (File)
Thu, Aug 27, 9:34 PM
Unknown Object (File)
Thu, Aug 27, 5:41 AM
Subscribers
None

Details

Summary
Thanks to the recent change to rc.subr(8) it is no longer necessary to
define a resource limiting logic in service scripts. limits(1) is now run
by default and its configuration is handled via the "${name}_limits"
variable.

Unfortunately, there is a collision of variable names. The service scripts
are broken on FreeBSD version with that new change (>= 12.0).

The patch preserves the old behavior on the systems without the rc.subr(8)
modification.

Approved by:    maintainer timeout
Test Plan
  • poudriere
    • i386
      • 11.2
      • 12.0-BETA2
    • amd64
      • 11.2
      • 12.0-BETA2

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Nov 2 2018, 8:42 PM
This revision was automatically updated to reflect the committed changes.