Azure / Azure/azure-linux-extensions

Azure Linux Diagnostic Extension: Does not install on RHEL 8.1 due to lack of policycoreutils-python package

Open
#1,179 13 comments 11 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
333
Forks
278
Avg merge
2d 9h
Merged PRs (30d)
4

Description

I appreciate it's not supported yet, but even after installing python2 and setting python alternative on RHEL 8.1 the extension still won't install.

It appears it keeps attempting to install the policycoreutils-python package which has now been replaced by policycoreutils-python-utils

```
2020/08/05` 19:01:35 [Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.129] Enable,error,1,Failed to set up mdsd dependencies: package policycoreutils-python is not installed
2020/08/05 19:01:35 Last metadata expiration check: 0:27:44 ago on Wed 05 Aug 2020 06:32:49 PM UTC.
2020/08/05 19:01:35 No match for argument: policycoreutils-python
2020/08/05 19:01:35 Error: Unable to find a match: policycoreutils-python
2020/08/05 19:01:35 tar-1.30-4.el8.x86_64
2020/08/05 19:01:35
2020/08/05 19:01:35 [Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.129] Enable,error,-1,Enabled failed
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the Azure Linux Diagnostic Extension dependency setup that reports the missing policycoreutils-python package, using the RHEL 8.1 log in the issue as the reproduction. Verify the replacement policycoreutils-python-utils package is handled and confirm the extension installs successfully on RHEL 8.1.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
cloud, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.