The semanage utility is missing two dependencies, so if your system hasn't happened to pick them up, it will install but not be able to execute. Add the missing dependencies. (Tested locally using a bbappend file.)
Note that gzip.py requires python-io. That's already in BPN-python, which is already in RDEPENDS, so I'm not adding it specifically to semanage. The following changes since commit a6079a43719e79e12a57e609923a0cccdba06916: refpolicy: fix real path for su.shadow (2014-02-13 10:52:07 -0500) are available in the git repository at: git://git.yoctoproject.org/poky-contrib seebs/semanage-python-depends http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/semanage-python-depends Peter Seebach (1): policycoreutils.inc: Add missing dependencies for semanage recipes-security/selinux/policycoreutils.inc | 2 ++ 1 file changed, 2 insertions(+) And here's the actual patch: policycoreutils.inc: Add missing dependencies for semanage The semanage utility requires python-compression (for "import gzip") and python-xml (for "import xml.etree.ElementTree"). Signed-off-by: Peter Seebach <peter.seeb...@windriver.com> --- recipes-security/selinux/policycoreutils.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-security/selinux/policycoreutils.inc b/recipes-security/selinux/policycoreutils.inc index 56470e9..521e70b 100644 --- a/recipes-security/selinux/policycoreutils.inc +++ b/recipes-security/selinux/policycoreutils.inc @@ -75,6 +75,8 @@ RDEPENDS_${BPN}-secon += "libselinux" RDEPENDS_${BPN}-semanage = "\ python-core \ python-ipy \ + python-compression \ + python-xml \ ${BPN}-python \ libselinux-python \ " -- 1.8.3.4 -- Listen, get this. Nobody with a good compiler needs to be justified. -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto