From owner-freebsd-pkg@freebsd.org Sun Jun 28 21:00:27 2020 Return-Path: Delivered-To: freebsd-pkg@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 3DA54355323 for ; Sun, 28 Jun 2020 21:00:27 +0000 (UTC) (envelope-from bugzilla-noreply@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 49w3170zWRz3Zxx for ; Sun, 28 Jun 2020 21:00:27 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2191E355235; Sun, 28 Jun 2020 21:00:27 +0000 (UTC) Delivered-To: pkg@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 21598355234 for ; Sun, 28 Jun 2020 21:00:27 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49w317069Lz3b33 for ; Sun, 28 Jun 2020 21:00:27 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DCBD71C26B for ; Sun, 28 Jun 2020 21:00:26 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05SL0Qbx014453 for ; Sun, 28 Jun 2020 21:00:26 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05SL0Qg9014452 for pkg@FreeBSD.org; Sun, 28 Jun 2020 21:00:26 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202006282100.05SL0Qg9014452@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: pkg@FreeBSD.org Subject: Problem reports for pkg@FreeBSD.org that need special attention Date: Sun, 28 Jun 2020 21:00:26 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2020 21:00:27 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 220049 | ports-mgmt/pkg installs unneeded packages Open | 237369 | ports-mgmt/pkg: pkg delete removes required NLS d New | 245204 | ports-mgmt/pkg: pkg(8) install new package versio 3 problems total for which you should take action. From owner-freebsd-pkg@freebsd.org Wed Jul 1 13:49:05 2020 Return-Path: Delivered-To: freebsd-pkg@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 2A74E352CCE for ; Wed, 1 Jul 2020 13:49:05 +0000 (UTC) (envelope-from bugzilla-noreply@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 49xjJ10JRwz4WGG for ; Wed, 1 Jul 2020 13:49:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0A688352D24; Wed, 1 Jul 2020 13:49:05 +0000 (UTC) Delivered-To: pkg@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 0A27635293E for ; Wed, 1 Jul 2020 13:49:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49xjJ06XkRz4WPm for ; Wed, 1 Jul 2020 13:49:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C41B09C74 for ; Wed, 1 Jul 2020 13:49:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 061Dn4TN084364 for ; Wed, 1 Jul 2020 13:49:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 061Dn47C084363 for pkg@FreeBSD.org; Wed, 1 Jul 2020 13:49:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 245292] ports-mgmt/pkg-1.14.0 fails pkg install Date: Wed, 01 Jul 2020 13:49:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: lwhsu@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2020 13:49:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245292 Li-Wen Hsu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lwhsu@FreeBSD.org Assignee|ports-bugs@FreeBSD.org |pkg@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-pkg@freebsd.org Thu Jul 2 09:53:15 2020 Return-Path: Delivered-To: freebsd-pkg@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 6494434FA5A for ; Thu, 2 Jul 2020 09:53:15 +0000 (UTC) (envelope-from bounces+17298552-2e16-pkg=freebsd.org@em9368.qdjfcd.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49yD1N6MDlz4b04 for ; Thu, 2 Jul 2020 09:53:12 +0000 (UTC) (envelope-from bounces+17298552-2e16-pkg=freebsd.org@em9368.qdjfcd.com) Received: by mailman.nyi.freebsd.org (Postfix) id E282D34FED3; Thu, 2 Jul 2020 09:53:09 +0000 (UTC) Delivered-To: pkg@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 E20EC34FBE2 for ; Thu, 2 Jul 2020 09:53:09 +0000 (UTC) (envelope-from bounces+17298552-2e16-pkg=freebsd.org@em9368.qdjfcd.com) Received: from wrqvprdh.outbound-mail.sendgrid.net (wrqvprdh.outbound-mail.sendgrid.net [149.72.53.208]) (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 49yD1H1PQjz4Zw8 for ; Thu, 2 Jul 2020 09:53:06 +0000 (UTC) (envelope-from bounces+17298552-2e16-pkg=freebsd.org@em9368.qdjfcd.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qdjfcd.com; h=from:to:subject:mime-version:content-type; s=s1; bh=SQIqUp7FCtXYvSN3Zypz9imOL5ITgbaFLeWdA1VfgkY=; b=VIJbEOh5Ef+B2 Lda/O9ggiWZeV6t30jgsUKxJLNrK3FC0CB/TOK6OpIyJCeR7QFU7UI+0v8jxwArW uF4NcHrdqgn0GCUDGZA/1kqUio04w17k/Mnq7e/K/zXWvGovWYpxU1s7YCXvOl2c eHnyo6GY+OLat1y3lGZnuBw+00cTvY= Received: by filter1191p1las1.sendgrid.net with SMTP id filter1191p1las1-20653-5EFDAE80-F 2020-07-02 09:53:04.682821968 +0000 UTC m=+210815.297442971 Received: from nbrrzhx (unknown) by ismtpd0002p1maa1.sendgrid.net (SG) with ESMTP id CJhh2b1cR42bg8jKizyZCA for ; Thu, 02 Jul 2020 09:53:03.764 +0000 (UTC) From: Amazon To: pkg Subject: =?utf-8?B?5pSv5omV5pa55rOV44Gu5oOF5aCx44KS5pu05paw44GZ44KL?= Date: Thu, 02 Jul 2020 09:53:04 +0000 (UTC) Message-ID: <00ca681d5f14$c1f72099$f31d558a$@nbrrzhx> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 X-SG-EID: NRS0f6jgJKiECnChjxAIu0Gr/cxjh9K/0bHX0QHmGyz0gVtw16RTbPexqwHVlEeO6+mspAu3k4OgBK UbTQTQHYKBFSyjGC1Ufbd7DyVfPwFH23e5+qvasIjOdymkaNoHBvSgxItxThwkHdA6Uhl4jBOVLQyq K67pjvRiXZd7TyRq4NRFs6mmSvOqhbNZWG9pa7O5EodNByoUu3VJWIfomQ== X-Rspamd-Queue-Id: 49yD1H1PQjz4Zw8 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=qdjfcd.com header.s=s1 header.b=VIJbEOh5; dmarc=none; spf=pass (mx1.freebsd.org: domain of bounces@em9368.qdjfcd.com designates 149.72.53.208 as permitted sender) smtp.mailfrom=bounces@em9368.qdjfcd.com X-Spamd-Result: default: False [4.62 / 15.00]; REDIRECTOR_FALSE(0.00)[amazon.co.jp->sendgrid.net]; R_SPF_ALLOW(0.00)[+ip4:149.72.53.208:c]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[qdjfcd.com:+]; MIME_BASE64_TEXT(0.10)[]; FORGED_SENDER(0.30)[Amazon@qdjfcd.com,bounces@em9368.qdjfcd.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11377, ipnet:149.72.32.0/19, country:US]; TAGGED_FROM(0.00)[17298552-2e16-pkg=freebsd.org]; FROM_NEQ_ENVFROM(0.00)[Amazon@qdjfcd.com,bounces@em9368.qdjfcd.com]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[qdjfcd.com:s=s1]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.27)[0.269]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[pkg@freebsd.org]; DMARC_NA(0.00)[qdjfcd.com]; URIBL_GREY(1.50)[sendgrid.net:url]; RCPT_COUNT_ONE(0.00)[1]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_MEDIUM(0.96)[0.960]; NEURAL_SPAM_LONG(0.99)[0.989]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2020 09:53:15 -0000 DQogDQrjgrXjgqTjg7PjgqTjg7PjgYzmpJzlh7rjgZXjgozjgb7jgZfjgZ8NCg0KDQoNCuWwiuaV rOOBmeOCi+WuouanmOOAgeaWsOOBl+OBhOODh+ODkOOCpOOCueOBi+OCieOBiuWuouanmOOBruOC ouOCq+OCpuODs+ODiOOBuOOBruOCteOCpOODs+OCpOODs+OBjOaknOWHuuOBleOCjOOBvuOBl+OB n+OAgg0KDQrml6XmmYI6IEp1bCAyLCAyMDIwIDE4OjUzOjAzIEphcGFuIFN0YW5kYXJkIFRpbWUg DQrjg4fjg5DjgqTjgrk6IE1pY3Jvc29mdCBJbnRlcm5ldCBFeHBsb3JlciBXaW5kb3dzICjjg4fj grnjgq/jg4jjg4Pjg5cpIA0K5LuY6L+ROiBKYXBhbiANCg0KDQrjgZPjgozjgYzjgYrlrqLmp5jj gZToh6rouqvjgavjgojjgovmk43kvZzjgaDjgaPjgZ/loLTlkIjjgIHjgZPjga7jg6Hjg4Pjgrvj g7zjgrjjga/nhKHoppbjgZfjgabjgY/jgaDjgZXjgYTjgIIg44Gd44GG44Gn44Gq44GE5aC05ZCI 44Gv44CB44GK55+l44KJ44Gb44GP44Gg44GV44GE44CCDQoNCiAxLiDjgqLjgqvjgqbjg7Pjg4jj grXjg7zjg5PjgrnjgYvjgolBbWF6b27jg5fjg6njgqTjg6DkvJrlk6Hmg4XloLHjgpLnrqHnkIbj gZnjgovjgavjgqLjgq/jgrvjgrnjgZfjgb7jgZnjgIINCjIuIEFtYXpvbuODl+ODqeOCpOODoOOB q+eZu+mMsuOBl+OBn0FtYXpvbi5jby5qcOOBruOCouOCq+OCpuODs+ODiOOCkuS9v+eUqOOBl+OB puOCteOCpOODs+OCpOODs+OBl+OBvuOBmeOAgiANCjMuIOW3puWBtOOBq+ihqOekuuOBleOCjOOB puOBhOOCi+OAjOePvuWcqOOBruaUr+aJleaWueazleOAjeOBruS4i+OBq+OBguOCi+OAjOaUr+aJ leaWueazleOCkuWkieabtOOBmeOCi+OAjeOBruODquODs+OCr+OCkuOCr+ODquODg+OCr+OBl+OB vuOBmeOAgg0KDQo0LiDmnInlirnmnJ/pmZDjga7mm7TmlrDjgb7jgZ/jga/mlrDjgZfjgYTjgq/j g6zjgrjjg4Pjg4jjgqvjg7zjg4nmg4XloLHjgpLlhaXlipvjgZfjgabjgY/jgaDjgZXjgYTjgIIN Cg0KDQpBbWF6b27jg5fjg6njgqTjg6DjgpLntpnntprjgZfjgabjgZTliKnnlKjjgYTjgZ/jgaDj gY/jgZ/jgoHjgavjgIHkvJrosrvjga7jgYrmlK/miZXjgYTjgavjgZTmjIflrprjgYTjgZ/jgaDj gYTjgZ/jgq/jg6zjgrjjg4Pjg4jjgqvjg7zjg4njgYzkvb/nlKjjgafjgY3jgarjgYTloLTlkIjj ga/jgIHjgqLjgqvjgqbjg7Pjg4jjgavnmbvpjLLjgZXjgozjgabjgYTjgovliKUg44Gu44Kv44Os 44K444OD44OI44Kr44O844OJ44Gr5Lya6LK744KS6KuL5rGC44GV44Gb44Gm6aCC44GN44G+44GZ 44CC5Lya6LK744Gu6KuL5rGC44GM5Ye65p2l44Gq44GE5aC05ZCI44Gv44CB44GK5a6i5qeY44Gu QW1hem9u44OX44Op44Kk44Og5Lya5ZOh6LOH5qC844Gv5aSx5Yq544GX44CB54m55YW444KS44GU 5Yip55So44Gn44GN44Gq44GP44Gq44KK44G+44GZ44CCDQoNCkFtYXpvbi5jby5qcOOCq+OCueOC v+ODnuODvOOCteODvOODk+OCuQ0KDQrmlK/miZXmlrnms5Xjga7mg4XloLHjgpLmm7TmlrDjgZnj gosgDQrms6jmhI/vvJrmnKzpgJrnn6Xjg6Hjg7zjg6vjga/pgIHkv6HlsILnlKjjgqLjg4njg6zj grnjgafpgIHkv6HjgZfjgabjgYrjgorjgb7jgZnjgILov5Tkv6HjgYTjgZ/jgaDjgYTjgabjgoLl j5fkv6HjgafjgY3jgb7jgZvjgpPjga7jgafjgZTkuobmib/kuIvjgZXjgYTjgILjgZPjga7jg6Hj g4Pjgrvjg7zjgrjjga9wa2dAZnJlZWJzZC5vcmcg44Gr6YCB5L+h44GV44KM44G+44GX44Gf44CC IA0KDQoNCg0K From owner-freebsd-pkg@freebsd.org Fri Jul 3 16:52:34 2020 Return-Path: Delivered-To: freebsd-pkg@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 484BB3544C5 for ; Fri, 3 Jul 2020 16:52:34 +0000 (UTC) (envelope-from bugzilla-noreply@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 49z1Gp1Gtnz4W2x for ; Fri, 3 Jul 2020 16:52:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2BBCE3544C4; Fri, 3 Jul 2020 16:52:34 +0000 (UTC) Delivered-To: pkg@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 2B85535438D for ; Fri, 3 Jul 2020 16:52:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49z1Gp0NWmz4Vm2 for ; Fri, 3 Jul 2020 16:52:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E4F02E875 for ; Fri, 3 Jul 2020 16:52:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 063GqXcV018901 for ; Fri, 3 Jul 2020 16:52:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 063GqXBw018899 for pkg@FreeBSD.org; Fri, 3 Jul 2020 16:52:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 234807] ports-mgmt/pkg does not respect CONFLICTS_INSTALL Date: Fri, 03 Jul 2020 16:52:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: lwhsu@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2020 16:52:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234807 Li-Wen Hsu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lwhsu@FreeBSD.org Status|New |Open --- Comment #2 from Li-Wen Hsu --- I think what mfechner@ means is the conflict happens at the run time, not during the install time so pkg will not know about it. Having a way to manually mark the ports conflict (carefully) might be a good idea. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-pkg@freebsd.org Sat Jul 4 14:14:18 2020 Return-Path: Delivered-To: freebsd-pkg@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 59A0E34F47F for ; Sat, 4 Jul 2020 14:14:18 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49zYjk0qfPz3Vpw for ; Sat, 4 Jul 2020 14:14:18 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1A49134ECE6; Sat, 4 Jul 2020 14:14:18 +0000 (UTC) Delivered-To: pkg@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 1A05734F7DD for ; Sat, 4 Jul 2020 14:14:18 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) (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 49zYjh6pRpz3VkL for ; Sat, 4 Jul 2020 14:14:16 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qt1-x843.google.com with SMTP id z2so25832830qts.5 for ; Sat, 04 Jul 2020 07:14:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=Emk/auWKS3Es8pUyHFYPSsv+b37IwlY4KMcnv27okJQ=; b=jT4RJtzxQooCSyl7x+5vABwIgibbowOcuRy3tTZVsh7CMNvwBbGfPf2j0vty4vzfZB hAA+XA+ecupBJ6pzjAWg2XEqWjSUPODnECe7qKcrbV4QtEJnxo4c+KxlZZR66Hf8/Rqj qqt42EW7insTG4JHysYoderrSuYb9ree0pMHlRjqsx07dn0WZGv1mVH7ICp9WO8iNcb8 +ZEa80pPr+zbNZ77pzUPluAcrXVPjat4poBrK8nyXceLv65qE1ZNYAqMyLn++de958+S dy/NGiEi60J/1dIQXK1Zs4m4mAGG1xTVD8q6XkLxddr1z26x8Ik4D215Wmtu/cHdzWMR NZgg== 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:cc:subject:message-id:mime-version :content-disposition; bh=Emk/auWKS3Es8pUyHFYPSsv+b37IwlY4KMcnv27okJQ=; b=hOwdQWDfcGUZOwkeDzK9V/g0ivLVufBrZtpgwTYjSGB82Ww2PZC4PpjeYeCqSTYfI2 4txLSF48+OAzOCvYxkKmyT4wp8ITSvZLFArV8PA+fzIul/QFMnIczAeLeNsVGX/un91F irmbah7jDb/t5Pjag3j/IP7y3pr9D2kuhyWlwXFcIidgf1O6fcJx7dwIPe1lXnb4S/KO QMIFwe5z/Iq/pLDWrH9qvkCiaIdbeVTmJSoC7vJFgKlLrQpUSAlVkVgeNi65GHL4BL0z mUkUSTg+sljooH5/AOdlZLDZkKLhEy14kzFsKAZMBrFTdgokuHKOKIVn7Hh5pKj1bkiW 7FMg== X-Gm-Message-State: AOAM53288AZ9hZony/6tdLVm8JM901s5fkLgW4gngU3C05mB0P28ijg+ rha+GcmqdYHTGIiZsGW0GQDhkX01rnIjF867xnj15jBXocuGgX/8nmJDk1IVj4KdSFPipinJccm LXHaFdA9G8Mks0sPQ0bNZAQSTJc6rNpOtqGMNj5Y5RJq3ufKvrB6sub6gkaRnOW5OPTv8kw== X-Google-Smtp-Source: ABdhPJxpDfN8hKqYxGUNGLpdQ3S6fcIhUX54ehbUvWQrr9fT17Ccg0MzsU1uirT2h3De8f/EOGOrJA== X-Received: by 2002:ac8:22cd:: with SMTP id g13mr42183614qta.100.1593872055432; Sat, 04 Jul 2020 07:14:15 -0700 (PDT) Received: from mutt-hbsd (pool-100-16-231-224.bltmmd.fios.verizon.net. [100.16.231.224]) by smtp.gmail.com with ESMTPSA id v10sm14355962qtk.14.2020.07.04.07.14.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Jul 2020 07:14:14 -0700 (PDT) Date: Sat, 4 Jul 2020 10:13:45 -0400 From: Shawn Webb To: pkg@freebsd.org Cc: dev@hardenedbsd.org Subject: Filesystem extended attributes support Message-ID: <20200704141345.xwdf2ckxak2hfpkh@mutt-hbsd> X-Operating-System: FreeBSD mutt-hbsd 13.0-CURRENT-HBSD FreeBSD 13.0-CURRENT-HBSD X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0xFF2E67A277F8E1FA MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mmsvrmd4pasf3ghv" Content-Disposition: inline X-Rspamd-Queue-Id: 49zYjh6pRpz3VkL X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hardenedbsd.org header.s=google header.b=jT4RJtzx; dmarc=none; spf=pass (mx1.freebsd.org: domain of shawn.webb@hardenedbsd.org designates 2607:f8b0:4864:20::843 as permitted sender) smtp.mailfrom=shawn.webb@hardenedbsd.org X-Spamd-Result: default: False [-5.06 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[hardenedbsd.org:s=google]; NEURAL_HAM_MEDIUM(-0.99)[-0.991]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.001]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[pkg@freebsd.org]; TO_DN_NONE(0.00)[]; HAS_ATTACHMENT(0.00)[]; DMARC_NA(0.00)[hardenedbsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[hardenedbsd.org:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::843:from]; NEURAL_HAM_SHORT(-0.97)[-0.971]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:+,4:~]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[100.16.231.224:received] X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2020 14:14:18 -0000 --mmsvrmd4pasf3ghv Content-Type: multipart/mixed; boundary="bbelxb2uxmln7nal" Content-Disposition: inline --bbelxb2uxmln7nal Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey FreeBSD pkg(8) developers, Attached is a patch that implements filesystem extended attributes support. Only the system namespace is supported. In case the patch gets scrubbed from this email, I've posted it here: https://gist.github.com/d0b4653bc5942dbcdcd1db877d37c2dc Anyone who wants to write unit tests is welcomed to do so. This patch to pkg does depend on a separate patch to libarchive: https://github.com/libarchive/libarchive/pull/1409 HardenedBSD has a separate patch to tmpfs that enables incredibly basic extended attribute support. The tmpfs patch is only needed for those who use tmpfs with poudriere. And finally, another patch to the jails subsystem that allows a privileged user within a jail to set system namespace filesystem extended attributes (disabled by default) is needed for poudriere users. The patch to tmpfs and jails is not included here as they are tangential. Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD GPG Key ID: 0xFF2E67A277F8E1FA GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9 3633 C85B 0AF8 AB23 0FB2 https://git-01.md.hardenedbsd.org/HardenedBSD/pubkeys/src/branch/master/Sha= wn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --bbelxb2uxmln7nal Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pkg.patch.txt" Content-Transfer-Encoding: quoted-printable diff --git a/libpkg/Makefile.autosetup b/libpkg/Makefile.autosetup index ae722976..77854f16 100644 --- a/libpkg/Makefile.autosetup +++ b/libpkg/Makefile.autosetup @@ -42,7 +42,8 @@ SRCS=3D backup.c \ pkg_repo_create.c \ pkg_version.c \ rcscripts.c \ - flags.c + flags.c \ + extattr.c =20 LOCAL_CFLAGS=3D -I$(top_srcdir)/compat \ -I$(top_srcdir)/external/blake2 \ diff --git a/libpkg/extattr.c b/libpkg/extattr.c new file mode 100644 index 00000000..00618787 --- /dev/null +++ b/libpkg/extattr.c @@ -0,0 +1,119 @@ +/*- + * Copyright (c) 2020 Shawn Webb + *=20 + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer + * in this position and unchanged. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + *=20 + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTI= ES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF US= E, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "pkg.h" +#include "private/event.h" +#include "private/pkg.h" + +int +pkg_archive_extattrs(int fd, struct archive_entry *entry) +{ + const char *nameprefix =3D "system."; + char *endp, *name, *names, *namep; + ssize_t datasize, listsize; + int err, namespace; + uint8_t namesize; + void *attrdata; + + err =3D EPKG_OK; + attrdata =3D NULL; + names =3D NULL; + + namespace =3D EXTATTR_NAMESPACE_SYSTEM; + + listsize =3D extattr_list_fd(fd, namespace, NULL, 0); + if (listsize < 0) { + return (EPKG_OK); + } + + if (listsize =3D=3D 0) { + return (EPKG_OK); + } + + names =3D calloc(listsize, 1); + if (names =3D=3D NULL) { + return (EPKG_OK); + } + + if (extattr_list_fd(fd, namespace, names, listsize) !=3D + listsize) { + goto end; + } + endp =3D names + (size_t)listsize; + for (namep =3D names; namep < endp; namep +=3D namesize) { + namesize =3D *((uint8_t *)(namep)); + name =3D calloc(strlen(nameprefix) + namesize+1, 1); + if (name =3D=3D NULL) { + goto end; + } + namep +=3D sizeof(uint8_t); + strcpy(name, nameprefix); + strncat(name, namep, namesize); + + datasize =3D extattr_get_fd(fd, namespace, name+strlen(nameprefix), NULL= , 0); + if (datasize < 0) { + free(name); + continue; + } + + attrdata =3D calloc(1, (size_t)datasize); + if (attrdata =3D=3D NULL) { + free(name); + goto end; + } + + if (extattr_get_fd(fd, namespace, name+strlen(nameprefix), attrdata, + datasize) !=3D datasize) { + perror("extattr_get_fd"); + free(name); + free(attrdata); + goto end; + } + + archive_entry_xattr_add_entry(entry, name, attrdata, + datasize); + + free(name); + free(attrdata); + } + +end: + free(names); + return (EPKG_OK); +} diff --git a/libpkg/packing.c b/libpkg/packing.c index 1e0e35b1..7424aa11 100644 --- a/libpkg/packing.c +++ b/libpkg/packing.c @@ -232,17 +232,21 @@ packing_append_file_attr(struct packing *pack, const = char *filepath, if (sparse_entry !=3D NULL && entry =3D=3D NULL) entry =3D sparse_entry; =20 - archive_write_header(pack->awrite, entry); - - if (archive_entry_size(entry) <=3D 0) - goto cleanup; - if ((fd =3D open(filepath, O_RDONLY)) < 0) { pkg_emit_errno("open", filepath); retcode =3D EPKG_FATAL; goto cleanup; } =20 + pkg_archive_extattrs(fd, entry); + + archive_write_header(pack->awrite, entry); + + if (archive_entry_size(entry) <=3D 0) { + close(fd); + goto cleanup; + } + while ((len =3D read(fd, buf, sizeof(buf))) > 0) { if (archive_write_data(pack->awrite, buf, len) =3D=3D -1) { pkg_emit_errno("archive_write_data", "archive write error"); diff --git a/libpkg/pkg_add.c b/libpkg/pkg_add.c index a2170bdc..dbf04f1e 100644 --- a/libpkg/pkg_add.c +++ b/libpkg/pkg_add.c @@ -43,6 +43,9 @@ #include #include =20 +#include +#include + #include "pkg.h" #include "private/event.h" #include "private/utils.h" @@ -526,6 +529,9 @@ create_regfile(struct pkg *pkg, struct pkg_file *f, str= uct archive *a, bool tried_mkdir =3D false; size_t len; char buf[32768]; + const char *attrname; + void *attrval; + size_t attrsz; =20 pkg_hidden_tempfile(f->temppath, sizeof(f->temppath), f->path); =20 @@ -572,6 +578,25 @@ retry: } } =20 + if (archive_entry_xattr_reset(ae)) { + attrname =3D NULL; + attrval =3D NULL; + attrsz =3D 0; + + while (archive_entry_xattr_next(ae, &attrname, + &attrval, &attrsz) =3D=3D ARCHIVE_OK) { + assert(attrname !=3D NULL); + assert(attrval !=3D NULL); + assert(attrsz > 0); + + if (!strncmp(attrname, "system.", 7)) { + extattr_set_fd(fd, + EXTATTR_NAMESPACE_SYSTEM, + attrname+7, attrval, attrsz); + } + } + } + if (!f->config && archive_read_data_into_fd(a, fd) !=3D ARCHIVE_OK) { pkg_emit_error("Fail to extract %s from package: %s", f->path, archive_error_string(a)); diff --git a/libpkg/private/pkg.h b/libpkg/private/pkg.h index e9021ed8..0826c515 100644 --- a/libpkg/private/pkg.h +++ b/libpkg/private/pkg.h @@ -881,4 +881,7 @@ struct pkg_dep* pkg_adddep_chain(struct pkg_dep *chain, void backup_library(struct pkgdb *, struct pkg *, const char *); int suggest_arch(struct pkg *, bool); =20 +/* Filesystem extended attribute support */ +int pkg_archive_extattrs(int, struct archive_entry *); + #endif --bbelxb2uxmln7nal-- --mmsvrmd4pasf3ghv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAl8AjpMACgkQ/y5nonf4 4foXtBAApcSQPTsPc9UFKt/OghfIfAgIRjluJ5hwv/kpRthlklnpK99DQbStqiPD 8mhd/3hP9EqMsV7DhW8RY4+aM1fg5qKYr6aIHUjRGyICbj9EHKYjGQVcA5Nm4qEw bsyzwNoY+E/4d6c3WAx1Wqd86gWX0H6hu6R9q2du7Xt8j9fZ91Dw3AKFaw7WpbHH gIPq/P9f71JO/wdOkLcW7D9cCcg5VM+0RWTEAmZvAq1xZ7GhXupBfYMPsaKuyIEa wNVp+WupgTOobtFH2EvAaBFggDTJiQHqbV/sodw8frGRCd4d1GNN032O117tM0h5 PSfw15GH2MQ1jJGq9AfS391CdlZJZOnsEt+jLV4zt6lWX9WzeA/gkV48Ls4Yg+BV U4U16jszrYlNZ+PgkhY0eqWt7IcQX7WUOn8FsJg0K1ajintHJwRqUr9JByscankb Jtd8+7Fjku/vdyp51NLDJ3kXyr5fqHOhtlhAOb3IzdEqMtmaqMgS9pvwyDRiHCAu 0l1/DE9zmjtxWbijG3J8e7XPZ0Hc5XJAlTzetjWP2X6wllQ5EbKbaGfJ6ai4USFD SKReYNQSbtaGNpFroNE990mCd0XKySz7W3NWyktGEi0PNJjUZ/hphF4YeztIClAE R6ZUaHY4tQr+GE+SIumF2WAkDIyH9flV8S4wAP9gtfNIJnu87AA= =G+lu -----END PGP SIGNATURE----- --mmsvrmd4pasf3ghv-- From owner-freebsd-pkg@freebsd.org Sat Jul 4 20:11:02 2020 Return-Path: Delivered-To: freebsd-pkg@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 EFD8335763B for ; Sat, 4 Jul 2020 20:11:02 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49zjdL67Kbz462s for ; Sat, 4 Jul 2020 20:11:02 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id D2419357724; Sat, 4 Jul 2020 20:11:02 +0000 (UTC) Delivered-To: pkg@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 D208A357257 for ; Sat, 4 Jul 2020 20:11:02 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49zjdL57g2z460c; Sat, 4 Jul 2020 20:11:02 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (etoilebsd.net [178.32.217.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 7CC7A2F9E2; Sat, 4 Jul 2020 20:11:02 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id 7DCCABF9E5; Sat, 4 Jul 2020 22:11:00 +0200 (CEST) Date: Sat, 4 Jul 2020 22:11:00 +0200 From: Baptiste Daroussin To: Shawn Webb Cc: pkg@freebsd.org, dev@hardenedbsd.org Subject: Re: Filesystem extended attributes support Message-ID: <20200704201100.lkcde42gtlgspwpr@ivaldir.net> References: <20200704141345.xwdf2ckxak2hfpkh@mutt-hbsd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ythx3b2ijyq52wix" Content-Disposition: inline In-Reply-To: <20200704141345.xwdf2ckxak2hfpkh@mutt-hbsd> X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2020 20:11:03 -0000 --ythx3b2ijyq52wix Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 04, 2020 at 10:13:45AM -0400, Shawn Webb wrote: > Hey FreeBSD pkg(8) developers, >=20 > Attached is a patch that implements filesystem extended attributes > support. Only the system namespace is supported. In case the patch > gets scrubbed from this email, I've posted it here: > https://gist.github.com/d0b4653bc5942dbcdcd1db877d37c2dc >=20 > Anyone who wants to write unit tests is welcomed to do so. >=20 > This patch to pkg does depend on a separate patch to libarchive: > https://github.com/libarchive/libarchive/pull/1409 >=20 > HardenedBSD has a separate patch to tmpfs that enables incredibly > basic extended attribute support. The tmpfs patch is only needed for > those who use tmpfs with poudriere. >=20 > And finally, another patch to the jails subsystem that allows a > privileged user within a jail to set system namespace filesystem > extended attributes (disabled by default) is needed for poudriere > users. >=20 > The patch to tmpfs and jails is not included here as they are > tangential. Thank you for the patch at quick glance it looks fine to me. I would have obviously to wait for libarchive to merge the patch first to be able to tes= t it and do a proper review at the time. Don't hesitate to ping me again if you see no progress with libarchive has merged the said patch. I would have to rework it a bit probably: - Add a configure detection of the fact libarchive does or not have the necessary support - Add regression tests to ensure I don't break this in the future. - Maybe add an option to enable/disable it via pkg.conf (not sure yet about that ;)) Best regards, Bapt --ythx3b2ijyq52wix Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl8A4lQACgkQY4mL3PG3 PlqxSBAAyjWHbnGj8IOp3ygToRxcry3lu7sWAVZDiZCgHtkDxqa4oB8E8HUbOa+V fu1zQEYafII4ovthY60pN2IbYWERiurEFbnrDA4Si3Q8Ewf7VWDPUuEJHf4t55NC QyeyPuqLIB5apvxSSkCeOb6WNmqx2HEi201YfoEmvuIu/fykHF2Ch638fUy1xWbC YikkuN5gIinXkh5uJOx7m0WwlJx90/HPV1fkX0ODHSvoCS5T8tRZC4uGx3QVayUP yZ0vcwjCIlcrC15inrMMVA1KFxafORMs7vl9/E6ksmzsYIrUMGbqPpd4DdqI5xhk GfrOHABjswRlAcLsHm3qx8EMYOjOrmALge+DlbSzgMIyprstCCfIh6Qtgik0i6PH C+AYTQFiJp8tbBpgZFabbtrncmQd/Rj0CC3j+ALksXSZW5MtLbcE0+hu9dZeCFTq eHdNywGJ8xkOmIsHJyjz9iLe0Rl3QNwxsSLs/ZwxVBq/MWoIg/qXMgf9RgnyHLvE N/UhLWmjkt0CbEJG65Shn1m21dEXpDj7YTHWN8hciyiHzCMyCkVBZJ+mwPOctvp7 7yGIldgtKSTmBeOBRjprIAcymuG63uwsENTH4rUQNpyOfbTfSPC4h1v75mZq1WVc Rs14zbiGQDcb/8/lgSeo9hT8NFMAlgl3Y4IZKXfiGeXZUtguOZ4= =zRys -----END PGP SIGNATURE----- --ythx3b2ijyq52wix-- From owner-freebsd-pkg@freebsd.org Sat Jul 4 20:58:49 2020 Return-Path: Delivered-To: freebsd-pkg@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 CFEDA35815D for ; Sat, 4 Jul 2020 20:58:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49zkhT5Bddz47kY for ; Sat, 4 Jul 2020 20:58:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B0830357CFE; Sat, 4 Jul 2020 20:58:49 +0000 (UTC) Delivered-To: pkg@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 B04D63583A7 for ; Sat, 4 Jul 2020 20:58:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49zkhT4C3Pz480M for ; Sat, 4 Jul 2020 20:58:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6FAA222657 for ; Sat, 4 Jul 2020 20:58:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 064KwnYx001466 for ; Sat, 4 Jul 2020 20:58:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 064KwnNG001464 for pkg@FreeBSD.org; Sat, 4 Jul 2020 20:58:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 247768] ports-mgmt/pkg: lost version 1.14.6 Date: Sat, 04 Jul 2020 20:58:49 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2020 20:58:49 -0000 Bugzilla Automation has asked freebsd-pkg (Nobody) for maintainer-feedback: Bug 247768: ports-mgmt/pkg: lost version 1.14.6 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247768 --- Description --- pkg-1.14.6 reports its version as 1.14.5: # pkg info |grep pkg pkg-1.14.6 Package manager # pkg -v 1.14.5 # uname -a FreeBSD h33 12.1-RELEASE-p6 FreeBSD 12.1-RELEASE-p6 GENERIC amd64 From owner-freebsd-pkg@freebsd.org Sat Jul 4 20:58:50 2020 Return-Path: Delivered-To: freebsd-pkg@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 401C935815E for ; Sat, 4 Jul 2020 20:58:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49zkhV10Zjz47tS for ; Sat, 4 Jul 2020 20:58:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 223E2358480; Sat, 4 Jul 2020 20:58:50 +0000 (UTC) Delivered-To: pkg@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 1FBC735832D for ; Sat, 4 Jul 2020 20:58:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49zkhV05Nxz47x1 for ; Sat, 4 Jul 2020 20:58:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D68A022454 for ; Sat, 4 Jul 2020 20:58:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 064Kwnhm001515 for ; Sat, 4 Jul 2020 20:58:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 064Kwn36001513 for pkg@FreeBSD.org; Sat, 4 Jul 2020 20:58:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 247768] ports-mgmt/pkg: lost version 1.14.6 Date: Sat, 04 Jul 2020 20:58:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: svysh.fbsd@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2020 20:58:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247768 Bug ID: 247768 Summary: ports-mgmt/pkg: lost version 1.14.6 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pkg@FreeBSD.org Reporter: svysh.fbsd@gmail.com Assignee: pkg@FreeBSD.org Flags: maintainer-feedback?(pkg@FreeBSD.org) pkg-1.14.6 reports its version as 1.14.5: # pkg info |grep pkg pkg-1.14.6 Package manager # pkg -v 1.14.5 # uname -a FreeBSD h33 12.1-RELEASE-p6 FreeBSD 12.1-RELEASE-p6 GENERIC amd64 --=20 You are receiving this mail because: You are the assignee for the bug.=