[Bug 227229] databases/mysql56-server: Adapt ${name}_limits to the new resource limiting mechanics for services
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Apr 3 00:50:09 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227229
Bug ID: 227229
Summary: databases/mysql56-server: 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: mmokhi at freebsd.org
Reporter: 0mp at FreeBSD.org
Blocks: 227205
Flags: maintainer-feedback?(mmokhi at freebsd.org)
Assignee: mmokhi at freebsd.org
Attachment #192144 maintainer-approval?
Flags:
Flags: maintainer-feedback?
Created attachment 192144
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192144&action=edit
Patch adding support for the new ${name}_limits mechanics
(databases/mysql56-server)
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]
This port was previously fixed to unbreak the service on newer systems. The
submitted patch removes support for the old behavior from newer systems.
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