Bug 33292

Summary: pwait not available, despite pkill and pgrep are available
Product: Mageia Reporter: Raoul <raoul.behrend>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WORKSFORME QA Contact:
Severity: enhancement    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Raoul 2024-06-12 10:17:30 CEST
pgrep, pkill and pwait commands are closely related 

But on my uptodate Mageia 9 for x86_64, only the two first commands are available in a terminal session. How to access pwait ?
Comment 1 sturmvogel 2024-06-12 13:37:22 CEST
It is /usr/bin/pidwait

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME

Comment 2 Raoul 2024-06-12 14:17:10 CEST
OK. Fine, thank you ! pidwait is available

But let's see the filrst lines of some man pages:

man pgrep :
NOM
       pgrep, pkill, pwait - look up, signal, or wait for processes based on name and other attributes

man pwait :
NOM
       pgrep, pkill, pwait - look up, signal, or wait for processes based on name and other attributes

man pidwait :
NAME
       pgrep, pkill, pidwait - look up, signal, or wait for processes based on name and other attributes

I think something is not logic in the man pages, dont't you ?
pwait should never be mentionned.

Cheers, Raoul
Comment 3 sturmvogel 2024-06-12 18:22:38 CEST
You need to report this upstream. The same man pages are used on other linux distributions which use the package...
Comment 4 Raoul 2024-06-13 23:28:39 CEST
Hello,

I'm afraid that it's above my competence's level in this domain...

Cheers, Raoul