Azure / Azure/LinuxPatchExtension

RHEL 8+ yum-plugin-ps detection fails

Abierto
#334 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
12
Forks
20
Merge medio
6 d 4 h
PR fusionados (30 d)
1

Descripción

**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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Abre src/core/src/package_managers/YumPackageManager.py alrededor de la línea 1042 e inspecciona la comprobación del nombre del paquete utilizada para la detección de yum-plugin-ps. Reproduce la ruta de yum ps en una VM basada en RHEL 8+ y verifica después que la detección busca yum-plugin-ps y que el comando se ejecuta correctamente.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
devops
Tipo de issue
Error
Dificultad
1/5
Tiempo estimado
Menos de una hora
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.