Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

role:sshd: ModuleNotFoundError: No module named 'seobject' #53

Closed
markuslf opened this issue May 31, 2022 · 2 comments
Closed

role:sshd: ModuleNotFoundError: No module named 'seobject' #53

markuslf opened this issue May 31, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@markuslf
Copy link
Member

markuslf commented May 31, 2022

TASK [linuxfabrik.lfops.sshd : semanage port --add --type ssh_port_t --proto tcp 22] **************************************************************************************
Tuesday 31 May 2022  16:41:46 +0200 (0:00:01.007)       0:01:46.800 *********** 
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'seobject'
fatal: [hostname]: FAILED! => changed=false 
  msg: Failed to import the required Python library (policycoreutils-python) on hostname's Python /usr/libexec/platform-python. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter

@markuslf markuslf added the bug Something isn't working label May 31, 2022
@markuslf
Copy link
Member Author

On RHEL 8, it needs a dnf -y install policycoreutils-python-utils

@NavidSassan NavidSassan self-assigned this May 31, 2022
@NavidSassan
Copy link
Member

python3-policycoreutils should be enough, can be injected into the python role

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants