svn commit: r316372 - stable/11/etc

Slawa Olhovchenkov slw at zxy.spb.ru
Sun Apr 2 11:15:29 UTC 2017


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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-all
> To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"


More information about the svn-src-stable mailing list