rpm/389-ds-base.spec.in | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 0e4a9a6ea2000d0098df070f140957b3c6ab6398
Author: William Brown <firstyear(a)redhat.com>
Date: Wed Jul 27 10:05:31 2016 +1000
Ticket 48336 - Missing semanage dependency
Bug Description: On a clean install
Traceback (most recent call last):
File "/usr/sbin/ds_selinux_enabled", line 17, in <module>
import semanage
ImportError: No module named semanage
Fix Description: Add the proper dependency to the rpm so that we are not
missing the module.
https://fedorahosted.org/389/ticket/48336
Author: wibrown
Review by: mreynolds (Thanks!)
diff --git a/rpm/389-ds-base.spec.in b/rpm/389-ds-base.spec.in
index 0924cb5..33bf470 100644
--- a/rpm/389-ds-base.spec.in
+++ b/rpm/389-ds-base.spec.in
@@ -90,6 +90,9 @@ BuildRequires: libasan
# this is needed for using semanage from our setup scripts
Requires: policycoreutils-python
+# This is needed for our future move to python selinux interaction.
+Requires: libsemanage-python
+
# the following are needed for some of our scripts
%if %{use_openldap}
Requires: openldap-clients