[oe-commits] [meta-openembedded] 08/27: logwatch: fix host-user-contaminated

git at git.openembedded.org git at git.openembedded.org
Mon Feb 8 13:12:42 UTC 2016


martin_jansa pushed a commit to branch jethro-next
in repository meta-openembedded.

commit 13f7a3a66b7c350e79ea2753f71b52ecb34e7177
Author: Yi Zhao <yi.zhao at windriver.com>
AuthorDate: Thu Jan 14 16:19:09 2016 +0800

    logwatch: fix host-user-contaminated
    
    Fix QA warning:
    WARNING: QA Issue: logwatch: /logwatch/usr/share/logwatch/scripts/services/resolver is owned by uid 1000,
    which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
    
    Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb b/meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb
index 001b3de..b121522 100644
--- a/meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb
+++ b/meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb
@@ -23,6 +23,7 @@ do_install() {
     mv conf/ ${D}${datadir}/logwatch/default.conf
     mv scripts/ ${D}${datadir}/logwatch/scripts
     mv lib ${D}${datadir}/logwatch/lib
+    chown -R root:root ${D}${datadir}/logwatch
 
     install -m 0755 -d ${D}${mandir}/man1
     install -m 0755 -d ${D}${mandir}/man5

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list