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, Oct 13, 5:43 AM
Unknown Object (File)
Sat, Oct 11, 7:35 PM
Unknown Object (File)
Tue, Oct 7, 3:32 AM
Unknown Object (File)
Wed, Sep 17, 4:38 PM
Unknown Object (File)
Wed, Sep 17, 2:24 PM
Unknown Object (File)
Wed, Sep 17, 11:22 AM
Unknown Object (File)
Sep 14 2025, 2:39 PM
Unknown Object (File)
Sep 13 2025, 11:11 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