[Bug 227221] databases/arangodb33: Adapt ${name}_limits to the new resource limiting mechanics for services
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 2 23:57:23 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227221
Bug ID: 227221
Summary: databases/arangodb33: Adapt ${name}_limits to the new
resource limiting mechanics for services
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: regression
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: 0mp at FreeBSD.org
Blocks: 227205
Attachment #192135 maintainer-approval?
Flags:
Flags: maintainer-feedback?
Created attachment 192135
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192135&action=edit
Patch adding support for the new ${name}_limits mechanics
(databases/arangodb33)
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-CURRENT,
11-STABLE and soon 11.2-RELEASE). It has been reported and diagnosed here.[2]
I'm submitting a patch fixing the service script for this port. A similar patch
has already been accepted by a maintainer of another database port.[2]
The patch preserves the old behavior on the systems without the
modification.
It would be great if you could review the patch and test it. :)
[1]: https://svnweb.freebsd.org/base?view=revision&revision=r328331
[2]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226907
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Maintainer informed via mail
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227205
[Bug 227205] Adapting the "${name}_limits" variable of various database service
scripts to the recent changes in rc.subr (r328331)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list