All of lore.kernel.org
 help / color / mirror / Atom feed
* meta-selinux/policycoreutils [PATCH 1/1] Add missing dependencies to semanage
@ 2014-03-27  0:45 Peter Seebach
  2014-04-03 18:53 ` Joe MacDonald
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Seebach @ 2014-03-27  0:45 UTC (permalink / raw)
  To: yocto, Hatle, Mark, Pascal Ouyang

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.


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: meta-selinux/policycoreutils [PATCH 1/1] Add missing dependencies to semanage
  2014-03-27  0:45 meta-selinux/policycoreutils [PATCH 1/1] Add missing dependencies to semanage Peter Seebach
@ 2014-04-03 18:53 ` Joe MacDonald
  0 siblings, 0 replies; 2+ messages in thread
From: Joe MacDonald @ 2014-04-03 18:53 UTC (permalink / raw)
  To: Peter Seebach; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2118 bytes --]

Merged, thanks.
-J.

[[yocto] meta-selinux/policycoreutils [PATCH 1/1] Add missing dependencies to semanage] On 14.03.26 (Wed 19:45) Peter Seebach wrote:

> 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.
-- 
-Joe MacDonald.
:wq

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-03 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-27  0:45 meta-selinux/policycoreutils [PATCH 1/1] Add missing dependencies to semanage Peter Seebach
2014-04-03 18:53 ` Joe MacDonald

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.