Skip to contentSkip to conversation

python-keystone: fix QA warning of host uid contamination

PATCH In review Xulin Sun 2 participants 2 messages Jun 7, 2016

lore
Share & tools
lore

Xulin Sun

author
#0 lore raw

PATCH 1/1 python-keystone: fix QA warning of host uid contamination

QA Issue: python-keystone:
/keystone/usr/share/openstack-dashboard/openstack_dashboard/api/keystone-httpd.py is owned by gid 100, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

---
 meta-openstack/recipes-devtools/python/python-keystone_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-openstack/recipes-devtools/python/python-keystone_git.bb +3 -3
index a8d1181..4bd739a 100644
@@ -91,11 +91,11 @@ do_install_append() {
         ${KEYSTONE_CONF_DIR}/policy.json
     install -m 644 ${S}${sysconfdir}/keystone-paste.ini \
         ${KEYSTONE_CONF_DIR}/keystone-paste.ini
-    install -g users -m 644 ${S}/httpd/keystone.py \
+    install -m 644 ${S}/httpd/keystone.py \
         ${KEYSTONE_PY_DIR}/keystone-httpd.py
-    install -g users -m 644 ${S}/httpd/keystone.py \
+    install -m 644 ${S}/httpd/keystone.py \
         ${KEYSTONE_CGI_DIR}/admin
-    install -g users -m 644 ${S}/httpd/keystone.py \
+    install -m 644 ${S}/httpd/keystone.py \
         ${KEYSTONE_CGI_DIR}/main
 
     cp -r ${S}/examples ${KEYSTONE_PACKAGE_DIR}
Signature · 1 line
2.5.0
#1 lore raw
Quoted 7 lines · Xulin Sun

QA Issue: python-keystone:

/keystone/usr/share/openstack-dashboard/openstack_dashboard/api/keystone-httpd.py is owned by gid 100, which is the same as the user running bitbake. This may be
due to host contamination [host-user-contaminated]

merged.

Bruce

Quoted 35 lines
---
 meta-openstack/recipes-devtools/python/python-keystone_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-openstack/recipes-devtools/python/python-keystone_git.bb +3 -4
index a8d1181..4bd739a 100644
@@ -91,11 +91,11 @@ do_install_append() {
         ${KEYSTONE_CONF_DIR}/policy.json
     install -m 644 ${S}${sysconfdir}/keystone-paste.ini \
         ${KEYSTONE_CONF_DIR}/keystone-paste.ini
-    install -g users -m 644 ${S}/httpd/keystone.py \
+    install -m 644 ${S}/httpd/keystone.py \
         ${KEYSTONE_PY_DIR}/keystone-httpd.py
-    install -g users -m 644 ${S}/httpd/keystone.py \
+    install -m 644 ${S}/httpd/keystone.py \
         ${KEYSTONE_CGI_DIR}/admin
-    install -g users -m 644 ${S}/httpd/keystone.py \
+    install -m 644 ${S}/httpd/keystone.py \
         ${KEYSTONE_CGI_DIR}/main
 
     cp -r ${S}/examples ${KEYSTONE_PACKAGE_DIR}
--

2.5.0

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"