From nobody Fri Mar 18 17:27:02 2022 X-Original-To: ports-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 835C31A260F2 for ; Fri, 18 Mar 2022 17:27:02 +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 4KKrY21mMLz4lNl for ; Fri, 18 Mar 2022 17:27:02 +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 1D2C423135 for ; Fri, 18 Mar 2022 17:27:02 +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 22IHR2jW029125 for ; Fri, 18 Mar 2022 17:27:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22IHR2gL029124 for ports-bugs@FreeBSD.org; Fri, 18 Mar 2022 17:27:02 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: ports-bugs@FreeBSD.org Subject: [Bug 262650] ports-mgmt/poudriere: Use a dynamic linuxbase from sysctl for linprocfs mounts Date: Fri, 18 Mar 2022 17:27:02 +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: lab+bsd@thinkum.space X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bdrewery@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 attachments.created 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647624422; 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=S9n1c4rdiXnL0DdFsBaJkeqAhZGlDBw7ujgKWsTW+CM=; b=UCxEoRrUPFBK8p+HoUpWIb2ZsokPT5/A7vVJzJMWSh/BSbYzZ9Z40vfb8uoxd1/6ljw/7w ARqjFo5hW1JP4Ir02yTOQQijhUmtkvXCeOgCWODbmaK1QBexEVhsAkMjAJdLZpHYkMaVWi Ypkyh10fd7dR+zj4gJsibXtDJph1U2JsBGre3SHa0mbARpDCTji2yr7rOh7Cl4LJXN8q9p g0ZQOAeKFgioTJKdNX5sunyePWZJGi9xmMJpYENbJB/Jhri2SqHWIulTrgGqwC9ifx83eH uQat1XYkQwVhkrriolrqeJo6Q1n5ne2kPgMF9rlP2f2mID1YSrIe+a0+C2wWlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647624422; a=rsa-sha256; cv=none; b=NsmC4DWGLvLvywXLngMcqBU4nLfkp1X2Rz8/GRixCt/S8D8oCOJbBIvfSpm9xzO8PHYtBU Il+tYmNQTeJbaJ9anZ0+7jHu6ToUcdGev0tohtpKRhx8wn68IAaIjWqookIqA2nlanchqD XUbXCD282hp18tDOex+fA7pz/QIDxGw71RtV/z99NlJfiIgU1wOQ8eoWliE+qccODVvEPk F6rWz6jeFlu41f8fTBK08jIUbtQ2IE++2h3n5fTgYC2BEyq8ijKUGaiNa/3WD4/UOiGoEi aQWeYjL+q4tWKwxAuTxDZmOVWwtAYsW+Lxaf9GzF7Fwe6lMGp+k8M5NtYU240w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262650 Bug ID: 262650 Summary: ports-mgmt/poudriere: Use a dynamic linuxbase from sysctl for linprocfs mounts Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bdrewery@FreeBSD.org Reporter: lab+bsd@thinkum.space Assignee: bdrewery@FreeBSD.org Flags: maintainer-feedback?(bdrewery@FreeBSD.org) Created attachment 232555 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232555&action= =3Dedit dynamic linuxbase for linprocfs mounts in poudriere (patch file) This patch introduces some handling for a custom LINUXBASE under ports, as = when there is a corresponding sysctl configuration on the host. Ports at the site may have been built with a custom LINUXBASE. This pathname may may be assumed to match the value of the sysctl mib compat.linux.emul_p= ath When poudriere is configured without NOLINUX, this patch will use the value stored in that sysctl mib as the base directory for linprocfs mounts. By default, this would be the pathname /compat/linux If poudriere is configured with NOLINUX, this will use the default value /compat/linux as the LINUXBASE pathname This patch corresponds to a pull request on the poudriere source tree https://github.com/freebsd/poudriere/pull/986 This patch also corresponds to an issue track for a similar patch for ports-mgmt/poudriere-devel https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262649 This patch may be useful towards testing some port contributions for ports = that use dotnet and/or mono. --=20 You are receiving this mail because: You are the assignee for the bug.=