From owner-svn-src-stable@freebsd.org Sun Apr 2 11:15:29 2017 Return-Path: Delivered-To: svn-src-stable@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 A1E73D2A0DE; Sun, 2 Apr 2017 11:15:29 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 652B6E37; Sun, 2 Apr 2017 11:15:29 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1cudTd-0000YX-L2; Sun, 02 Apr 2017 14:15:21 +0300 Date: Sun, 2 Apr 2017 14:15:21 +0300 From: Slawa Olhovchenkov To: Alan Somers Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: Re: svn commit: r316372 - stable/11/etc Message-ID: <20170402111521.GL86500@zxy.spb.ru> References: <201704012051.v31KpM9f069344@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201704012051.v31KpM9f069344@repo.freebsd.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Apr 2017 11:15:29 -0000 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. > Reviewed by: trasz, imp, girgen > MFC after: 3 weeks > Sponsored by: Spectra Logic Corp > Differential Revision: https://reviews.freebsd.org/D9746 > > Modified: > stable/11/etc/devd.conf > Directory Properties: > stable/11/ (props changed) > > Modified: stable/11/etc/devd.conf > ============================================================================== > --- stable/11/etc/devd.conf Sat Apr 1 20:38:12 2017 (r316371) > +++ stable/11/etc/devd.conf Sat Apr 1 20:51:22 2017 (r316372) > @@ -312,10 +312,10 @@ notify 10 { > }; > > # This example works around a memory leak in PostgreSQL, restarting > -# it when the "user:pgsql:swap:devctl=1G" rctl(8) rule gets triggered. > +# it when the "user:postgres:swap:devctl=1G" rctl(8) rule gets triggered. > notify 0 { > match "system" "RCTL"; > - match "rule" "user:70:swap:.*"; > + match "rule" "user:770:swap:.*"; > action "/usr/local/etc/rc.d/postgresql restart"; > }; > > _______________________________________________ > svn-src-all@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-all > To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"