From owner-freebsd-hackers@freebsd.org Sun Jun 14 13:08:42 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 105BB3394BA for ; Sun, 14 Jun 2020 13:08:42 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (mailhost.m5p.com [74.104.188.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "m5p.com", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49lFCF0hcNz4LvR for ; Sun, 14 Jun 2020 13:08:40 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from [IPv6:2001:470:1f07:15ff::26] (court.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:26]) (authenticated bits=0) by mailhost.m5p.com (8.15.2/8.15.2) with ESMTPSA id 05ED8Vx3060773 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 14 Jun 2020 09:08:38 -0400 (EDT) (envelope-from george+freebsd@m5p.com) Subject: Re: Jumbled Dependencies To: freebsd-hackers@freebsd.org References: From: George Mitchell Autocrypt: addr=george+freebsd@m5p.com; prefer-encrypt=mutual; keydata= mQINBFgnLnwBEADAJDiBKQX77LFRz9wZW8mz3KvaQol2nIremcws0F1mz/zgFlk6uhQVtwnL wb4XL5LdFwcNE1+QZzPLcbYWoWQlz0lBw1bMuKAgr0S6V2e0+I0DqhKeslVFctcTwtvT6pnK VLZXO/7ZGAaLzG4K5vSPzgoevU+YI/pxNsVCH2UO/c3jQW63uEt25mIZbCF1Pu4jgp4RhIgF ujn877r/j6OwBwjzRUu3E6ADp+U825d+5YCuQMEH0wIPnn9GTpXvfdKdbwOIl2akqXqs4cnk iATWfK3r6D4mvDEj1OPHlTvJYcfic7aOIiAwmx1C1v78G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5wcoLZlQwFtPfu2xyRYIsveXMoyypAvAFSaAGXU0hRzuDJ fGI3LFvpI9UXU2C4MMzjfyZyD2NJEDKOACTo85QQzxgheTDQaDocXW00wknXFMwEItiXp8dO 2zEml/3Kj4efDfjqGpjNefjK0cnj02Byt7y6GozWXyIylrXu0SN9qWRzUVZH3+q+ijA4q3Gm 9uWzLdpjN4QWAiiaEvMhLPohp9DdLsy3kAWWrA3+pAfHSTZXrobMMbSeBkE9E4/WxdKl0nM7 TNslAWcxkTd/7Ly9cxwT8wFdHuQB1hgCmIQxDNXHL1N1ANTeUYum1w9nUg6e1M0UWu+nk3Cw qL7oL2KZe13mQnU/CFwlhbf+i//j3SXrQLlIVQv9Fn805bxIcVo9yqUZyoiV7EUpvOsxDCZh ej3mNYF5nRCf6trEJQVk0aLC26zJAYExykdUlRqc4I13XPhlt+aFSMMkoL/thYO6e9oNFK6Q aJEKXomzxxqpceJVmPH6zvqJbOboAdE/mOD0PoS1M6saIQ== Message-ID: Date: Sun, 14 Jun 2020 09:08:25 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BXti73tDbdYkn8AS77ZWcblNMeEwHyGTK" X-Spam-Status: No, score=0.2 required=10.0 tests=HELO_MISC_IP,HELO_NO_DOMAIN autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mattapan.m5p.com X-Rspamd-Queue-Id: 49lFCF0hcNz4LvR X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of george@m5p.com designates 74.104.188.4 as permitted sender) smtp.mailfrom=george@m5p.com X-Spamd-Result: default: False [-4.56 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; HAS_ATTACHMENT(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.03)[-1.032]; ARC_NA(0.00)[]; NEURAL_HAM_SHORT(-0.17)[-0.169]; DMARC_NA(0.00)[m5p.com]; NEURAL_HAM_MEDIUM(-0.96)[-0.956]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:701, ipnet:74.104.0.0/16, country:US]; TAGGED_FROM(0.00)[freebsd] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2020 13:08:42 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --BXti73tDbdYkn8AS77ZWcblNMeEwHyGTK Content-Type: multipart/mixed; boundary="PjigUDWHbA2YZ4h1E7rYZaq40rZvaIhfw"; protected-headers="v1" From: George Mitchell To: freebsd-hackers@freebsd.org Message-ID: Subject: Re: Jumbled Dependencies References: In-Reply-To: --PjigUDWHbA2YZ4h1E7rYZaq40rZvaIhfw Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2020-06-13 16:09, George Mitchell wrote: > [... ports, dependencies, foot-shooting ...] Moving over to freebsd-ports, where I should have sent this in the first place. Sorry for the noise -- George --PjigUDWHbA2YZ4h1E7rYZaq40rZvaIhfw-- --BXti73tDbdYkn8AS77ZWcblNMeEwHyGTK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAl7mIU8ACgkQwRES3m+p 4fkv2Q/5AXFDEUQkFlfAWJ0Tx1XVS6obZv48sAsIx9pjf5ckOQjA+WVVKzDKhK1n TaRnDPLJze6SbvcrP2quHv4QRamJHXkS/GSdXGLH1zDsiTDo9sBWmXGpvAx1e6k1 8++BbCBmieQyT1l61BpPp0YpskNJ1NwP7f3GLwZGl52tav9NTj5qppyP11N0bujO NOD3mNRzmyFSKC39oqnEZYoVrCM3DE0jL6DJn6nLNAh7PiWCYKEzdrBL08yFXj2n of7S/+j6OTtCogkOfgEmwuNZq3OJCYBcdjD2WAslfg2n+27PVQaafjFwRu13z7G6 4sqHExdwXdHvQpdGTPwq98i1PXz5P5dpXNI3wJ/s0KotuF2XxGEnracV1QCjkEjb H4c6LXNAwb8T75kvKfMe9/vgOyIqWOz8t+G4FPHXD0gLXi8c6RL0+USX2sky5FSa QzlDr2hQur3JgTvPhy19vrQimaRLtaBA5f5xB1lg7nEp920CWOSqDwQND07Inl+/ vX3JGE7cEMqZ/resaDbniHsVz9EgRWxbJDeS7cnAL8ygvkQDtaalQKkNPOhb8y7e lOsaEK0kZy4XP0wLUoBxPmufHV8wLt17RW+ppJcJ0ZBHGTNSyJrndkFVrtKJw0U+ V/K59h45LYedesW9yfdBddrlnW4W/h9SjgBIghszlJymDv+t5bc= =PBXl -----END PGP SIGNATURE----- --BXti73tDbdYkn8AS77ZWcblNMeEwHyGTK-- From owner-freebsd-hackers@freebsd.org Sun Jun 14 20:13:06 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DD6DD34396F for ; Sun, 14 Jun 2020 20:13:06 +0000 (UTC) (envelope-from gladiola@protonmail.com) Received: from mail-40134.protonmail.ch (mail-40134.protonmail.ch [185.70.40.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49lQcx4LTGz4qPt for ; Sun, 14 Jun 2020 20:13:05 +0000 (UTC) (envelope-from gladiola@protonmail.com) Date: Sun, 14 Jun 2020 20:12:56 +0000 To: freebsd-hackers@freebsd.org From: Gladiola Reply-To: Gladiola Subject: Re: Jumbled Dependencies (George Mitchell) Message-ID: <0f7dj_8e2z2RpJ2PT45GL6VjrfsZfkh2i_cjhLAPPnv-TZ2QyerCXhoS5dcwN5kbZlvZZCO0RtI3X2P2Lwlu71FauMgBTOzh7uUmb_2GkCE=@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="---------------------725cba4cc3d5f22913530b1f9a4a852f"; charset=utf-8 X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.protonmail.ch X-Rspamd-Queue-Id: 49lQcx4LTGz4qPt X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.53 / 15.00]; HAS_REPLYTO(0.00)[gladiola@protonmail.com]; FREEMAIL_FROM(0.00)[protonmail.com]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; MIME_BASE64_TEXT_BOGUS(1.00)[]; DKIM_TRACE(0.00)[protonmail.com:+]; MIME_BASE64_TEXT(0.10)[]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; NEURAL_HAM_SHORT(-0.40)[-0.401]; SIGNED_PGP(-2.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:+,4:+,5:~,6:+,7:~]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[185.70.40.134:from]; FAKE_REPLY(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=protonmail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.987]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,multipart/alternative,text/plain,multipart/related,application/pgp-keys]; FREEMAIL_REPLYTO(0.00)[protonmail.com]; NEURAL_HAM_MEDIUM(-1.04)[-1.044]; RCPT_COUNT_ONE(0.00)[1]; RWL_MAILSPIKE_POSSIBLE(0.00)[185.70.40.134:from] X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2020 20:13:06 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) -----------------------725cba4cc3d5f22913530b1f9a4a852f Content-Type: multipart/mixed; boundary="---------------------6c696d2ed44d281b65ee8d6200b36ce3" -----------------------6c696d2ed44d281b65ee8d6200b36ce3 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable To troubleshoot this, we might try the following.

1. Record= your current state. Before adjusting machines, use pkg version >> someFile= .txt to record what package is installed. Look carefully at that list.
=
2. Check if the clients are calling the repo you expect. pkg.= conf will hold a bracket of files. Are you hitting the file or http URL tha= t holds the right stuff? Maybe a simple update there could pull down what = you need.

3. The dependencies seem to be missing. Did we t= ry the man page's command for that? Maybe pkg didn't realize it was missing= what was needed. pkg check -d -a

4. Before doing anythin= g destructive, like wrecking out or ripping out progams, can you back up th= ose repo items?

REF:
https://www.freebsd.org/cgi/= man.cgi?query=3Dpkg&apropos=3D0&sektion=3D0&manpath=3DFreeBSD+12.1-RELEASE+= and+Ports&arch=3Ddefault&format=3Dhtml

v/r,
gladiola=


-------- Original Message --------
On Jun 14, 2020,= 8:00 AM, < freebsd-hackers-request@freebsd.org> wrote:

Send freebsd-hackers mailing list sub= missions to
=09freebsd-hackers@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit = https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
or, via email, send a message with subject or body 'help' to
freebsd-hackers-request@freebsd.org

You can reach the person managing the list at
freebsd-hackers-owner@freebsd.org

When replying, please edit your Subject line so it is more s= pecific
than "Re: Contents of freebsd-hackers digest..."

Today's Topics:

1. Jumbled Dependencies (George Mitchell)

------------------------------------------------------------= ----------

Message: 1
Date: Sat, 13 Jun 2020 16:09:43 -0400
From: George Mitchell <george+freebsd@m5p.com>
To: FreeBSD Hackers <freebsd-hackers@FreeBSD.org>
Subject: Jumbled Dependencies
Message-ID: <f3593bf6-c998-88dc-949c-634aa9b063e1@m5p.com>
Content-Type: text/plain; charset=3D"utf-8"

I do package builds on one machine on my (small) network, us= ing
portmaster, and then distributes the built packages to my other
machines. This week, I decided to make python38, rather than
python37, my default version on Python 3. Specifically,

portmaster -o lang/python38 python37

I think I missed a step here to upgrade all my py37-* packag= es to
py38-* packages. However, I did recompile a whole list of packages
(specific example: vim) so that on my build machine it lists
python38-3.8.3 as a dependency. I build a new repo on the build
machine and then did a "pkg upgrade" on the other machines. This
did install the new version of vim on the client machines, but
"pkg info -d vim" on a client still says it depends on
python37-3.7.7. (And there are a pile of other packages that are
spuriously listed as still depending on python37.)

Any suggestions as to why "pkg upgrade" did not copy correct=
dependency information from the build machine to the clients? And
how do I bandage up the foot I shot myself in? -- George

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pip= ermail/freebsd-hackers/attachments/20200613/bbb0cc0e/attachment-0001.sig>

------------------------------

Subject: Digest Footer

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http= s://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"<= br>

------------------------------

End of freebsd-hackers Digest, Vol 894, Issue 7
***********************************************

-----------------------6c696d2ed44d281b65ee8d6200b36ce3-- -----------------------725cba4cc3d5f22913530b1f9a4a852f Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBmBAEBCAAQBQJe5oTDCRCiMIkWZ+87ZAAKCRCiMIkWZ+87ZJgWB/42pHeb k0SBPIGNQmL9i9X0+RTPzCv4FmWu1sPjO6uTq8ykeCcc6mTqWJWNJ8EE3jw7 9UEsTg5S8h0RK3lxbJcfeWz1LX8RMOh6JQI7T/5gPhtrpDxlsS9KuRgJOVOh k3+5k9Y7ZimmVLlbioSyNUAoet/qI2TVrJnlrYB8wmeeanXxUfeDzhRujdS5 xdon0loct5bZoYMP4c5NPSR7d0iVV4TWGBTzC8JRQH8axcE6cZyf3OaBWHZV iOZTnDz9WS7mZx7bT+ejzj3u61CASSo2nJgCn64Fi1+Fk85eM3kuIT25q2yK n4FlTwYkjwlSfULvPdABdCBjsFLYVgu9MyAH =SJVu -----END PGP SIGNATURE----- -----------------------725cba4cc3d5f22913530b1f9a4a852f-- From owner-freebsd-hackers@freebsd.org Mon Jun 15 00:02:54 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 006833492B2 for ; Mon, 15 Jun 2020 00:02:54 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (mailhost.m5p.com [74.104.188.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "m5p.com", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49lWk50FhDz3Z5v for ; Mon, 15 Jun 2020 00:02:52 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from [IPv6:2001:470:1f07:15ff::26] (court.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:26]) (authenticated bits=0) by mailhost.m5p.com (8.15.2/8.15.2) with ESMTPSA id 05F02gkF064040 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 14 Jun 2020 20:02:51 -0400 (EDT) (envelope-from george+freebsd@m5p.com) Subject: Re: Jumbled Dependencies (George Mitchell) To: freebsd-hackers@freebsd.org References: <0f7dj_8e2z2RpJ2PT45GL6VjrfsZfkh2i_cjhLAPPnv-TZ2QyerCXhoS5dcwN5kbZlvZZCO0RtI3X2P2Lwlu71FauMgBTOzh7uUmb_2GkCE=@protonmail.com> From: George Mitchell Autocrypt: addr=george+freebsd@m5p.com; prefer-encrypt=mutual; keydata= mQINBFgnLnwBEADAJDiBKQX77LFRz9wZW8mz3KvaQol2nIremcws0F1mz/zgFlk6uhQVtwnL wb4XL5LdFwcNE1+QZzPLcbYWoWQlz0lBw1bMuKAgr0S6V2e0+I0DqhKeslVFctcTwtvT6pnK VLZXO/7ZGAaLzG4K5vSPzgoevU+YI/pxNsVCH2UO/c3jQW63uEt25mIZbCF1Pu4jgp4RhIgF ujn877r/j6OwBwjzRUu3E6ADp+U825d+5YCuQMEH0wIPnn9GTpXvfdKdbwOIl2akqXqs4cnk iATWfK3r6D4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il3Xi vRg5/gzkXnRu8dXeVvMP1Ndk/F5wcoLZlQwFtPfu2xyRYIsveXMoyypAvAFSaAGXU0hRzuDJ fGI3LFvpI9UXU2C4MMzjfyZyD2NJEDKOACTo85QQzxgheTDQaDocXW00wknXFMwEItiXp8dO 2zEml/3Kj4efDfjqGpjNefjK0cnj02Byt7y6GozWXyIylrXu0SN9qWRzUVZH3+q+ijA4q3Gm 9uWzLdpjN4QWAiiaEvMhLPohp9DdLsy3kAWWrA3+pAfHSTZXrobMMbSeBkE9E4/WxdKl0nM7 TNslAWcxkTd/7Ly9cxwT8wFdHuQB1hgCmIQxDNXHL1N1ANTeUYum1w9nUg6e1M0UWu+nk3Cw qL7oL2KZe13mQnU/CFwlhbf+i//j3SXrQLlIVQv9Fn805bxIcVo9yqUZyoiV7EUpvOsxDCZh ej3mNYF5nRCf6trEJQVk0aLC26zJAYExykdUlRqc4I13XPhlt+aFSMMkoL/thYO6e9oNFK6Q aJEKXomzxxqpceJVmPH6zvqJbOboAdE/mOD0PoS1M6saIQ== Message-ID: <77eb8a48-1ac8-af44-943e-958872cf87a4@m5p.com> Date: Sun, 14 Jun 2020 20:02:41 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <0f7dj_8e2z2RpJ2PT45GL6VjrfsZfkh2i_cjhLAPPnv-TZ2QyerCXhoS5dcwN5kbZlvZZCO0RtI3X2P2Lwlu71FauMgBTOzh7uUmb_2GkCE=@protonmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="y5PPbZMz5Co59TlewF5MNe1CDwA6U84w0" X-Spam-Status: No, score=0.2 required=10.0 tests=HELO_MISC_IP,HELO_NO_DOMAIN autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mattapan.m5p.com X-Rspamd-Queue-Id: 49lWk50FhDz3Z5v X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of george@m5p.com designates 74.104.188.4 as permitted sender) smtp.mailfrom=george@m5p.com X-Spamd-Result: default: False [-5.13 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; HAS_ATTACHMENT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.03)[-1.031]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-0.65)[-0.651]; MID_RHS_MATCH_FROM(0.00)[]; DMARC_NA(0.00)[m5p.com]; NEURAL_HAM_MEDIUM(-1.04)[-1.045]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:701, ipnet:74.104.0.0/16, country:US]; TAGGED_FROM(0.00)[freebsd] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2020 00:02:54 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --y5PPbZMz5Co59TlewF5MNe1CDwA6U84w0 Content-Type: multipart/mixed; boundary="AzuS7jxPBvINTMFbOT7tIyhEUec5hYKYY"; protected-headers="v1" From: George Mitchell To: freebsd-hackers@freebsd.org Message-ID: <77eb8a48-1ac8-af44-943e-958872cf87a4@m5p.com> Subject: Re: Jumbled Dependencies (George Mitchell) References: <0f7dj_8e2z2RpJ2PT45GL6VjrfsZfkh2i_cjhLAPPnv-TZ2QyerCXhoS5dcwN5kbZlvZZCO0RtI3X2P2Lwlu71FauMgBTOzh7uUmb_2GkCE=@protonmail.com> In-Reply-To: <0f7dj_8e2z2RpJ2PT45GL6VjrfsZfkh2i_cjhLAPPnv-TZ2QyerCXhoS5dcwN5kbZlvZZCO0RtI3X2P2Lwlu71FauMgBTOzh7uUmb_2GkCE=@protonmail.com> --AzuS7jxPBvINTMFbOT7tIyhEUec5hYKYY Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2020-06-14 16:12, Gladiola via freebsd-hackers wrote: > To troubleshoot this, we might try the following.

1. Record your current state. Before adjusting machines, use pkg version >> someFile.txt to record what package is installed. Look carefully at that list.

2. Check if the clients are calling the repo you expect. pkg.conf will hold a bracket of files. Are you hitting the file or http URL that holds the right stuff? Maybe a simple update there could pull down what you need.

3. The dependencies seem to be missing. Did we try the man page's command for that? Maybe pkg didn't realize it was missing what was needed. pkg check -d -a

4. Before doing anything destructive, like wrecking out or ripping out progams, can you back up those repo items?

REF:
https://www.freebsd.org/cgi/man.cgi?query=3Dpkg&apropos=3D0&sektion=3D= 0&manpath=3DFreeBSD+12.1-RELEASE+and+Ports&arch=3Ddefault&format=3Dhtml

v/r,
gladiola

[...] Speaking only for myself, plain text email is much easier to read than HTML. Thanks for your help. I can confirm that the clients are definitely fetching from my own repo. Also, I run "pkg check -ad" and "pkg check -aB" every time I do anything to my repo. (Also, I'm on FreeBSD 11.3. -- George --AzuS7jxPBvINTMFbOT7tIyhEUec5hYKYY-- --y5PPbZMz5Co59TlewF5MNe1CDwA6U84w0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAl7muqEACgkQwRES3m+p 4fn3PhAAu4KOMN4h/cUQxiwqPDT8Eec+RjudDG3sEmGx5geba8C+PW5qc2j3cBvX oUiqNTmiiHldXBHtfvNtH2N+qe4cYksIt0V73QHZwoDIouDop8HjZnuq1vee09L6 Gjy0k4A+5u2clb3JDU0chFPRbjhdhD+ZRjudE6k+8hWma567ddbk5JkR71WaELXE d3P3Fpuy0l2sBopcB+b+yyQZqgKtnTvGf9Y2NEz0CNkpj8Br6QI7cNmntSbp3IRz RfRoQLqKcQI6f2ulbMn+9BzYPYQUX/Doqe6y6JLlXfiHKw4Um3bPEK8EHjSnuw5J gNQkz8u6nQMC94ea8o3aoIH1OmZpwTQJKJcfJ4q2/z8QN6/MRmes67cvSILUqyh1 /G193InAaEakDEHo883Oxb25L/8Ps99+YLxGK98u5fmW8mvGrkMPJDEws02QKrLa XDHIG+x7FuRlAnkSrMcU83s0zusNH088mqzNImQdmBNaUFblR/CEuQTTpCNHU1b1 WHsW4ud+9Viyms34GnsC+bguvqr1n5sMUHgcUjVeWYrjMHAdisSfGXyb9Uzat1mR c4uKOAFZREStSeerBN/iCnSCRJ4B8qLG1mDS91esEI/dTIvkX54ggGWJ6E7nWfac E8SGNMN3/Fuy0KO8ZyFOjIpWnK7yeva8T1MgiRfYwlQ+DqDzGWE= =q4cK -----END PGP SIGNATURE----- --y5PPbZMz5Co59TlewF5MNe1CDwA6U84w0-- From owner-freebsd-hackers@freebsd.org Mon Jun 15 05:34:22 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7CDFE34FA25; Mon, 15 Jun 2020 05:34:22 +0000 (UTC) (envelope-from owner-freebsd-quarterly-calls@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49lg4Z1rb3z47Fs; Mon, 15 Jun 2020 05:34:22 +0000 (UTC) (envelope-from owner-freebsd-quarterly-calls@freebsd.org) Delivered-To: freebsd-quarterly-calls@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 72D973498D5; Mon, 15 Jun 2020 00:10:01 +0000 (UTC) (envelope-from salvadore@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49lWtK2RGBz3ZZP; Mon, 15 Jun 2020 00:10:01 +0000 (UTC) (envelope-from salvadore@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1472) id 3DFD31D4F4; Mon, 15 Jun 2020 00:10:01 +0000 (UTC) To: freebsd-quarterly-calls@FreeBSD.org Subject: [2 WEEKS LEFT REMINDER] Call for 2020Q2 quarterly status reports Message-Id: <20200615001001.3DFD31D4F4@freefall.freebsd.org> Date: Mon, 15 Jun 2020 00:10:01 +0000 (UTC) From: Lorenzo Salvadore X-Mailman-Approved-At: Mon, 15 Jun 2020 05:34:21 +0000 X-BeenThere: freebsd-quarterly-calls@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list Cc: jhibbits@FreeBSD.org, brooks@FreeBSD.org, dgr@semihalf.com, bsdic@microsoft.com, mikael@FreeBSD.org, mk@semihalf.com, pizzamig@FreeBSD.org, ebrandi@FreeBSD.org, kib@FreeBSD.org, dmgk@FreeBSD.org, rmacklem@freebsd.org, trasz@FreeBSD.org, kp@FreeBSD.org, mw@semihalf.com, kde@FreeBSD.org, linimon@FreeBSD.org, imp@freebsd.org, soc-mentors@FreeBSD.org, andrew@FreeBSD.org, esteban.barrios@trivago.com, info@NomadBSD.org, x11@freebsd.org, gerald@FreeBSD.org, mba@semihalf.com, ar@semihalf.com, dbaio@FreeBSD.org, philip@FreeBSD.org, info@bsdcan.org, rwatson@FreeBSD.org, tuexen@FreeBSD.org, lwhsu@FreeBSD.org, alfonso.siciliano@email.com, soc-students@FreeBSD.org, jhb@FreeBSD.org, xfce@FreeBSD.org, zeising@freebsd.org, pkubaj@FreeBSD.org, markj@FreeBSD.org, mhorne@FreeBSD.org, gbergling@gmail.com, br@FreeBSD.org, whu@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: owner-freebsd-quarterly-calls@freebsd.org Sender: owner-freebsd-quarterly-calls@freebsd.org X-Mailman-Approved-At: Mon, 15 Jun 2020 06:01:47 +0000 X-BeenThere: freebsd-hackers@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2020 05:34:22 -0000 Dear FreeBSD Community, The deadline for the next FreeBSD Quarterly Status update is July, 1st 2020 for work done since the last round of Quarterly Reports: April 2020 - June 2020. I would like to remind you that reports are collected during the last month of every quarter. Status report submissions do not need to be very long. They may be about anything happening in the FreeBSD project and community, and they provide a great way to inform FreeBSD users and developers about work that is underway or has been completed. Report submissions are not limited to committers; anyone doing anything interesting and FreeBSD related can -- and should -- write one! The preferred method is to follow the guidelines at the Quarterly GitHub repository: https://github.com/freebsd/freebsd-quarterly Alternatively you can fetch the Markdown template, fill it in, and email it to quarterly-submissions@FreeBSD.org. The template can be found at: https://raw.githubusercontent.com/freebsd/freebsd-quarterly/master/report-sample.md We look forward to seeing your 2020Q2 reports! Thanks, Lorenzo Salvadore (on behalf of quarterly@) _______________________________________________ freebsd-quarterly-calls@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-quarterly-calls To unsubscribe, send any mail to "freebsd-quarterly-calls-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Thu Jun 18 17:27:30 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E1BB935593E for ; Thu, 18 Jun 2020 17:27:30 +0000 (UTC) (envelope-from sega01@go-beyond.org) Received: from balrog.mythic-beasts.com (balrog.mythic-beasts.com [IPv6:2a00:1098:0:82:1000:0:2:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49npm2152zz3VPG for ; Thu, 18 Jun 2020 17:27:29 +0000 (UTC) (envelope-from sega01@go-beyond.org) Received: from [160.3.200.8] (port=20568 helo=localhost) by balrog.mythic-beasts.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jlyJw-0001iy-BO for freebsd-hackers@freebsd.org; Thu, 18 Jun 2020 18:27:28 +0100 Date: Thu, 18 Jun 2020 17:27:21 +0000 From: Teran McKinney To: freebsd-hackers@freebsd.org Subject: An option to ignore sysctl CTLFLAG_ANYBODY Message-ID: <20200618172721.GA28529@daemon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-BlackCat-Spam-Score: 4 X-Spam-Status: No, score=0.4 X-Rspamd-Queue-Id: 49npm2152zz3VPG X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of sega01@go-beyond.org designates 2a00:1098:0:82:1000:0:2:1 as permitted sender) smtp.mailfrom=sega01@go-beyond.org X-Spamd-Result: default: False [-0.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.39)[-0.391]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1098::82:1000:0:2:1]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[go-beyond.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.93)[-0.927]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_SPAM_SHORT(0.62)[0.616]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:44684, ipnet:2a00:1098::/32, country:GB]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[2a00:1098:0:82:1000:0:2:1:from] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2020 17:27:30 -0000 Dear freebsd-hackers, I apologize if I am using the wrong list for this. I am wondering what the best way is to remove CTLFLAG_ANYBODY behavior on my systems. For my purposes, it's not desirable for any user to be able to adjust certain sysctls. I'd prefer root to be the only one able to adjust sysctl. I've made some attempts at a patch, but so far have managed to block users from doing almost anything in sysctl (sysctl -a will list keys, but sysctl hw.ncpu will say the oid was not found or something like that), or by mistake allow users to set any sysctl under the sun. I generally don't know what I'm doing as it's my first time hacking on the FreeBSD kernel, or any kernel in general for that matter. I was hoping that someone with more experience than myself would take pity or have some kind of zealous hatred to CTRLFLAG_ANYBODY as I do, and join me on my mission to relegate sysctl soley to the God powers of the mighty Root. Perhaps this could be a simple one off patch I apply, a compile time configuration, or a sysctl itself that controls the fate of CTLFLAG_ANYBODY. I'm not sure if that would be sacreligious or not. Thank you for your time. Hopefully as well for your thoughtful advice. Sincerely, Teran From owner-freebsd-hackers@freebsd.org Fri Jun 19 14:14:31 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0CA8734CAD3 for ; Fri, 19 Jun 2020 14:14:31 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49pLQt5ky5z48GX for ; Fri, 19 Jun 2020 14:14:30 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id C325D34CA53; Fri, 19 Jun 2020 14:14:30 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C2CAC34CAD2; Fri, 19 Jun 2020 14:14:30 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49pLQs58WVz48GW; Fri, 19 Jun 2020 14:14:29 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lj1-f175.google.com with SMTP id z9so11635137ljh.13; Fri, 19 Jun 2020 07:14:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:openpgp:autocrypt:message-id :date:user-agent:mime-version:content-language :content-transfer-encoding; bh=11U4qNc0Vc/B3WqcX8fkdSiFDkEJYhaQDSdqVsKnRTg=; b=QRo2vYVGKb4MhoOgF1LJFMJXJ+hEZLUjN/W1z7zT8dZVZFy19SuE6bgyEbvZcUUlwT FoWK3z4UD6mafpkiYNrWh6oxbqBy0qgK1XWjnoxAnVTb//y6OFPx03SqaQ4SM1keOrwR 5ogTm7X0zOx1X6/sE8eNy0ZNlkM8v/VeFocAT1CBEjqMgj7Yj4hrD7hR4NbCgIwg9cp+ 4eQEHYzCNvUg+1hPUgLUkfa1Alt4zVyAFHI41fzOHXK5rksdkbWOv742fmmQAUYfZ5Nw dak7xuhK4d1gQQgMFWWCzXe2Mw9KfI7Md37swjfgTjSV1+mDxFT0T+MNZf+Ao9pX7vZ0 7Jqg== X-Gm-Message-State: AOAM532bctRg7UPfaOzYpZXGd7oM2FROH+pfoo5Fn8vpcrJRGQ4JL2s8 Zmz+ef6ahSbna7m7wZZbO/N1xQDAe78= X-Google-Smtp-Source: ABdhPJwbfJs1lgzXJPVZsolCbvOstthfcZ6Iu8VtVyes/I5MDkx6EzrRnnGSX+taa5BXsFa9J3UQxQ== X-Received: by 2002:a2e:9049:: with SMTP id n9mr1838151ljg.118.1592576066532; Fri, 19 Jun 2020 07:14:26 -0700 (PDT) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id b6sm1653175lfa.54.2020.06.19.07.14.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Jun 2020 07:14:25 -0700 (PDT) To: usb@freebsd.org, FreeBSD Hackers From: Andriy Gapon Subject: driver for cp2112 Openpgp: preference=signencrypt Autocrypt: addr=avg@FreeBSD.org; prefer-encrypt=mutual; keydata= mQINBFm4LIgBEADNB/3lT7f15UKeQ52xCFQx/GqHkSxEdVyLFZTmY3KyNPQGBtyvVyBfprJ7 mAeXZWfhat6cKNRAGZcL5EmewdQuUfQfBdYmKjbw3a9GFDsDNuhDA2QwFt8BmkiVMRYyvI7l N0eVzszWCUgdc3qqM6qqcgBaqsVmJluwpvwp4ZBXmch5BgDDDb1MPO8AZ2Q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7N3OsLDMB56A4Kf+ZT+d5cIx0Yiaf4n6w7m3i ImHHHk9FIetI4Xe54a2IXh4Bq5UkAGY0667eIs+Z1Ea6I2i27Sdo7DxGwq09Qnm/Y65ADvXs 3aBvokCcm7FsM1wky395m8xUos1681oV5oxgqeRI8/76qy0hD9WR65UW+HQgZRIcIjSel9vR XDaD2HLGPTTGr7u4v00UeTMs6qvPsa2PJagogrKY8RXdFtXvweQFz78NbXhluwix2Tb9ETPk LIpDrtzV73CaE2aqBG/KrboXT2C67BgFtnk7T7Y7iKq4/XvEdDWscz2wws91BOXuMMd4c/c4 OmGW9m3RBLufFrOag1q5yUS9QbFfyqL6dftJP3Zq/xe+mr7sbWbhPVCQFrH3r26mpmy841ym dwQnNcsbIGiBASBSKksOvIDYKa2Wy8htPmWFTEOPRpFXdGQ27awcjjnB42nngyCK5ukZDHi6 w0qK5DNQQCkiweevCIC6wc3p67jl1EMFY5+z+zdTPb3h7LeVnGqW0qBQl99vVFgzLxchKcl0 R/paSFgwqXCZhAKMuUHncJuynDOP7z5LirUeFI8qsBAJi1rXpQoLJTVcW72swZ42IdPiboqx NbTMiNOiE36GqMcTPfKylCbF45JNX4nF9ElM0E+Y8gi4cizJYBRr2FBJgay0b9Cp Message-ID: Date: Fri, 19 Jun 2020 17:14:24 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49pLQs58WVz48GW X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.208.175 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-1.11 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; NEURAL_HAM_LONG(-0.58)[-0.584]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-0.70)[-0.697]; NEURAL_SPAM_SHORT(0.17)[0.168]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.175:from]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.175:from]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[93.72.151.96:received] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2020 14:14:31 -0000 If anyone interested in reviewing a new driver please help yourself to: https://reviews.freebsd.org/D25359 https://reviews.freebsd.org/D25360 What might be curious about it is that there are usb, i2c and gpio mixed together. -- Andriy Gapon From owner-freebsd-hackers@freebsd.org Sat Jun 20 04:02:11 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8DEEC3454B6 for ; Sat, 20 Jun 2020 04:02:11 +0000 (UTC) (envelope-from neel@neelc.org) Received: from rainpuddle.neelc.org (rainpuddle.neelc.org [66.42.69.219]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49phnt2WlRz4HQh for ; Sat, 20 Jun 2020 04:02:10 +0000 (UTC) (envelope-from neel@neelc.org) Received: from mail.neelc.org (rainpuddle.neelc.org [IPv6:2001:19f0:8001:fed:5400:2ff:fe73:c622]) by rainpuddle.neelc.org (Postfix) with ESMTPSA id E8768EB493 for ; Fri, 19 Jun 2020 21:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=neelc.org; s=mail; t=1592625722; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3Bbq3RgyO82wfUBVvnaYrKbr8GEXKRE/BMKQ+vnYmzE=; b=bKt7HZuVe0sAXIVjnxFl614unfwWiZP9BSVAKtDcpotBJ1jcPgs+3CEjD4x8f4Mq9hrrdp VIcvKPGYG7imKDxmpB7vBLr86MiWxZYJAsCK3LdRXhm1613FMVpAbjTv5qb63fgiJR195p ySz/yb7Uo7czkrvJmp3jTm6WzKyNLUieDeJFr1nyDqjUs98tTipfYREieRIrrtmvhj+81X xhzEgy8PTHQRpGy3T+m8M/AYQ3sryFgv8rgo/wIAUdRdqNwa3j/mr36DULDOhT1/Xg1H/w Fb9gnRda9KcoEcr2rq2Q0w8b2Zb93Z+w45DMr/5EUaYzIOkrgi5MSFh6fuqjKA== MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 19 Jun 2020 21:02:00 -0700 From: Neel Chauhan To: freebsd-hackers@freebsd.org Subject: Getting patches reviewed as an outside contributor User-Agent: Roundcube Webmail/1.4.2 Message-ID: <5901295552e451c57f7717ea989a7084@neelc.org> X-Sender: neel@neelc.org X-Rspamd-Queue-Id: 49phnt2WlRz4HQh X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=neelc.org header.s=mail header.b=bKt7HZuV; dmarc=pass (policy=none) header.from=neelc.org; spf=pass (mx1.freebsd.org: domain of neel@neelc.org designates 66.42.69.219 as permitted sender) smtp.mailfrom=neel@neelc.org X-Spamd-Result: default: False [-2.90 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[neelc.org:s=mail]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.02)[-1.023]; NEURAL_HAM_MEDIUM(-0.99)[-0.991]; NEURAL_SPAM_SHORT(0.12)[0.118]; DKIM_TRACE(0.00)[neelc.org:+]; DMARC_POLICY_ALLOW(-0.50)[neelc.org,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20473, ipnet:66.42.64.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jun 2020 04:02:11 -0000 Hi, I have many patches, focusing on the TCP/IP stack on Phabricator. Some of them are accepted, but not committed. Most are stuck as needs review. And many of these patches are only a few lines/trivial. For instance, on my Phabricator: * My account: https://reviews.freebsd.org/p/neel_neelc.org/ * My patches: https://reviews.freebsd.org/people/revisions/5933/ Would these patches get reviewed eventually? Is there anything I can do to speed up the process? Or is this something I need to be patient about? In case you get confused I am NOT neel@FreeBSD despite a common first name, only neel@[PERSONAL DOMAIN] where I am sending this email from. -Neel Chauhan https://www.neelc.org/ From owner-freebsd-hackers@freebsd.org Sat Jun 20 18:48:15 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 38456330469 for ; Sat, 20 Jun 2020 18:48:15 +0000 (UTC) (envelope-from alfix86@gmail.com) Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49q4SG4k4Mz4YHn for ; Sat, 20 Jun 2020 18:48:14 +0000 (UTC) (envelope-from alfix86@gmail.com) Received: by mail-wr1-x444.google.com with SMTP id z13so1019261wrw.5 for ; Sat, 20 Jun 2020 11:48:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=O9gQY+IeVIZJmEUnDMoJ3OXXm5ujFJH1ccHUCee75FA=; b=QQYOAzhwcOztbFfSAwF7xiFSc44UNKjURMXXjsc0GhwCqMjSQPP0z07ASRpxtkE2yu sgzvjcb5TYTOOlER0LjGXNlhAzDp/VHF9smHQKIafy+QilaOzzVvUkF+TgspmCSECTiw NSZA4bYkzB0y5sIK2JMbL6NTxenrTIFv9zjk7tqaD5GIBP0ZWHL15QmHj3s0w9mJ/vAA XpZoJYs41TyUfPsPzWul9Ou3zUAPhsXFwneQFpnShx3b7Y+clR1+CxhtvS+w93JjLkSA ky3KCjhMUvxJiSRnT/+KFgH4GwtM3rJLr34iBiwKtnr38fUeie/+G2vObtwjng5eMe8f NqPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=O9gQY+IeVIZJmEUnDMoJ3OXXm5ujFJH1ccHUCee75FA=; b=DPRzVWJWJf97gDIpYSXk276eW/K3H2S6sdARFmqNnqu9NbE4RfUwaBQDyn4E01N2y+ MkvIJgG2UunqZM4pUvS0VOTduEKm71ZRDR2uz+bk7hP7VrbZ2Us5DIFjLHVGLt5LSLkz Om5jAS+4gBV3+4KecKT+dsTor3n/68fuQsDkw/6Q0bXInRWihqZPzPY1oDu1NklDqF9N Tz2/O3cX327K3leOf3/B1z4dkzzew92CYfZzQVYWxIlb2/h4beKH9B0gCJcXQ4HIs3vM PXk3NhHOzad6LslepqoPI9UcyR3a9Tf+Pihe3eISmXKe1MtMq3x5pnnDZ2/qXi8dynOk rH6A== X-Gm-Message-State: AOAM532LQ1oMs2ld1uttP3fLra2Mihouyf8IBktbfq4IUPiPJCDIKVLn 6lpqpB+ujFrZUO6mncgMHgKNdscl X-Google-Smtp-Source: ABdhPJwyjgfnjEhRqz1VsuhM1yTaxJcdyjrNrIYHYa5GaeK6LLPVxha5ZFI96uWJ6wWtylBa6rSBcw== X-Received: by 2002:adf:80e6:: with SMTP id 93mr10004615wrl.17.1592678892518; Sat, 20 Jun 2020 11:48:12 -0700 (PDT) Received: from alfdeb (host-79-18-159-44.retail.telecomitalia.it. [79.18.159.44]) by smtp.gmail.com with ESMTPSA id l17sm9080825wmh.14.2020.06.20.11.48.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jun 2020 11:48:11 -0700 (PDT) Date: Sat, 20 Jun 2020 20:48:10 +0200 From: Alfonso Siciliano To: freebsd-hackers@freebsd.org Subject: Re: An option to ignore sysctl CTLFLAG_ANYBODY Message-Id: <20200620204810.89d433d1905cfb03dae1db74@gmail.com> In-Reply-To: <20200618172721.GA28529@daemon> References: <20200618172721.GA28529@daemon> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49q4SG4k4Mz4YHn X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=QQYOAzhw; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of alfix86@gmail.com designates 2a00:1450:4864:20::444 as permitted sender) smtp.mailfrom=alfix86@gmail.com X-Spamd-Result: default: False [-2.79 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.33)[-0.329]; RECEIVED_SPAMHAUS_PBL(0.00)[79.18.159.44:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.94)[-0.941]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.019]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::444:from]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jun 2020 18:48:15 -0000 On Thu, 18 Jun 2020 17:27:21 +0000 Teran McKinney wrote: > Dear freebsd-hackers, > > I apologize if I am using the wrong list for this. > > I am wondering what the best way is to remove CTLFLAG_ANYBODY > behavior on my systems. For my purposes, it's not desirable for any > user to be able to adjust certain sysctls. I'd prefer root to be > the only one able to adjust sysctl. Hi Teran, I had a look at kern_sysctl.c, you could recompile the kernel changing: https://github.com/freebsd/freebsd/blob/master/sys/kern/kern_sysctl.c#L2122 from /* Is this sysctl writable by only privileged users? */ if (req->newptr && !(oid->oid_kind & CTLFLAG_ANYBODY)) { to /* Is this sysctl writable? */ if (req->newptr) { so, sysctl(3) has to call/check priv_check() every time you pass a new value. > I generally don't know what I'm doing as it's my first time hacking > on the FreeBSD kernel, or any kernel in general for that matter. Another (silly :D) solution is a kernel module (nice for training): it could explore the MIB to set CTLFLAG_ANYBODY to 0 for each object. Happy Hacking, Alfonso --- Alfonso S. Siciliano http://alfix.gitlab.io From owner-freebsd-hackers@freebsd.org Sat Jun 20 19:38:19 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5F459332B9D for ; Sat, 20 Jun 2020 19:38:19 +0000 (UTC) (envelope-from sega01@go-beyond.org) Received: from haggis.mythic-beasts.com (haggis.mythic-beasts.com [IPv6:2a00:1098:0:86:1000:0:2:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49q5Z24FtWz4g8L for ; Sat, 20 Jun 2020 19:38:18 +0000 (UTC) (envelope-from sega01@go-beyond.org) Received: from [160.3.200.8] (port=57183 helo=localhost) by haggis.mythic-beasts.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jmjJf-0004QY-QA; Sat, 20 Jun 2020 20:38:16 +0100 Date: Sat, 20 Jun 2020 19:38:12 +0000 From: Teran McKinney To: Alfonso Siciliano Cc: freebsd-hackers@freebsd.org Subject: Re: An option to ignore sysctl CTLFLAG_ANYBODY Message-ID: <20200620193812.GB52749@daemon> References: <20200618172721.GA28529@daemon> <20200620204810.89d433d1905cfb03dae1db74@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200620204810.89d433d1905cfb03dae1db74@gmail.com> X-BlackCat-Spam-Score: 4 X-Spam-Status: No, score=0.4 X-Rspamd-Queue-Id: 49q5Z24FtWz4g8L X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of sega01@go-beyond.org designates 2a00:1098:0:86:1000:0:2:1 as permitted sender) smtp.mailfrom=sega01@go-beyond.org X-Spamd-Result: default: False [-2.77 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.91)[-0.906]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1098::86:1000:0:2:1]; NEURAL_HAM_LONG(-1.05)[-1.053]; MIME_GOOD(-0.10)[text/plain]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_NA(0.00)[go-beyond.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.91)[-0.915]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:44684, ipnet:2a00:1098::/32, country:GB]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[2a00:1098:0:86:1000:0:2:1:from] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jun 2020 19:38:19 -0000 On 2020-06-20 20-48-10 , Alfonso Siciliano wrote: > Hi Teran, > > I had a look at kern_sysctl.c, you could recompile the kernel changing: > https://github.com/freebsd/freebsd/blob/master/sys/kern/kern_sysctl.c#L2122 > > from > /* Is this sysctl writable by only privileged users? */ > if (req->newptr && !(oid->oid_kind & CTLFLAG_ANYBODY)) { > to > /* Is this sysctl writable? */ > if (req->newptr) { > > so, sysctl(3) has to call/check priv_check() every time you pass a new value. > > > I generally don't know what I'm doing as it's my first time hacking > > on the FreeBSD kernel, or any kernel in general for that matter. > > Another (silly :D) solution is a kernel module (nice for training): > it could explore the MIB to set CTLFLAG_ANYBODY to 0 for each object. > > > Happy Hacking, > > Alfonso Hi Alfonso, I appreciate your reply! I have tried that and it does work. The problem is that even a simple read call like `sysctl hw.ncpu` will return an error for non-root users. Which, while not essential, would be nice to keep. My current workaround, which behaves exactly the same way, is setting CTLFLAG_ANYBODY to 0. That function always returns true in that case. Interesting idea about the kernel module. Sincerely, Teran