-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-8.9.0
-
None
-
None
-
None
-
rhel-sst-cs-plumbers
-
ssg_core_services
-
31
-
1
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
-
x86_64
-
None
In the routine do_sem_global() it calls ipc_sem_get_info() to create a linked list of the semaphore sets on the system in the var semds. It then counts the number of sets and is suppose to sum the number of semaphores in each set.
The issue is it keeps using the sem_nsems (number of semaphores in the set) from the first entry. Thus the calculation essentially becomes (number of semaphore sets on system) * (the number of semaphores in the first set).
What were you trying to do that didn't work?
lsipc -gs
Please provide the package NVR for which bug is seen:
util-linux-2.32.1-43.el8.x86_64
How reproducible:
everytime
Steps to reproduce
- Create two sets of "inter-process communication" semaphores, each with a different number of nsems
- Execute the lspci -gs command
Expected results
The row "SEMMNS Total number of semaphores" should contain the total number of semaphores for all the sets on the system under the USED column.
Actual results
It contains the number of semaphores from the first entry times the number of sets.
- is cloned by
-
RHEL-34165 RHEL-9: The tool lsipc show an incorrect USED value "Total number of semaphores".
- Closed