From owner-freebsd-ports@freebsd.org Sat Apr 21 17:50:55 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8A9EFB6415 for ; Sat, 21 Apr 2018 17:50:54 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 63D7969FB0 for ; Sat, 21 Apr 2018 17:50:54 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-lf0-f53.google.com with SMTP id j68-v6so9284847lfg.13 for ; Sat, 21 Apr 2018 10:50:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=ZPVFpdutzgrKVgnxOAbfnLArZaqQUaNuHg5/VqzG10M=; b=btPjdG/NpIvnlZ/FsFi0UHc5xi3M44SYJjCBlRCWbjNvME6da/Qu9O8pG+mX64eIom QGW3PSw0Bwc63k56Qtbxvjdu2qADzzU/u4nFkqV6kmX3VCU0VKJQc0NBnHSOnbACJ19H 6mRrRmiSZQhSOUmN42iqC2qRrjramLZ+vPL+F1cChE0ewArddav0TI+iDqM8Gb2QecV8 +R5xdCZRRdbzetXTKYvokisyZVIaE5vjFViNWSSC2PgANy2f1iqLF73DrGCOo8t4OJh7 JX2egUrhzX5ALpgq1iXqh4xV45HkJMM05uy4rjXaMdvC9bnGz1LaM43VI/vLmMoV8YcK O7UQ== X-Gm-Message-State: ALQs6tDm9zNkm+QorBk4pfHOmjUF9ewueqY3aI/G6lqocGC/BLq2aJMn pV5YhEgxoQ7MOYC+yoRW0JZZRF1J X-Google-Smtp-Source: AIpwx4/CX2O1KZzIOSHFVYNtsqewsghK6HViW7W1dEkH1P3lFw2/FnHYoz5Z0/NM/DwLkSNIkteziA== X-Received: by 10.46.132.85 with SMTP id u21mr4477492ljh.142.1524333046761; Sat, 21 Apr 2018 10:50:46 -0700 (PDT) Received: from oxy (89-76-8-18.dynamic.chello.pl. [89.76.8.18]) by smtp.gmail.com with ESMTPSA id 66-v6sm1959139lfr.52.2018.04.21.10.50.46 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 21 Apr 2018 10:50:46 -0700 (PDT) Date: Sat, 21 Apr 2018 19:51:39 +0200 From: Mateusz Piotrowski <0mp@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: Committing ${name}_limits patches for the rc files of various databases Message-ID: <20180421195139.69371b4f@oxy> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2018 17:50:55 -0000 Hello, A few weeks ago I discovered a regression caused by the standardization of the mechanism used to limit daemons resources with limits(1). This feature was introduced in r328331[1]. Basically, it defines that limits(1) could be controlled via rc.conf(5) using ${name}_limits variables as defined in rc.subr(5). Unfortunately, many database rc scripts have already used ${name}_limits variables with incompatible semantics. This is why I worked with some FreeBSD committers and developers on a set of patch for those affected databases. Thanks to their reviews and testing effort I was able to open an issue on Bugzilla for every affected database port and provide a few revisions of patchs for each of them. Some of the patches were already incorporated into the ports tree, but many of them are still waiting to be committed. Recently, an update to database/mongodb36 was committed[2], which not only does not solve the problem of the mongodb36 daemon to be broken on FreeBSD 12.0-CURRENT but also introduces parts of my old patches, which were marked obsolete[3]. I am deeply concerned about the whole situation and after a few weeks of waiting I decided to step forward and bring community's attention. The meta issue with all the ports listed is available here[4]. It has got links to all the other issues and patch with a proposed UPDATING entry. I understand that there a lot of work to be done for committers in every corner of the FreeBSD system. If anyone, however, would like to mentor me and help me commit those changes into our ports tree then I am 100% eager to get started. I'd really appreciate it. :) Cheers & happy hacking, Mateusz Piotrowski [1]: https://svnweb.freebsd.org/base?view=revision&revision=r328331 [2]: https://svnweb.freebsd.org/ports?view=revision&revision=467897 [3]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226907#c11 [4]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227205