Azure / Azure/LinuxPatchExtension

RHEL 8+ yum-plugin-ps detection fails

オープン
#334 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
12
フォーク
20
平均マージ
6日 4時間
マージ済み PR(30日)
1

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

src/core/src/package_managers/YumPackageManager.py を1042行付近で開き、yum-plugin-ps の検出に使用されているパッケージ名のチェックを確認してください。RHEL 8+ ベースの VM で yum ps のパスを再現し、その後、検出処理が yum-plugin-ps を検索し、コマンドが正常に実行されることを確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
devops
issue の種類
バグ
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。