All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] nginx: add group www-data
@ 2016-06-07  8:21 Robert Yang
  2016-06-07  8:21 ` [PATCH 2/2] nostromo: " Robert Yang
  2016-06-12  9:57 ` [PATCH 1/2] nginx: " Robert Yang
  0 siblings, 2 replies; 4+ messages in thread
From: Robert Yang @ 2016-06-07  8:21 UTC (permalink / raw)
  To: openembedded-devel

Fixed:
Running useradd commands...
useradd: group 'www-data' does not exist

Signed-off-by: Robert Yang <liezhi.yang@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} \
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] nostromo: add group www-data
  2016-06-07  8:21 [PATCH 1/2] nginx: add group www-data Robert Yang
@ 2016-06-07  8:21 ` Robert Yang
  2016-06-12  9:57 ` [PATCH 1/2] nginx: " Robert Yang
  1 sibling, 0 replies; 4+ messages in thread
From: Robert Yang @ 2016-06-07  8:21 UTC (permalink / raw)
  To: openembedded-devel

Fixed:
Running useradd commands...
useradd: group 'www-data' does not exist

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
index 562ecd0..c6593e1 100644
--- a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
+++ b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
@@ -30,6 +30,7 @@ do_compile() {
 # we need user/group www-data to exist when we install
 #
 USERADD_PACKAGES = "${PN}"
+GROUPADD_PARAM_${PN} = "--system www-data"
 USERADD_PARAM_${PN} = "--system -g www-data www-data"
 
 do_install() {
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] nginx: add group www-data
  2016-06-07  8:21 [PATCH 1/2] nginx: add group www-data Robert Yang
  2016-06-07  8:21 ` [PATCH 2/2] nostromo: " Robert Yang
@ 2016-06-12  9:57 ` Robert Yang
  2016-06-16 10:41   ` Martin Jansa
  1 sibling, 1 reply; 4+ messages in thread
From: Robert Yang @ 2016-06-12  9:57 UTC (permalink / raw)
  To: openembedded-devel


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 <liezhi.yang@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} \
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] nginx: add group www-data
  2016-06-12  9:57 ` [PATCH 1/2] nginx: " Robert Yang
@ 2016-06-16 10:41   ` Martin Jansa
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2016-06-16 10:41 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1549 bytes --]

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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-16 10:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-07  8:21 [PATCH 1/2] nginx: add group www-data Robert Yang
2016-06-07  8:21 ` [PATCH 2/2] nostromo: " Robert Yang
2016-06-12  9:57 ` [PATCH 1/2] nginx: " Robert Yang
2016-06-16 10:41   ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.