On 9/18/17 9:34 PM, Chanho Park wrote: > Hi Mark, > > Thanks for the update. > When I ran the semanage tool, I got below errors. > >> ImportError: No module named lib2to3.pgen2.parse > > Does the setools use python3 instead of the python2?
Are you running this on the target or as part of the build? Part of the system requires meta-python components to operate properly. If this piece requires additional components that are not set as requirements, it's a bug. Patches welcome. (I did not experience this when I did a build.) --Mark > Best Regards, > Chanho Park > > On Fri, 15 Sep 2017 at 6:27 AM Mark Hatle <mark.ha...@windriver.com > <mailto:mark.ha...@windriver.com>> wrote: > > I have pushed an update to meta-selinux to work with master. A few key > changes: > > The oe-selinux and poky-selinux distro configurations HAVE BEEN REMOVED! > It is > now up to the user to enable the components using the appropriate > DISTRO_FEATURES as documented in the README file. (acl xattr pam selinux) > > The layer now requires meta-selinux as part of the 'setools' upgrade. > The tool > is now a python based tool. > > SELinux componetns have been updated to version 2.7. > > Refpolicy is at 2.20170204, git at master as of yesterday. > > The README for the layer has been updated to include some additional > information > about running the included images. > > Changelog: > > f1f0860 openssh: set ChallengeResponseAuthentication to no > 24cce7b refpolicy: fix a typo in RDEPENDS > 827b305 initscripts: use the 'i' option for restorecon command > eeb2c2f audit: fix the wrong packaging for auditd.service > 2aadc0d audit 2.7.1 -> 2.7.6 > beaaa37 attr: fix ptest failures when selinux enabled > 232bfeb systemd: Remove inherit enable-selinux, obsolete > 40a581d selinux: uprev include file to 20170804 > 3aafa96 libsepol: uprev to 2.7 (20170804) > 375dfa6 libselinux: uprev to 2.7 (20170804) > b00974f libsemanage: uprev to 2.7 (20170804) > 43adb0c checkpolicy: uprev to 2.7 (20170804) > f838032 secilc: uprev to 2.7 (20170804) > c9186be policycoreutils: uprev to 2.7 (20170804) > 9b70823 sepolgen: remove package > d8d6ac6 mcstrans: add package 2.7 (20170804) > 9a07ac8 restorecond: add package 2.7 (20170804) > a5b5f5b selinux-sandbox: add package 2.7 (20170804) > 1d3df56 selinux-python: add package 2.7 (20170804) > 17cda5a semodule-utils: add package 2.7 (20170804) > 28b961c selinux-dbus: add package 2.7 (20170804) > a1f9832 selinux-gui: add package 2.7 (20170804) > 493b567 policycoreutils: fixes for 2.7 uprev > fe8bc07 refpolicy_common: depends on semodule-utils-native > fdf7612 setools: uprev to 4.1.1 > 96b54b4 packagegroup-*: sync package names > 2c7c0e9 selinux-python: add setools to RDEPENDS > 8bd72df refpolicy-git: Update to lastest git version > 694b8d1 README: Update and remove references to distros, replace w/ > DISTRO_FEATURES > 4fefe83 Refactor to conform to YP Compat requirements > 6733785 README: Add information about running the system > dddf265 packagegroups: Fix LIC_FILES_CHKSUM > bca5c61 refpolicy: Add '/bin/bash.bash', an update-alternative to the > policy > 907e373 policycoreutils: Update fixfile > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org <mailto:yocto@yoctoproject.org> > https://lists.yoctoproject.org/listinfo/yocto > > -- > Best Regards, > Chanho Park -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto