Page MenuHomeFreeBSD

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

Authored by 0mp on Oct 31 2018, 10:38 PM.


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"

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

Approved by:    maintainer timeout
Test Plan
  • poudriere:
    • 11.2 i386

Diff Detail

rP FreeBSD ports repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

0mp created this revision.Oct 31 2018, 10:38 PM
0mp added a reviewer: flo.Oct 31 2018, 10:39 PM
krion accepted this revision.Nov 2 2018, 11:59 AM
This revision is now accepted and ready to land.Nov 2 2018, 11:59 AM
This revision was automatically updated to reflect the committed changes.