Azure / Azure/LinuxPatchExtension
RHEL 8+ yum-plugin-ps detection fails
- Dominant language
- Python
- Stars
- 12
- Forks
- 20
- Avg merge
- 6d 4h
- Merged PRs (30d)
- 1
Description
**Describe the bug**
RHEL 8+ based VMs fail to run 'yum ps' because the yum-plugin-ps detection is broken.
The failure is on this line the command output is looking for 'yum-plugin-security' however it should look for 'yum-plugin-ps' as that package is being tried to install
https://github.com/Azure/LinuxPatchExtension/blob/525a32f111130046748dbb84a8620c06ee94a947/src/core/src/package_managers/YumPackageManager.py#L1042
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
Working detection of yum-plugin-ps
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.
Contributor guide
Research direction
Open src/core/src/package_managers/YumPackageManager.py around line 1042 and inspect the package-name check used by yum-plugin-ps detection. Reproduce the yum ps path on a RHEL 8+ based VM, then verify that detection looks for yum-plugin-ps and that the command succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100