Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Use python3-libselinux instead of libselinux-python on RHEL8/CentOS8 #244

Closed
rtsisyk opened this issue Nov 17, 2019 · 3 comments
Closed

Comments

@rtsisyk
Copy link

rtsisyk commented Nov 17, 2019

TASK [cloudalchemy.prometheus : Install SELinux dependencies] ************************************************************************
FAILED - RETRYING: Install SELinux dependencies (5 retries left).
FAILED - RETRYING: Install SELinux dependencies (4 retries left).
FAILED - RETRYING: Install SELinux dependencies (3 retries left).
FAILED - RETRYING: Install SELinux dependencies (2 retries left).
FAILED - RETRYING: Install SELinux dependencies (1 retries left).
failed: [infra.hel.diceplex.io] (item=libselinux-python) => {"ansible_loop_var": "item", "attempts": 5, "changed": false, "failures": ["No package libselinux-python available."], "item": "libselinux-python", "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}
FAILED - RETRYING: Install SELinux dependencies (5 retries left).
FAILED - RETRYING: Install SELinux dependencies (4 retries left).
^C [ERROR]: User interrupted execution
dnf install python-libselinux
Failed to set locale, defaulting to C
Last metadata expiration check: 0:11:04 ago on Sun Nov 17 06:25:40 2019.
No match for argument: python-libselinux
Error: Unable to find a match
dnf info python3-libselinux
Failed to set locale, defaulting to C
Last metadata expiration check: 0:11:19 ago on Sun Nov 17 06:25:40 2019.
Installed Packages
Name         : python3-libselinux
Version      : 2.8
Release      : 6.el8
Arch         : x86_64
Size         : 616 k
Source       : libselinux-2.8-6.el8.src.rpm
Repo         : @System
From repo    : BaseOS
Summary      : SELinux python 3 bindings for libselinux
URL          : https://github.com/SELinuxProject/selinux/wiki
License      : Public Domain
Description  : The libselinux-python3 package contains python 3 bindings for developing
             : SELinux applications.
@paulfantom
Copy link
Member

Which version of the role are you using?

@paulfantom
Copy link
Member

Fixed in #248

@lock
Copy link

lock bot commented Jan 19, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Jan 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants