nginx: add group www-data
PATCH 1/2 nginx: add group www-data
Fixed:
Running useradd commands...
useradd: group 'www-data' does not exist
--- meta-webserver/recipes-httpd/nginx/nginx.inc | 1 + 1 file changed, 1 insertion(+)
meta-webserver/recipes-httpd/nginx/nginx.inc +1 -0
@@ -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} \
Signature · 1 line
2.7.4
PATCH 2/2 nostromo: add group www-data
Fixed:
Running useradd commands...
useradd: group 'www-data' does not exist
--- meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb | 1 + 1 file changed, 1 insertion(+)
meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb +1 -0
@@ -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() {
Signature · 1 line
2.7.4
Sorry, please hold on the two patches, base-passwd does provide www-data, I should not meet this orror in theory.
// Robert
Quoted 22 lines · Robert Yang
Fixed:
Running useradd commands...
useradd: group 'www-data' does not existSigned-off-by Robert Yang <[email protected]>--- meta-webserver/recipes-httpd/nginx/nginx.inc | 1 + 1 file changed, 1 insertion(+)meta-webserver/recipes-httpd/nginx/nginx.inc +1
-0@@ -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} \
Quoted 3 lines · Robert Yang
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.
Quoted 31 lines
// Robert
Quoted 22 lines · Robert Yang
Fixed:
Running useradd commands...
useradd: group 'www-data' does not existSigned-off-by Robert Yang <[email protected]>--- meta-webserver/recipes-httpd/nginx/nginx.inc | 1 + 1 file changed, 1 insertion(+)meta-webserver/recipes-httpd/nginx/nginx.inc +1
-0@@ -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} \Signature · 4 lines
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]