[yocto] [meta-security][PATCH 3/8] trousers: tcsd.conf must be owned tss:tss

Patrick Ohly patrick.ohly at intel.com
Mon Jan 30 23:48:02 PST 2017


The upstream dist/Makefile.am ensures that /etc/tcsd.conf
is owned by tss:tss, and that must not be changed because
otherwise tcsd refuses to start.

Signed-off-by: Patrick Ohly <patrick.ohly at intel.com>
---
 recipes-tpm/trousers/trousers_git.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/recipes-tpm/trousers/trousers_git.bb b/recipes-tpm/trousers/trousers_git.bb
index 5737de3..a256bfa 100644
--- a/recipes-tpm/trousers/trousers_git.bb
+++ b/recipes-tpm/trousers/trousers_git.bb
@@ -39,7 +39,6 @@ do_install_append() {
         install -m 0644 ${WORKDIR}/tcsd.service ${D}${systemd_unitdir}/system/
         sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/tcsd.service
     fi        
-    chown -R root:root ${D}${sysconfdir}/tcsd.conf
 }
 
 CONFFILES_${PN} += "${sysconfig}/tcsd.conf"
-- 
git-series 0.9.1



More information about the yocto mailing list