https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286599

Olivier Certner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Works As Intended
           Assignee|[email protected]            |[email protected]
                 CC|                            |[email protected]
             Status|New                         |Closed

--- Comment #1 from Olivier Certner <[email protected]> ---
Hey Dave,

There is indeed an on-purpose change in behavior, both to become standard
compliant and also for consistency.  See commit message of
https://cgit.freebsd.org/src/commit/?id=93a94ce731a89b and also the updated
manual page.  In a nutshell, once a process is selected by any option, it will
be listed regardless of the other options (except for -X/-x, which work as a
(non-)filter; in more formal words, the processes selected by each option form
a set, and all these sets are unioned/ORed to obtain the final process list).

If you want to list processes only from a specific jail, then you simply don't
need '-a'.  Just remove it from your command-line and you should get the
expected result.  '-J' is not a filter (and AFAICT nothing hints it was
intended to be one, both in the code and the documentation).

Thanks and regards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to