[PATCH] python-keystone: fix QA warning of host uid contamination


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]

Signed-off-by: Xulin Sun <xulin.sun@...>
---
meta-openstack/recipes-devtools/python/python-keystone_git.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-openstack/recipes-devtools/python/python-keystone_git.bb b/meta-openstack/recipes-devtools/python/python-keystone_git.bb
index a8d1181..4bd739a 100644
--- a/meta-openstack/recipes-devtools/python/python-keystone_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-keystone_git.bb
@@ -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

Join meta-virtualization@lists.yoctoproject.org to automatically receive all group messages.