Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

Cannot install policycoreutils-python on Fedora 31 #259

Closed
agross opened this issue Dec 13, 2019 · 2 comments
Closed

Cannot install policycoreutils-python on Fedora 31 #259

agross opened this issue Dec 13, 2019 · 2 comments
Labels

Comments

@agross
Copy link

agross commented Dec 13, 2019

Describe the bug

I tried to harded a freshly set up Fedora 31 server:

TASK [dev-sec.ssh-hardening : install selinux dependencies when selinux is installed on RHEL or Oracle Linux] *******************************************
failed: [artemis] (item=policycoreutils-python) => {"ansible_loop_var": "item", "changed": false, "failures": ["policycoreutils-python No match for argument: policycoreutils-python"], "item": "policycoreutils-python", "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}
ok: [artemis] => (item=checkpolicy)

A package called policycoreutils-python-utils can be installed and the playbook succeeds afterwards.

Expected behavior

Success.

Actual behavior

Above error.

OS / Environment

Fedroa 31 Server.

Ansible Version

ansible 2.9.2
  config file = /Users/agross/Downloads/ansi/ansible.cfg
  configured module search path = ['/Users/agross/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/Cellar/ansible/2.9.2/libexec/lib/python3.7/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.7.5 (default, Nov  1 2019, 02:16:23) [Clang 11.0.0 (clang-1100.0.33.8)]

Role Version

7.0.0

Installed using ansible-galaxy.

@rndmh3ro
Copy link
Member

Hey @agross, thanks for raising this issue!

Can you please retest with the latest master-state? We changed the installation method for the selinux-tools here: fdfa4d76

@agross
Copy link
Author

agross commented Dec 19, 2019

@rndmh3ro Thanks, that commit fixes it.

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

No branches or pull requests

2 participants