The sudoers.d directory is for all intents and purposes created and owned by the sudo package. We must therefor ensure we match the ownership and perms which sudo used to install this directory. Currently we don't so this results in an error when assembling the filesystem:
file /etc/sudoers.d conflicts between attempted installs of \ nova-common-12.0.0+git0+6df6ad3ff3-r0.core2_64 and \ sudo-1.8.20p2-r0.core2_64 Signed-off-by: Mark Asselstine <mark.asselst...@windriver.com> --- meta-openstack/recipes-devtools/python/python-nova_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb index c1f4de1..f3a6b86 100644 --- a/meta-openstack/recipes-devtools/python/python-nova_git.bb +++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb @@ -88,7 +88,7 @@ do_install_append() { chown root:root $NOVA_CONF_DIR/rootwrap.conf # Set up the rootwrap sudoers for nova - install -d ${D}${sysconfdir}/sudoers.d + install -d -m 750 ${D}${sysconfdir}/sudoers.d touch ${D}${sysconfdir}/sudoers.d/nova-rootwrap chmod 0440 ${D}${sysconfdir}/sudoers.d/nova-rootwrap chown root:root ${D}${sysconfdir}/sudoers.d/nova-rootwrap -- 2.7.4 -- _______________________________________________ meta-virtualization mailing list meta-virtualization@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-virtualization