Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jun 2019 14:30:49 +0200
From:      Stefan Hegnauer <stefan.hegnauer@gmx.ch>
To:        freebsd-stable@freebsd.org
Subject:   ps -J0 broken?
Message-ID:  <3e81cb06-853b-c682-5dd2-a40191ae9a72@gmx.ch>
In-Reply-To: <mailman.11.1559476800.15549.freebsd-stable@freebsd.org>
References:  <mailman.11.1559476800.15549.freebsd-stable@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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):
=C2=A0=C2=A0=C2=A0=C2=A0 -J=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Display informat=
ion about processes which match the specified
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 j=
ail IDs.=C2=A0 This may be either the jid or name of the jail.=C2=A0
**Use**
**=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 -J 0 to display only host processes*.*=C2=A0 This flag implies
-x by
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 d=
efault.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3e81cb06-853b-c682-5dd2-a40191ae9a72>