Welcome to CRUX bug tracking.

FS#1643 - procps: pgrep 'user interface' changed upstream

Attached to Project: CRUX
Opened by Fun (fun) - Monday, 09 April 2018, 08:42 GMT
Last edited by Git commit closer (gitcloser) - Tuesday, 10 April 2018, 13:14 GMT
Task Type Bug Report
Category ports → core/opt
Status Closed
Assigned To Matt Housh (jaeger)
Operating System CRUX
Severity Low
Priority Normal
Reported Version 3.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


As you've seen, Matt, 'pgrep init' doesn't work, but 'pgrep --ns 0 init' does.

The upstream change seems to be this:

I don't think this change will stay upstream unfixed. Killing processes is one thing, searching is another. Meanwhile, you could add this line before make in Pkgfile:

sed -i '/opt_ns_pid = getpid/d' pgrep.c
This task depends upon

Closed by  Git commit closer (gitcloser)
Tuesday, 10 April 2018, 13:14 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed by commit