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
Unknown Object (File)
Mon, Mar 25, 8:34 AM
Unknown Object (File)
Mar 3 2024, 3:47 PM
Unknown Object (File)
Jan 24 2024, 3:52 AM
Unknown Object (File)
Jan 16 2024, 7:52 AM
Unknown Object (File)
Dec 22 2023, 9:52 PM
Unknown Object (File)
Dec 22 2023, 1:46 AM
Unknown Object (File)
Nov 25 2023, 5:48 PM
Unknown Object (File)
Oct 18 2023, 5:18 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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 20547
Build 19972: arc lint + arc unit