Azure / Azure/LinuxPatchExtension
RHEL 8+ yum-plugin-ps detection fails
- Lingua principale
- Python
- Stelle
- 12
- Fork
- 20
- Merge medio
- 6g 4h
- PR unite (30g)
- 1
Descrizione
**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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- devops
- Tipo di issue
- Bug
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 48/100