Summary: | databases/mysql80-server: Adapt ${name}_limits to the new resource limiting mechanics for services | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Mateusz Piotrowski <0mp> | ||||||
Component: | Individual Port(s) | Assignee: | Mahdi Mokhtari <mmokhi> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | Keywords: | regression | ||||||
Priority: | --- | Flags: | mmokhi:
maintainer-feedback+
mmokhi: maintainer-feedback+ |
||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227435 | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 227205 | ||||||||
Attachments: |
|
Description
Mateusz Piotrowski
2018-04-03 01:03:36 UTC
Hi, Thanks for nice work, reduced for me A LOT :D I'll test it and feedback to you by evening (my local time ``:D). [yeah the post is just copy-pasted of what I have written for 56 and 57 except the estimated time``;D] Created attachment 192232 [details]
Patch adding support for the new ${name}_limits mechanics (databases/mysql80-server, revision: 1)
The previous patch would fail to trigger the new ${name}_limits semantics for __FreeBSD_version 1101514. The new patch fixes it (thanks to mmokhi@).
A commit references this bug: Author: mmokhi Date: Wed Apr 4 21:01:29 UTC 2018 New revision: 466508 URL: https://svnweb.freebsd.org/changeset/ports/466508 Log: databases/mysql80-server: Adapt ${name}_limits to the new mechanism Regarding to the changes 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. This however causes collision of variable names and also is not compatible with the old mechanism. This fixes the rc-script of mysql80 for the bases with both old and new mechanism. (This is port of the r466505 [and r466506]) PR: 227231 Submitted by: 0mp Reported by: 0mp Sponsored by: Netzkommune GmbH Changes: head/databases/mysql80-server/Makefile head/databases/mysql80-server/files/mysql-server.in Committed. Thanks a lot for your help :) |