Red Hat Bugzilla – Bug 1246489
sss_obfuscate fails with "ImportError: No module named pysss"
Last modified: 2015-11-19 06:39:28 EST
Description of problem: sss_obfuscate does not execute Version-Release number of selected component (if applicable): sssd-tools-1.13.0-5.el7 sssd-1.13.0-5.el7 How reproducible: Always Steps to Reproduce: 1. Run "sss_obfuscate" Actual results: # sss_obfuscate Traceback (most recent call last): File "/usr/sbin/sss_obfuscate", line 6, in <module> import pysss ImportError: No module named pysss Expected results: Additional info:
It looks like broken packaging in rhel7. On fedora it requires necessary packages. sh$ rpm -q --requires sssd-tools | grep python /usr/bin/python3 python3-sss = 1.13.0-2.fc22 python3-sssdconfig = 1.13.0-2.fc22 BTW on fedora 22 we already switch to default python3. So on rhel it should require python-sss and python-sssdconfig
Created attachment 1059716 [details] Spec file fix
Thanks a lot for the patches; applied.
Verified the bug on SSSD Version: sssd-1.13.0-20.el7.x86_64 sss_obfuscate works as expected on the latest SSSD version. See the output below: [root@mgmt8 ~]# sss_obfuscate No domain specified
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-2355.html