pkispawn generates the following error when SELinux is disabled.
# pkispawn -f ca.cfg -s CA -v Traceback (most recent call last): File "/sbin/pkispawn", line 231, in <module> main(sys.argv) File "/sbin/pkispawn", line 215, in main fromlist = [pki_scriptlet[4:]]) File "/usr/lib/python2.7/site-packages/pki/deployment/initialization.py", line 25, in <module> import pkihelper as util File "/usr/lib/python2.7/site-packages/pki/deployment/pkihelper.py", line 39, in <module> import seobject File "/usr/lib64/python2.7/site-packages/seobject.py", line 931, in <module> class portRecords(semanageRecords): File "/usr/lib64/python2.7/site-packages/seobject.py", line 932, in portRecords valid_types = sepolicy.info(sepolicy.ATTRIBUTE,"port_type")[0]["types"] File "/usr/lib64/python2.7/site-packages/sepolicy/__init__.py", line 51, in info dict_list = _info.info(setype, name) RuntimeError: No default policy found.
Running with SELinux disabled may not be supported, but pkispawn should generate a more user friendly error.
Alternatively, pkispawn can also skip labeling whenSELinux is disabled.
c3fdb8ffc11938514d96760c9a62d619f90cbcca
Metadata Update from @edewata: - Issue assigned to vakwetu - Issue set to the milestone: 10.0.1
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/964
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.