All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seebach <peter.seebach@windriver.com>
To: <yocto@yoctoproject.org>,
	"Hatle, Mark" <mark.hatle@windriver.com>,
	Pascal Ouyang <xin.ouyang@windriver.com>
Subject: meta-selinux/policycoreutils [PATCH 1/1] Add missing dependencies to semanage
Date: Wed, 26 Mar 2014 19:45:46 -0500	[thread overview]
Message-ID: <20140326194546.2d88d3e1@e6410-2> (raw)

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.seebach@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.


             reply	other threads:[~2014-03-27  0:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-27  0:45 Peter Seebach [this message]
2014-04-03 18:53 ` meta-selinux/policycoreutils [PATCH 1/1] Add missing dependencies to semanage Joe MacDonald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140326194546.2d88d3e1@e6410-2 \
    --to=peter.seebach@windriver.com \
    --cc=mark.hatle@windriver.com \
    --cc=xin.ouyang@windriver.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.