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)
Wed, Mar 26, 2:24 AM
Unknown Object (File)
Sat, Mar 15, 3:46 AM
Unknown Object (File)
Feb 22 2025, 1:14 PM
Unknown Object (File)
Jan 23 2025, 7:42 AM
Unknown Object (File)
Jan 20 2025, 3:39 AM
Unknown Object (File)
Jan 8 2025, 10:24 AM
Unknown Object (File)
Jan 7 2025, 9:55 AM
Unknown Object (File)
Dec 13 2024, 6:42 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
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