From nobody Thu Nov 30 12:58:20 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sgx7x14tcz53HMc for ; Thu, 30 Nov 2023 12:58:21 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sgx7w72sFz3YTx for ; Thu, 30 Nov 2023 12:58:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701349101; 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=JSxumlDNrR99OHWubqQHfbSiiaadmjRaG0FLwnvo27Q=; b=qm1sU5KLGABaDdKEeAQjWIAkvvsTF0ILe8yTt+8SsPktoLoObrnCKvNLC9Qp4MLco1JhPB WF2tcbMcPJBkMWcl6j9j6ZkqBaWbRJRRx/dmuxKTA9stVQjgYfrcKlioZzcnjTfp2mwqRJ WxCEItjYND+b57ChhzwQuJRM+TJsCN7uj8Bz3BGIL11ueul0GE1wbqwWL/nUc4/kcwOJHR UXE27o3LUzYJB2UA1EWYCnWaOW2s/ZCiK0NRw65hGXL/Sd2aDT/lm1C1aWktFlD+dzQv0F Fh9xhOMBedGzCOvNL5MddB1LBy5hBq+t8mit/piYFMUhiw0Go2Z1qoju+XiTpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701349101; a=rsa-sha256; cv=none; b=R/ozRfD1HEKMpfZ0U2iiFfhMsaIG1ZoND28paYfpLCj71BQoWxD+NiYdMO0CE7zHP60Kdo f4CHmwmdp4NWcDm1zC35sDOHgiAYs14eqwDnwIfXPlfDpj2eib/nvmupmNDpG10ywQHPWy GoAYlQy+JWe+zJzcF9LZCUeeSExIKrQ3nwWigwNxtrHNBUoZQg+uEr1n2TiTunJVwwOr2k po8zf9whCrYOQS7EHNqqBVSN4CSpyWyuIzverWCCar0O3jiEDME+ZZFjU8qWn6VtlL8UDn jTc1TZ4JtR0cTY89QJOca7O9A/eQfl3ouWWrw48HnaklBrU/ANYzO9wMx87vJQ== 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 4Sgx7w618Kzqqr for ; Thu, 30 Nov 2023 12:58:20 +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 3AUCwKHx027003 for ; Thu, 30 Nov 2023 12:58:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AUCwK13027002 for bugs@FreeBSD.org; Thu, 30 Nov 2023 12:58:20 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: bugs@FreeBSD.org Subject: [Bug 275449] certctl: changed link flags lead to inconsistencies when installing into non-standard DESTDIR Date: Thu, 30 Nov 2023 12:58:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: d8zNeCFG@aon.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275449 Bug ID: 275449 Summary: certctl: changed link flags lead to inconsistencies when installing into non-standard DESTDIR Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: d8zNeCFG@aon.at Scenario: - Virtual machine with UFS / and /usr (separate) - In it, FreeBSD main at 51e7276365bad2871257ef121cead2c19bcd7434 - Running buildworld buildkernel - Running installkernel installworld DESTDIR=3D/usr/tmp/x (the intent is to install to a temporary directory first to view the changes to the current installation) Result: - The files in /usr/tmp/x/etc/ssl/{certs,untrusted} are hard links to the f= iles in /usr/tmp/x/usr/share/certs. - However, the files in /etc/ssl/{certs,untrusted} are (and should be) symb= olic links to those in /usr/share/certs. - Blindly copying what is in /usr/tmp/x to / would break the hard link, resulting in duplicate regular files. The root cause is that in certctl, the argument to "install" has been chang= ed from "-lrs" to "-lm", leading to destination-dependent results. For the sak= e of consistency it would be good to revert this particular change. -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=