[Bug 2057944] Re: pidwait doesn't work. Instead behaves like pgrep
Marian Sigler
2057944 at bugs.launchpad.net
Wed Feb 19 20:56:32 UTC 2025
I know this isn't high priority, but it's really just a one-line change.
I don't know how but I've tracked down the "where", at least:
I think in pgrep.c
797: if (strcmp (program_invocation_short_name, "pwait") == 0) {
must be updated to also check for pidwait, that should do it.
Workaround:
Run (once):
$ ln -s ../../bin/pidwait /usr/local/bin/pwait
Then use `pwait` instead of `pidwait`.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/2057944
Title:
pidwait doesn't work. Instead behaves like pgrep
Status in procps package in Ubuntu:
Confirmed
Bug description:
pidwait doesn't work at all.
Seems like pidwait was renamed in an Ubuntu patch from upstream pwait
- however the executable that is built acts as "pgrep" unless it's
called as "pwait"; this check also needs to be updated with the
executable name "pidwait".
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/2057944/+subscriptions
More information about the foundations-bugs
mailing list