Browse Source

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!)
William Brown 9 years ago
parent
commit
0e4a9a6ea2
1 changed files with 3 additions and 0 deletions
  1. 3 0
      rpm/389-ds-base.spec.in

+ 3 - 0
rpm/389-ds-base.spec.in

@@ -90,6 +90,9 @@ BuildRequires:    libasan
 # this is needed for using semanage from our setup scripts
 # this is needed for using semanage from our setup scripts
 Requires:         policycoreutils-python
 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
 # the following are needed for some of our scripts
 %if %{use_openldap}
 %if %{use_openldap}
 Requires:         openldap-clients
 Requires:         openldap-clients