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

Cannot install on Oracle 8 #221

Closed
tsekityam opened this issue Aug 28, 2021 · 2 comments
Closed

Cannot install on Oracle 8 #221

tsekityam opened this issue Aug 28, 2021 · 2 comments

Comments

@tsekityam
Copy link
Contributor

Describe the bug
Cannot install on Oracle 8 because libsemanage-python is no longer available

TASK [nusenu.relayor : Ensure SELinux dependencies are installed] ******************************************************************************************
fatal: [[email protected]]: FAILED! => {"changed": false, "failures": ["libselinux-python All matches were filtered out by modular filtering for argument: libselinux-python", "No package libsemanage-python available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}

libselinux-python was renamed to python3-libsemanage in CentOS 8 or it's variants. So we need to check the major version of the OS, and install the correct version.

@tsekityam
Copy link
Contributor Author

tsekityam commented Aug 28, 2021

I apply the changes from bertvv/ansible-role-samba#54 (comment), and I still got

fatal: [[email protected]]: FAILED! => {"changed": false, "failures": ["No package libsemanage-python available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}

So we need to conditionally instal both packages for CentOS 8

@nusenu
Copy link
Owner

nusenu commented Aug 28, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants