[Bug 227217] databases/mongodb: 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:28:51 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227217
Bug ID: 227217
Summary: databases/mongodb: 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: ale at FreeBSD.org
Reporter: 0mp at FreeBSD.org
Blocks: 227205
Assignee: ale at FreeBSD.org
Flags: maintainer-feedback?(ale at FreeBSD.org)
Attachment #192130 maintainer-approval?
Flags:
Flags: maintainer-feedback?
Created attachment 192130
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192130&action=edit
Patch adding support for the new ${name}_limits mechanics (databases/mongodb)
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
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