From nobody Sun Mar 24 23:28:15 2024 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 4V2sgh3xrNz5DkNZ for ; Sun, 24 Mar 2024 23:28:16 +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 4V2sgg5bsrz53nw for ; Sun, 24 Mar 2024 23:28:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711322895; a=rsa-sha256; cv=none; b=swpoKYfBc8z/3Wx24h/28MnoJm799cjOsOQxkyexGTSQEuP4m63+k/hoYM20ImJrFpZkNX PWeA1obfANDgWBjT4tZbRLf7oCU9PYrcf5cuAzsMhg5t5tj+XMrnN6wn2Ysw/w10aoaEUt cLH7TUj0p/fZ/ZPM4ur5AJq9EkigTeWQZ/kWID/ai89LSxwPkC9nKRYnPcuveMdXkPUktl IJ5khF/nBzWFr4OCswgSVoNbSLA5QGOmLhBTuQO6kQWkAOAudNwTWgvxMeo71nI8zW/Aja 848G4MWvfWpNegO37iiopUGoWZez/dkUbEfF9iPizZ7VtdzSphCfqbErfhxsDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711322895; 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: in-reply-to:in-reply-to:references:references; bh=OrIRN1uT7CTkDmp7g6Mn0kQkCubvgivVOikINlZSYqc=; b=xzdtAh7s0dl+mRrLNwXMapu4cFsnAOPfsh/DTNMFi8096pTHGY7BLObEtc6D/4efvhPwHy MfaeF1s2GrclGel8jdDw+bprRIMuzLust1kjkcE6Tw36EKqrhbr6wGkGRXbpC5mhzsTmt/ zmKvNqp5+b86Gq/f+JqZvG6QXNQtMPV0DjyaXyOn7Yp+FlCzxw8kOHSrpS/XOgr0tugxLH xyGCEpuR/yOgAVXCDa4be31+z8X5z+T1pXLGr3LpROm2O2InC1xagfVchmlbuI+O33hMh0 N/r41t8RZRX9CyAdagxFQezkbO7F25hFhYpsx1nM2XY8UeLHLaWuoufo//hCbA== 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 4V2sgg5Cj6zsKx for ; Sun, 24 Mar 2024 23:28:15 +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 42ONSFvK040898 for ; Sun, 24 Mar 2024 23:28:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42ONSF9v040897 for bugs@FreeBSD.org; Sun, 24 Mar 2024 23:28:15 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 277828] 15-CURRENT installation fails when /usr is on seperate UFS volume Date: Sun, 24 Mar 2024 23:28:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mp@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 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=3D277828 Mark Peek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mp@FreeBSD.org --- Comment #2 from Mark Peek --- The issue is base.txz having hard links across filesystems (/ for /etc and /usr). This looks to have been introduced via the below commit where the install flags were changed from "-lrs" to "-lm". As "make distributeworld" creates the base directory on a single filesystem when certctl is run, "-lm" creates hard links which requires /etc and /usr/ to be on the same filesyst= em. https://github.com/freebsd/freebsd-src/commit/a401c8cb26b22688087ad7c5ee527= 718459df15a This patch should fix this specific issue. diff --git a/usr.sbin/certctl/certctl.sh b/usr.sbin/certctl/certctl.sh index 997a7d835d53..f95b4561d852 100755 --- a/usr.sbin/certctl/certctl.sh +++ b/usr.sbin/certctl/certctl.sh @@ -110,7 +110,7 @@ create_trusted() { local hash certhash otherfile otherhash local suffix - local link=3D${2:+-lm} + local link=3D${2:+-lrs} hash=3D$(do_hash "$1") || return certhash=3D$(openssl x509 -sha1 -in "$1" -noout -fingerprint) @@ -159,7 +159,7 @@ resolve_certname() create_untrusted() { local srcfile filename - local link=3D${2:+-lm} + local link=3D${2:+-lrs} set -- $(resolve_certname "$1") srcfile=3D$1 --=20 You are receiving this mail because: You are the assignee for the bug.=