-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.9.0
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
-
-
-
Important
USER PROBLEM
When zombie processes are present in the system, roxagent produces index reports without a packages section. Steps to reproduce:
// Create a zombie process $ (sleep 0 & exec /bin/sleep 60) & // Zombie will exist for 60 seconds // Run roxagent to generate an index report (--verbose to see its contents), note how it does not contain any package: $ sudo ./roxagent --verbose { "vsockCid": "3150315441", "indexV4": { "state": "IndexFinished", "success": true, "contents": { "repositoriesDEPRECATED": [ { "id": "2", "name": "rhel-9-for-x86_64-baseos-rpms", "key": "rhel-cpe-repository", "cpe": "cpe:2.3:o:redhat:enterprise_linux:9:*:baseos:*:*:*:*:*" }, { "id": "0", "name": "ansible-automation-platform-2.3-for-rhel-9-x86_64-rpms", "key": "rhel-cpe-repository", "cpe": "cpe:2.3:a:redhat:ansible_automation_platform:2.3:*:el9:*:*:*:*:*" }, { "id": "1", "name": "rhel-9-for-x86_64-appstream-rpms", "key": "rhel-cpe-repository", "cpe": "cpe:2.3:a:redhat:enterprise_linux:9:*:appstream:*:*:*:*:*" } ], "repositories": { "ansible-automation-platform-2.3-for-rhel-9-x86_64-rpms": { "id": "0", "name": "ansible-automation-platform-2.3-for-rhel-9-x86_64-rpms", "key": "rhel-cpe-repository", "cpe": "cpe:2.3:a:redhat:ansible_automation_platform:2.3:*:el9:*:*:*:*:*" }, "rhel-9-for-x86_64-appstream-rpms": { "id": "1", "name": "rhel-9-for-x86_64-appstream-rpms", "key": "rhel-cpe-repository", "cpe": "cpe:2.3:a:redhat:enterprise_linux:9:*:appstream:*:*:*:*:*" }, "rhel-9-for-x86_64-baseos-rpms": { "id": "2", "name": "rhel-9-for-x86_64-baseos-rpms", "key": "rhel-cpe-repository", "cpe": "cpe:2.3:o:redhat:enterprise_linux:9:*:baseos:*:*:*:*:*" } } } } }
CONDITIONS
This happens when zombie processes are present in the system, which in turn is a common situation that can happen in a multitude of scenarios.
ROOT CAUSE
What is the root cause of the bug?
- pending
FIX
How was the bug fixed (this is more important if a workaround was implemented rather than an actual fix)?
- pending