From owner-freebsd-stable@freebsd.org Sun Jun 2 12:31:02 2019 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13A4C15B4923 for ; Sun, 2 Jun 2019 12:31:02 +0000 (UTC) (envelope-from stefan.hegnauer@gmx.ch) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CE9799698E for ; Sun, 2 Jun 2019 12:31:00 +0000 (UTC) (envelope-from stefan.hegnauer@gmx.ch) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1559478650; bh=YQnqub9ohqE88fUI2FacViuo7wljuoDHtpm9qZb1qEM=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=T/LZ4ksHZliXCfYYI2XEkX1YzqmNXZwqXPBdasxND9PaMFjO5rhArmvjosEIR3+Qb RLuf31YWh/G1vaQ4zFi2+Go1KCl410ZRQft1kYvoi7kh/M+LcgdVfgYqwS4plIH+iN ipdO6eCXfJMkjEBcudzorSuKo175D4IMLCewE4cI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.20.50] ([84.226.167.60]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lkwc9-1gyuER0m3B-00aibJ for ; Sun, 02 Jun 2019 14:30:50 +0200 Subject: ps -J0 broken? To: freebsd-stable@freebsd.org References: From: Stefan Hegnauer Openpgp: preference=signencrypt Message-ID: <3e81cb06-853b-c682-5dd2-a40191ae9a72@gmx.ch> Date: Sun, 2 Jun 2019 14:30:49 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB X-Provags-ID: V03:K1:RwtcnqaemX88fKZn1zZ7UkhZRhbTxRa92FcsBTO8cVWdTJ5cmS4 n7+YoMpoe8j2Kn8DE9kO7i1fDUbidIkhtEpdSDF32fJXUlyUyXouCD+WNCArlSG4kEoh+Sy CLF6qlU4mfNmX3bkrfq7ikeXMPZBS0hj1Cm356ZiHvekWBbmtwPpZIUxJUgjHsX32h6UJE2 XK/iSTwdB4/DoKiZv3fLA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:v4hQZxsTDC0=:iZcWkWm5lD1Lj79s3Q2JQ3 k/en8T7ShdL60nViEoZXO0SNf3tcY8rGiBe5w6h2Q2b98tS7dnTpR2U94y8EaVMD7sPBWcdow V0aINcrb5uuKOwfXfIgA+8VNNJE02ikZ/e9XqyRylTsxD/SnXV4jvEhjVkZdwntLkxyyWjaNB hT6UqX182gWQSXaoETBLOOWJqhbdyXQIW781NxkXgkX2E9fYLni5NT8eftJFHem433Qqnu7GM V4+6B8SIu7Bx3qAE37QJaIgy95WWn1+P2G9+JJ+OjEid2uFDWHERpWUcE+X9Ok0hRAYlKVaxy 1UvRQOumg4TJhrZsRRKWWPVqhZeK7oEK3uQ/re6S5eQLP+FgaIVcZXuD6tg3NLIyM2ala9spK Dedt3hCnN2lxpwpUTpSbyybvDlEsLu1nW18DEUDumeazSnMYYNzLcC2Mk/UsVb7ICfzYZlWr9 ZMEF0d73IKko5JG6QteIXvuqCYRJcA+W2trO4HIpJheQprioNqyDtmN6pIOIDyGasxa6hxHW5 wirtTV/ql9UFobBcX5VKPj1K44hyX3V5iPdGJnSl+aRNYz2Wloptzafp1sq7HoVr/78qPFewR 9RyA8Tw5G1ZjlwUIpE0WNrWODLedJ3z6OvTMw8c/jHccbqTuQU3CBmbVO84j4uCLh+6OeU8/Z 5ZhdVcExlEEQzDkApODM7DR6HmCA55Of4GjPm9KSb5NFFYLztT4LoZxzzkT+bm36DE7Hi69bz CBNb55zktbvXQuqXREsiepQX1qipaO+iUCa84UYjDwW4WE9+wrHs3OYjEf0FreoMCyP5iyBda lmg5Zk+Fa1hZ8+Yj8LOsPEz334NTDSJxV9iHvlmKYmI9Xy4n13BglUF2op4mlcryuKGsVtgom 2YvJ/WacmbA/HLPSrstg6PFA8uljw6vOFXalYoZQmtmsEoBfdiUPjqWXcCcwRUZ4FU23TiXVh GvxtfiyVlzh7KvqDpUmObsOhyGT3MuabpTeTF4b6FPeUeZLkWyl2P X-Rspamd-Queue-Id: CE9799698E X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=T/LZ4ksH; spf=pass (mx1.freebsd.org: domain of stefan.hegnauer@gmx.ch designates 212.227.15.19 as permitted sender) smtp.mailfrom=stefan.hegnauer@gmx.ch X-Spamd-Result: default: False [-3.31 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.227.15.0/25]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[gmx.ch]; DKIM_TRACE(0.00)[gmx.net:+]; MX_GOOD(-0.01)[mx00.emig.gmx.net,mx01.emig.gmx.net]; RCVD_IN_DNSWL_NONE(0.00)[19.15.227.212.list.dnswl.org : 127.0.3.0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; IP_SCORE(-0.84)[ip: (-5.29), ipnet: 212.227.0.0/16(-1.46), asn: 8560(2.57), country: DE(-0.00)]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jun 2019 12:31:02 -0000 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