ps -J0 broken?

Stefan Hegnauer stefan.hegnauer at gmx.ch
Sun Jun 2 12:31:02 UTC 2019


Hi,

after a recent full update to 12.0-STABLE r348382 it seems that '/bin/ps
-J 0' is broken: 'ps: Invalid jail id: 0'.
It did work on stable for the last couple years prior to this update
(last update without this error was about 5 weeks ago), and should still
work according to ps(1):
     -J      Display information about processes which match the specified
             jail IDs.  This may be either the jid or name of the jail. 
**Use**
**             -J 0 to display only host processes*.*  This flag implies
-x by
             default.

My system runs several jails with JID's currently in the range 80-100.
The source code of ps did not change for the last 7 month as far as I
can tell. A fresh 'make clean & make & make install' of just ps did not
help either, which was not really surprising to me.
Any pointers where to look further?

Thanks
Stefan



More information about the freebsd-stable mailing list