Re: [oe] [PATCH 1/2] nginx: add group www-data
On Sun, Jun 12, 2016 at 05:57:50PM +0800, Robert Yang wrote: > > Sorry, please hold on the two patches, base-passwd does provide > www-data, I should not meet this orror in theory. For some reason nostromo, nginx, sthttpd are now failing because of www-data user group: http://errors.yoctoproject.org/Errors/Build/17410/ Any idea why it happends? I suspect last sthttpd change. > > // Robert > > On 06/07/2016 04:21 PM, Robert Yang wrote: > > Fixed: > > Running useradd commands... > > useradd: group 'www-data' does not exist > > > > Signed-off-by: Robert Yang> > --- > > meta-webserver/recipes-httpd/nginx/nginx.inc | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc > > b/meta-webserver/recipes-httpd/nginx/nginx.inc > > index ebf926a..946db12 100644 > > --- a/meta-webserver/recipes-httpd/nginx/nginx.inc > > +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc > > @@ -130,6 +130,7 @@ INITSCRIPT_NAME = "nginx" > > INITSCRIPT_PARAMS = "defaults 92 20" > > > > USERADD_PACKAGES = "${PN}" > > +GROUPADD_PARAM_${PN} = "--system www-data" > > USERADD_PARAM_${PN} = " \ > > --system --no-create-home \ > > --home ${NGINX_WWWDIR} \ > > > -- > ___ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com signature.asc Description: Digital signature -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 1/2] nginx: add group www-data
Sorry, please hold on the two patches, base-passwd does provide www-data, I should not meet this orror in theory. // Robert On 06/07/2016 04:21 PM, Robert Yang wrote: Fixed: Running useradd commands... useradd: group 'www-data' does not exist Signed-off-by: Robert Yang--- meta-webserver/recipes-httpd/nginx/nginx.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc index ebf926a..946db12 100644 --- a/meta-webserver/recipes-httpd/nginx/nginx.inc +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc @@ -130,6 +130,7 @@ INITSCRIPT_NAME = "nginx" INITSCRIPT_PARAMS = "defaults 92 20" USERADD_PACKAGES = "${PN}" +GROUPADD_PARAM_${PN} = "--system www-data" USERADD_PARAM_${PN} = " \ --system --no-create-home \ --home ${NGINX_WWWDIR} \ -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 1/2] nginx: add group www-data
Fixed: Running useradd commands... useradd: group 'www-data' does not exist Signed-off-by: Robert Yang--- meta-webserver/recipes-httpd/nginx/nginx.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc index ebf926a..946db12 100644 --- a/meta-webserver/recipes-httpd/nginx/nginx.inc +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc @@ -130,6 +130,7 @@ INITSCRIPT_NAME = "nginx" INITSCRIPT_PARAMS = "defaults 92 20" USERADD_PACKAGES = "${PN}" +GROUPADD_PARAM_${PN} = "--system www-data" USERADD_PARAM_${PN} = " \ --system --no-create-home \ --home ${NGINX_WWWDIR} \ -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel