[oe] [PATCH 1/2] nginx: add group www-data

Martin Jansa martin.jansa at gmail.com
Thu Jun 16 10:41:15 UTC 2016


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 <liezhi.yang at windriver.com>
> > ---
> >   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 at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160616/dfb0f805/attachment-0002.sig>


More information about the Openembedded-devel mailing list