[oe-commits] [meta-openembedded] 13/26: logwatch: fix host-user-contaminated

git at git.openembedded.org git at git.openembedded.org
Wed Jan 27 11:42:14 UTC 2016


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

commit e27a8ed92b53c6ae8504b0d573c7352d6a07bbf8
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>
---
 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