Page MenuHomeFreeBSD

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

Authored by 0mp on Oct 31 2018, 10:38 PM.
Tags
None
Referenced Files
F166832308: D17786.diff
Sun, Aug 16, 9:52 PM
Unknown Object (File)
Sat, Aug 15, 8:34 PM
Unknown Object (File)
Tue, Aug 11, 6:19 PM
Unknown Object (File)
Mon, Aug 10, 7:21 PM
Unknown Object (File)
Mon, Aug 10, 2:20 PM
Unknown Object (File)
Sun, Aug 9, 2:44 AM
Unknown Object (File)
Sat, Aug 8, 1:41 PM
Unknown Object (File)
Wed, Jul 22, 2:17 PM
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
modification.

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

Diff Detail

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