From owner-svn-src-stable-11@freebsd.org Sun Apr 2 15:39:49 2017 Return-Path: Delivered-To: svn-src-stable-11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 251B1D2AFF7; Sun, 2 Apr 2017 15:39:49 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-yb0-x241.google.com (mail-yb0-x241.google.com [IPv6:2607:f8b0:4002:c09::241]) (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 D85C021A; Sun, 2 Apr 2017 15:39:48 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-yb0-x241.google.com with SMTP id p125so3763059ybb.2; Sun, 02 Apr 2017 08:39:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=xjaGnCiEDfFOCaKWDMU0crjRYjMzElzP75Jkw5ulpow=; b=VUTkcPEFHffnrWUdRyuHoBy+7JvRi0SVbgUSMjWQ5NzNSL9OtgxINMxmbEDkZze+f1 P1aq9eHoHBTOqPMEd2HCPbZ6vPVSZLWLOykbunPiTmDm0oMw1yPkqhpjE3KSn+jGEMFk N71e+s9nOAFSDQR6/NIcizQ//b9P2CG8R70Q8DaV44vp3oXsjI0dPbtU8/6D6bS2eGfO z5O64OpcoqLtYLVVWjsXykt29eeHEMMHAzfK7Fkd7Qj3Q3PcKCmnlRKC2B594SM55fmM sOIa5TTFqBL9eDdV2kog4H6uG/WAoqvol7CUDxfxDVoNx7Z3s7Z8wQAAWPx2408P4KqI 3g0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=xjaGnCiEDfFOCaKWDMU0crjRYjMzElzP75Jkw5ulpow=; b=ctM2ozapPWsApO2oCqYiBMnY0b0OGtmyPYjMlpOJvAuGuS/Bb8UE7ozZGfvXwU0P47 l8p0MVeZtHNqGTv8KcXRAaeabUAN9MORqr6EOTGubOiIErFd56XV5lbh5US+evjZ2M4C ROPYNz7nyGNaw8nTgrcgI8UADZIvdJVWUuFD87YPxKEk9dTk66l2/mC2J4BS7Caxkt8e MYhHD3IJmJ5VcOmm6lIPF6RZ/3g/7Q9tzkhHuCPN77X8s657afE0L1NlszXGV90L6OKc UG1/7JeAndJuaEQ0rv7EAiMqVL/O4lyAA+weSnoCGC/9D8/pANipHBLxl8hOnjlNq/2H NlwA== X-Gm-Message-State: AFeK/H1kJNtdW9xMKr1EiWLmpWpms134ydKL93JMNIHwfd1O7mGCHZJjR5QmQn3Fx5tt0T1D/uuA0wi6bGa3bg== X-Received: by 10.37.208.202 with SMTP id h193mr8942583ybg.113.1491147587942; Sun, 02 Apr 2017 08:39:47 -0700 (PDT) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.129.20.214 with HTTP; Sun, 2 Apr 2017 08:39:47 -0700 (PDT) In-Reply-To: <20170402111521.GL86500@zxy.spb.ru> References: <201704012051.v31KpM9f069344@repo.freebsd.org> <20170402111521.GL86500@zxy.spb.ru> From: Alan Somers Date: Sun, 2 Apr 2017 09:39:47 -0600 X-Google-Sender-Auth: GHwa_HQjRb5LgQrtWuJRhjCem0E Message-ID: Subject: Re: svn commit: r316372 - stable/11/etc To: Slawa Olhovchenkov Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-stable-11@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for only the 11-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Apr 2017 15:39:49 -0000 On Sun, Apr 2, 2017 at 5:15 AM, Slawa Olhovchenkov wrote: > On Sat, Apr 01, 2017 at 08:51:22PM +0000, Alan Somers wrote: > >> Author: asomers >> Date: Sat Apr 1 20:51:22 2017 >> New Revision: 316372 >> URL: https://svnweb.freebsd.org/changeset/base/316372 >> >> Log: >> MFC r314341: >> >> Update devd.conf for ports change 421360 >> >> Ports change 421360 changed the name and UID of the postgres user > > This is not good solution, IMHO. > System w/ PostgreSQL installed before 421360 after update to r314341 > will be break. > > IMHO best is to have (some time) both rules: for uid 70 and 770. I disagree, Slawa, because this devd.conf rule is moot in the default install. That's becauses there is no matching rctl.conf rule. It's really just an example. In fact, I don't even know if it refers to any actual memory leak in postgresql, or just a hypothetical one. I'm pretty sure that Trasz only added it in r220168 as an example of how to write a RCTL rule in devd.conf. -Alan