Date: Sun, 2 Apr 2017 14:15:21 +0300 From: Slawa Olhovchenkov <slw@zxy.spb.ru> To: Alan Somers <asomers@FreeBSD.org> 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> In-Reply-To: <201704012051.v31KpM9f069344@repo.freebsd.org> References: <201704012051.v31KpM9f069344@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170402111521.GL86500>