Date: Tue, 03 Apr 2018 00:50:07 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 227229] databases/mysql56-server: Adapt ${name}_limits to the new resource limiting mechanics for services Message-ID: <bug-227229-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227229 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@freebsd.org Reporter: 0mp@FreeBSD.org Blocks: 227205 Flags: maintainer-feedback?(mmokhi@freebsd.org) Assignee: mmokhi@freebsd.org Attachment #192144 maintainer-approval? Flags: Flags: maintainer-feedback? Created attachment 192144 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192144&action= =3Dedit 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 p= atch 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.=20 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=3Drevision&revision=3Dr328331 [2]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226907 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227205 [Bug 227205] Adapting the "${name}_limits" variable of various database ser= vice scripts to the recent changes in rc.subr (r328331) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227229-13>