From nobody Sat Aug 19 10:58:39 2023 X-Original-To: emulation@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 4RSbMS5C7Bz4qYgt; Sat, 19 Aug 2023 10:58:44 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RSbMR3M5Lz3PX4; Sat, 19 Aug 2023 10:58:43 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=pdqxWFBM; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Sz71syG/UxiYEMjusjhTsUrHue9n+WZnaKBAxHjPN0o=; b=pdqxWFBM38oY+OJbRKSqvLH0Z+ Y8TisdeJ/OVdC8pi2TFW75CNaXrrEA/hm1LNzSRDhvVayuSShQr73WCvbm8ogRRlvU1o40aAMXuOf /TpDo07TLzYtOE/qF+Xrb8OG4aLTSx03tLUv13hhYK09qiamAL1WTXpHB9u6VenxJtieXEOIWgUY4 pButFMQi6jElmV55g4zRmDkex98topVNwhIXuJlYImxThss6bW/+sX6+lm431tZrVfbNpXUZT0iw7 7vyLmA/r2dJ+cxwWVmDp4qUROguM2MqVlBzdWqIfoHyR6bqAVp9VUFLbKMJwuzxlliYL1qkDbf3eu iLVVSO7Q==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qXJfE-00A8ZH-BQ; Sat, 19 Aug 2023 12:58:40 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qXJfE-000Dlm-0H; Sat, 19 Aug 2023 10:58:40 +0000 Date: Sat, 19 Aug 2023 12:58:39 +0200 From: Felix Palmen To: ports@freebsd.org, emulation@freebsd.org Subject: Re: Building a Linuxulator userland from source Message-ID: Mail-Followup-To: ports@freebsd.org, emulation@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ixutfqvshramva2k" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-7.50 / 15.00]; SIGNED_PGP(-2.00)[]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[ports@freebsd.org,emulation@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ------- X-Rspamd-Queue-Id: 4RSbMR3M5Lz3PX4 --ixutfqvshramva2k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Mario Marietto [20230819 12:36]: > I'm not experienced,but I suspect that those kinds of bugs aren't caused = by > the kind of userland,but at a level of abstraction layer. So,if you change > userland,you will not fix them. I think I made it pretty clear what kind of issues a new userland will fix, and it doesn't look like anyone would want to debate that, because it's just too obvious. Again, the only open question about my project is whether it will be feasible at all to build such a userland from source instead of the "traditional" approach to repackage some newer Linux distribution. Any other issues you might have encountered with Linuxulator are unrelated to this thread. Bye, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --ixutfqvshramva2k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZOCgX18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MU1RAP9exswZyEWOhCswYLXnb0ofZl6dR+btyIwCZAHGDiHVMgD/X1xRH+Zzg43t SwS84180d+b52+gUi1PWb8uYDgfjpgk= =i10c -----END PGP SIGNATURE----- --ixutfqvshramva2k-- From nobody Sun Aug 20 10:35:41 2023 X-Original-To: emulation@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 4RTBpX2WtHz4r3Nr; Sun, 20 Aug 2023 10:35:48 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RTBpV41shz3Tj0; Sun, 20 Aug 2023 10:35:46 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=qHe7jWts; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=gqV8oA0pGA62h3H5eYeiAaDN/xuKhzMVccgcQMB6DO0=; b=qHe7jWtsDjYYN3K8XoYSslYF/r PMNGtpENsa+Ce/irEy5WBc9rPNzkb2HSLoaPkvBIPKsA9yd395ES69IRi/oR3Jj/5RH/hl/xxRF9W ep5x7zbUFQF6o+Gz3c4h9KYkOPVI4xi6c4WvnCzvQL6uI3ajxxTKnxbFM01tjs2yImhhj0c4EFp8H q/74m5XzrvvnV/KCS0H8hGk88q5fJZo9OtPvgAAdyGR4rv2EkJzx1AiKFNMy2KrhfViUjEFOmxB1O VOCNmGhfzjNohKVfjPOXU8XIFN0kTMVlYnDTjNUpLIHL0qQXNa1XeBvMdXGYvjzlx4DNFXxvxQR2/ 5I9xLBlQ==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qXfmX-00ACGW-Q0; Sun, 20 Aug 2023 12:35:41 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qXfmX-000Kw5-1c; Sun, 20 Aug 2023 10:35:41 +0000 Date: Sun, 20 Aug 2023 12:35:41 +0200 From: Felix Palmen To: ports@freebsd.org, emulation@freebsd.org Subject: Re: Building a Linuxulator userland from source Message-ID: Mail-Followup-To: ports@freebsd.org, emulation@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tbpcagcbr4fpg652" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-7.49 / 15.00]; SIGNED_PGP(-2.00)[]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org,emulation@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ------- X-Rspamd-Queue-Id: 4RTBpV41shz3Tj0 --tbpcagcbr4fpg652 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Felix Palmen [20230818 08:23]: > I just reached a state where I can build a working Linux-native GNU > toolchain (binutils, glibc, gcc) for C and C++ on aarch64, amd64 and > i386. From here on, it should be simpler, there are already two ports in > my branch (archivers/linux-bzip2 and archivers/linux-xz) using that > native toolchain for building. Just a little update on this, I *did* start building some "base" userland now. What seems to work so far is GNU bash and coreutils, including quite some libs used (gmp, acl, attr, libcap, openssl, ncurses, readline). I already had two metaports in my branch, linux_base-dirs (which will just create and own the absolute minimum directory structure in ${LINUXBASE}) and linux-toolchain (which pulls in everything needed to compile C and C++). Now, I added a third metaport: "linux_base". This is incomplete of course, it's where I want to collect all the bits and pieces for a "base" Linuxulator userland as RUN_DEPENDS. If anyone would like to already do some testing at this stage, please be aware that I not only rebase my feature branch, but also rewrite it while rebasing (to fix issues I encounter), and of course there won't be any PORTREVISION bumps. Therefore, the safest thing to do is to remove all linux*.pkg files from your poudriere repositories before trying a newer version of the branch. The lxcross*.pkg packages can probably be kept, I don't expect having to fix anything there. Finally, I managed to sort out at least one of the open issues: > - Building the final linux-gcc ports, I get weird error messages > directly to poudriere's terminal (they do NOT appear in the build > log!) like this: > ELF interpreter /usr/lib/ld-linux.so.2 not found, error 2 > I have no idea where this comes from, so far I couldn't identify any > negative effect though. I still don't know how/why it happened, but I now did what most Linux distributions seem to do nowadays ... add symlinks in linux_base-dirs: | /bin -> usr/bin | /sbin -> usr/sbin | /lib -> usr/lib | /lib64 -> usr/lib64 There's just some "convincing" needed for glibc to install *all* files below /usr, but all other packages now seem to "just work". So I assume it's the only sane approach packaging some GNU/Linux userland. It certainly makes sure the program interpreter is now also found below /usr. Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --tbpcagcbr4fpg652 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZOHsdF8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MfqwAPwJ1TJ5nwTjX4f467kKF8c4XgxfY9mPcPCsAQyqBoNsJAD/XSC1LfiIPRdt df1iLihUp5NdQ0FLBhqKBxujW0n4dgs= =QQcc -----END PGP SIGNATURE----- --tbpcagcbr4fpg652-- From nobody Sun Aug 20 20:18:59 2023 X-Original-To: emulation@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 4RTRlV5xjHz4qgBh; Sun, 20 Aug 2023 20:19:02 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RTRlT5vbqz3RZJ; Sun, 20 Aug 2023 20:19:01 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=zOcqiDrV; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=r52fPaIBOZnKprN9ovbLozsf7eg1nhofxQfiPo0dtek=; b=zOcqiDrVlzB5ylzN1tDPhOKH0X zHlZ/gH5J9aEWrvymGKoMetB/2GOsDdPtufPf6LPCsIKK7ijD8JZirzk0k/uvT89ly6sHH9n7ze5l 64DsVgKq1t1KNTWhHPu8a8IGeJhj2Vwyl6kYKLXvUwd8/616jk4gbB6eMX/AFdkZNuDTVamFfDWRm uwmYee4QoYDjxTRXRRGieeJO4k/ZqyKq5HkUQ4R/kmzkQ7KUYNWHXceGuz8qXLtlar+ZKFxB6Tvbt 9ME2q4EKlCL/wkal6Qv6wxQEEzsIXFjDwmSKdIDUWXBffV4ha2mREv8SNU3lHvfdDRnBbNdfcm2uK qdQJiRBw==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qXot1-00ADXE-Vi; Sun, 20 Aug 2023 22:18:59 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qXot1-000NLS-1y; Sun, 20 Aug 2023 20:18:59 +0000 Date: Sun, 20 Aug 2023 22:18:59 +0200 From: Felix Palmen To: ports@freebsd.org, emulation@freebsd.org Subject: HEADS-UP: poudriere needs patching (was: Building a Linuxulator userland from source) Message-ID: Mail-Followup-To: ports@freebsd.org, emulation@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="n3yktp2wite4g23u" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-7.50 / 15.00]; SIGNED_PGP(-2.00)[]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[ports@freebsd.org,emulation@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ------- X-Rspamd-Queue-Id: 4RTRlT5vbqz3RZJ --n3yktp2wite4g23u Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Felix Palmen [20230820 12:35]: > If anyone would like to already do some testing at this stage, please be > aware that I not only rebase my feature branch, but also rewrite it > while rebasing (to fix issues I encounter), and of course there won't be > any PORTREVISION bumps. Therefore, the safest thing to do is to remove > all linux*.pkg files from your poudriere repositories before trying a > newer version of the branch. The lxcross*.pkg packages can probably be > kept, I don't expect having to fix anything there. I'm about to update my feature branch again and from now on, to build it with poudriere, a patch will be needed. Here's a quick and dirty patch against an *installed* poudriere-devel: https://people.freebsd.org/~zirias/patches/poudriere-devel-linuxulator-buil= d.patch I guess my next priority should be to look into getting this (or maybe a better, less "hacky" approach) into official poudriere... Background is, right now, poudriere does not provide /compat/linux/dev inside a building jail, but build systems at least need /dev/null quite a lot. I'm about to add a port for "man-db", which will only build fine using "bash" and "make" from inside linuxulator userland, so it needs /dev available there. Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --n3yktp2wite4g23u Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZOJ1Il8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MWQOAP4/xzOkD95e9pJofgu+u6Ot4axAWr+q47yz3+X37TsP0QEAuCf6EnSYWF4g /ZwtfW8JXhs4xSZj65I24V4h7p+WegI= =m1Kd -----END PGP SIGNATURE----- --n3yktp2wite4g23u-- From nobody Sun Aug 20 21:00:05 2023 X-Original-To: emulation@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 4RTSfs3Xj6z4qj2h for ; Sun, 20 Aug 2023 21:00: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RTSfs1l21z3Z3P for ; Sun, 20 Aug 2023 21:00:05 +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=1692565205; 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=DG0/HjIRgxeiFvqt61eq3FBqKco77kEPMKDlgtDPxpM=; b=ydcQWceDyi3I/IPD+1aPm3hK5vYm4o/7Nl+M0vtZLC7oASHSxYUbu9/yy75wjJdREHQ1nf TGpgzej1Uc3KDgka812LzcMcpyEswXxcu+GnBq+et4skESNOrrmOsb8/lc6e45hpfHcJKp +BtiEzp1k4s9HL6IUV4ZAvakcrAWusb37qSu2NnnYAFwSuQHujqi/zMJRwdXOjPCii0uas zwFz/MhGkWjexvKyD6/FdTvCdfExskK7x0rYUl3/84J58+OI/ZJI40414u8MDi9w6Yo9qE FsZ8ERUg2BKc/9gRrx/Wd51xUoOar95Ly+56WEFYAq9NWGJry1fHnGZlbwZLXA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692565205; a=rsa-sha256; cv=none; b=PrS8uo8+jq3ov/GmXyTYtsF02eEoh6QH66I8F4QB7E6DoOuSv0aXX/yuyDp4yJYh+mEY5e K71+kts+gfd7Y5mjZJj4wZ+AdI4bOz90l4o8hxWv0Y9xjE63B74dvMjrW2sgZGrC0OdtyQ ZDyv4vlxlM07ajBG2PrI4neGiAzpRxBxza5TPqUY6WNojERge37BVhBkFIykQ1R41oJoft cyGa0LNs3TyyMJb3yEhYdsAC9zXc7Y//V6dYV/h1L52tDGQu/5fPXY2C00jRWR9dJ87LHq iDPEIObsC57qZRf0nesJw3J1ge5lgUA50Je588s+8978reyfTsdW5pClqLKIYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RTSfs0s12ztMp for ; Sun, 20 Aug 2023 21:00:05 +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 37KL05wW097455 for ; Sun, 20 Aug 2023 21:00:05 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37KL05qR097454 for emulation@FreeBSD.org; Sun, 20 Aug 2023 21:00:05 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202308202100.37KL05qR097454@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: emulation@FreeBSD.org Subject: Problem reports for emulation@FreeBSD.org that need special attention Date: Sun, 20 Aug 2023 21:00:05 +0000 List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="16925652050.7fAdCBD3.96121" Content-Transfer-Encoding: 7bit --16925652050.7fAdCBD3.96121 Date: Sun, 20 Aug 2023 21:00:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" 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 ------------+-----------+--------------------------------------------------- New | 269934 | emulators/qemu-user-static does not support capab Open | 219913 | emulators/virtualbox-ose-kmod: if the MAXCPU opti 2 problems total for which you should take action. --16925652050.7fAdCBD3.96121 Date: Sun, 20 Aug 2023 21:00:05 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
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
------------+-----------+---------------------------------------------------
New         |    269934 | emulators/qemu-user-static does not support capab
Open        |    219913 | emulators/virtualbox-ose-kmod: if the MAXCPU opti

2 problems total for which you should take action.
--16925652050.7fAdCBD3.96121-- From nobody Sun Aug 20 21:52:58 2023 X-Original-To: emulation@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 4RTTrd2Mrwz4qmnF; Sun, 20 Aug 2023 21:53:37 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RTTrd0FT1z4Nq3; Sun, 20 Aug 2023 21:53:37 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-99bed101b70so351183466b.3; Sun, 20 Aug 2023 14:53:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692568415; x=1693173215; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Rieu32ae58msQkSaMz6+Be226GkP5sjQ2vxGtOuI91s=; b=V1GuA3HQO9DtLBG2mPyEvW7HmwISzoWIUashdb0aYyYBH6/YgemB93cs+2O34JPtLL 1ksXRTFu0FrumFm8XprH0unKpjJ6YOQl6f3Ue8ZZ6rA5rmZiGag46E+0Y5yNtf2rJYVA fx03PbYY5vUcrqEsALf8ixf837YZ6iS7w+OW3orhHKrViTck/su2N94+u35iYucV53bO X9ZVnacZfK0c0ViPLY8Ml3KGjeApBp9w0JoZ3L8IjpXCrM+P4AszwgNrblr+TFCA9L7q +v9Bm+yOwYFaXLEb5ZUSVHvBbaXN8B1kl5nVlRfm3jPrLTpXQI2DU43lgYcVjcgJaAw2 4CmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692568415; x=1693173215; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Rieu32ae58msQkSaMz6+Be226GkP5sjQ2vxGtOuI91s=; b=JwSBe2Q3Xg5KDolvuAs6hnoyWHwI4X7Jz4+xjR3ChWvMG6I+BJ4NPJLd1cKKThQl+a OrRXfnWoVDfjJc40IYP6wWcxfoKvVTDFiTtBgUXD4VzLaTSOAg0OlHWvGkW6e7cAgF/s MLazMl0mbGpjgaXg4/geGi3dFRkHxeFJ5BGQ5tE37mgyD5CiV1BizC31xV751HH2GmfW +UIYb2XoWUqfaVlnFxWtANsKMt41Z/bCc6RtX4NJZqmSk6qGKWWtKeSXvcwklacvxfx9 zWTOzKhSZgNXc8iFiQhvpaBzeS35INsqqKgJtz1cLniS5uVAnawWGxcLCTdqxrcJdPje 9IWg== X-Gm-Message-State: AOJu0YxCSHGjdm+rWsqpY7wGNic5Qq8HbvRztcyCQ09mwfAxMQhhpJ2t +tvUb/yUtS3BB/4nPGgFhHd/c1hkx8QJiQbETUWa14ejV6E= X-Google-Smtp-Source: AGHT+IGdh1YLXiVXxQyZQKTwHquhNR6eH8DnM6APaq93UhETEM+zFAEOeCjkotd50EDQ2mfYZ9KCczYEr744IQpGlrU= X-Received: by 2002:a17:907:7617:b0:99d:ef0e:e968 with SMTP id jx23-20020a170907761700b0099def0ee968mr3589817ejc.4.1692568414534; Sun, 20 Aug 2023 14:53:34 -0700 (PDT) List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Sun, 20 Aug 2023 23:52:58 +0200 Message-ID: Subject: Re: Building a Linuxulator userland from source To: Tatsuki Makino Cc: ports@freebsd.org, emulation@freebsd.org Content-Type: multipart/alternative; boundary="0000000000001b41ff060361cb2e" X-Rspamd-Queue-Id: 4RTTrd0FT1z4Nq3 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] --0000000000001b41ff060361cb2e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Would be nice to have a linux userland such as nixos instead of ubuntu / Centos. Can nixos be used ? On Sun, Aug 20, 2023 at 11:25=E2=80=AFPM Tatsuki Makino wrote: > Hello. > > I only know enough about linuxulator that I can maintain > print/epson-inkjet-printer-escpr2... > However... > > I think /compat/linux is a very important path for linuxulator and/or > linux-binary, and I think it would be problematic to prevent it from bein= g > used. > I don't know enough to write here why it is, as noted above =F0=9F=A4=A3 > If I can spend a little more time, I might write something. > > Regards. > > > --=20 Mario. --0000000000001b41ff060361cb2e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Would be nice to have a linux userland such as nixos inste= ad of ubuntu / Centos. Can nixos be used ?

On Sun, Aug 20, 2023 at 11:25= =E2=80=AFPM Tatsuki Makino <tatsuki_makino@hotmail.com> wrote:
Hello.

I only know enough about linuxulator that I can maintain print/epson-inkjet= -printer-escpr2...
However...

I think /compat/linux is a very important path for linuxulator and/or linux= -binary, and I think it would be problematic to prevent it from being used.=
I don't know enough to write here why it is, as noted above =F0=9F=A4= =A3
If I can spend a little more time, I might write something.

Regards.




--
Mario.
--0000000000001b41ff060361cb2e-- From nobody Sun Aug 20 23:11:07 2023 X-Original-To: emulation@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 4RTWZJ6SNTz4qrCd; Sun, 20 Aug 2023 23:11:20 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RTWZJ4qc6z4XX4; Sun, 20 Aug 2023 23:11:20 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2bcb50e194dso14021921fa.3; Sun, 20 Aug 2023 16:11:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692573079; x=1693177879; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ehfSd7HR/nQSY9x6/z0ej/PumwoTe5xLRzUObPI9GAA=; b=oY4SUagolFhb8P9+cfsiCLpvaN7UNiZfEbRXtPsIewoSJfeF6Kd75GDvgpjvJaV6yz Y1LM89FN2W6sUi+fwpI2xqC98x+P+eXhj69lKPaeF/xybKQW9ZkLcV8wHI06IQ9Bs0ej NeVPjFsUu6Zf9itltn9HOMayzS+aZvnGZIjewinVGWI7iKSKSufIO+9QG4Ve4FcKyHip Q1RBPjYE0qTHW1eT19PqlIOJjj8I6bRM1YSsKebs7JBsz2BJZw1cblz6NPFvf6fPQiMS yAjJHchp3EFnbTF+iC1DiZ1qjOCgo7dA+tZJAmuAb3UVgevkjyX5nIX1ZgcnK5vzQW9z 10cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692573079; x=1693177879; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ehfSd7HR/nQSY9x6/z0ej/PumwoTe5xLRzUObPI9GAA=; b=YJ9fBD2q91r7nuQU0jztA77tBEQQZmUF65anjyT+MftTCbegwFhWVlM0/iOvuiz3he NK9KNGviI+QNIJBuYm1ix+nV7l8+EI6JOGXIi+jNMlt6h4yR1kOQqi2juBvi2yyj0It1 ROaQmL5RweOJBpRoga4HHCLJctXyEYYiYzRtKBnG+2ki2GObPiAJ+E/tOZkZuE4sngb1 eaKEI5Fk48ro4OFVLIZJMPqqjifqpBqZmetxayjq7W84EKyQiLjqaP1RK0bcs59p2mQg 9nm050Ii95I/qBIYl4mUHMoh9Z3FCak9RJhqcFthmaBijgg5sdfRpz8Hecc5w8PWz1+L DAcw== X-Gm-Message-State: AOJu0Ywilnei5WApUPCCGTo7skb1G1MmPheuKOmeWMgVfIgScvWDlZBF ypP9931TgfzMBXdl7LjxT5XPc7tYYyr0Ce6m34w= X-Google-Smtp-Source: AGHT+IG5Rizr3gyAwOqWn/sqjaGrwizT2gODgoCxcKylVGsAO7DCe3WWxlRodb5tCBTOcKIl54vJNfYs2OXzpSYhu88= X-Received: by 2002:ac2:4e03:0:b0:4fe:19ef:8791 with SMTP id e3-20020ac24e03000000b004fe19ef8791mr3650835lfr.38.1692573078773; Sun, 20 Aug 2023 16:11:18 -0700 (PDT) List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Aryeh Friedman Date: Sun, 20 Aug 2023 19:11:07 -0400 Message-ID: Subject: Re: Building a Linuxulator userland from source To: Mario Marietto Cc: Tatsuki Makino , ports@freebsd.org, emulation@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4RTWZJ4qc6z4XX4 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[] On Sun, Aug 20, 2023 at 5:53=E2=80=AFPM Mario Marietto wrote: > > Would be nice to have a linux userland such as nixos instead of ubuntu / = Centos. Can nixos be used ? Ideally the userland should be choosable for example if you got GPU passthrough to work on debian then odds are you could pass it through to FreeBSD > > On Sun, Aug 20, 2023 at 11:25=E2=80=AFPM Tatsuki Makino wrote: >> >> Hello. >> >> I only know enough about linuxulator that I can maintain print/epson-ink= jet-printer-escpr2... >> However... >> >> I think /compat/linux is a very important path for linuxulator and/or li= nux-binary, and I think it would be problematic to prevent it from being us= ed. >> I don't know enough to write here why it is, as noted above =F0=9F=A4=A3 >> If I can spend a little more time, I might write something. >> >> Regards. >> >> > > > -- > Mario. --=20 Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From nobody Sun Aug 20 23:54:56 2023 X-Original-To: emulation@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 4RTXYP0DPnz4qtDG; Sun, 20 Aug 2023 23:55:37 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RTXYM5pnlz4Zxb; Sun, 20 Aug 2023 23:55:35 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=MIkCfivs; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::22b as permitted sender) smtp.mailfrom=marietto2008@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2b9c907bc68so47655741fa.2; Sun, 20 Aug 2023 16:55:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692575733; x=1693180533; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=NEfkzbRX70NSV3aQBcqw4NaJcBfuGISd5W+QwBfatTM=; b=MIkCfivscQRKYFP2CdULqdA/502u8ZE/q8RKiPcB6t1pYtXHt2P3HP5Bcguq2O0MLe MVxxJAWkAd2IY+kfcZNl7R07Dry85S/OGAHmdgJ4cQ8H63bG2WP6cP/hF09iBj+K9/Ba exhYIUAlTMK4vQ/21nIg7wa3tlCELxzUHtc+YEjC8p1KcOtY3CswSXx1lSdusuyUM+mD Wf0nil7kNv9axr35DsH9xs1nt2Kga6Tzshtz5JpJnfXwy4Yeb5wgnukakQVObWr6zvfp /MRCZWKytYG7R5PxtLg755ZSun6Xh+fG56CsqacXhviNOFNnaCQE4uTRmvfb0vKGfw9a zahg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692575733; x=1693180533; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NEfkzbRX70NSV3aQBcqw4NaJcBfuGISd5W+QwBfatTM=; b=IEdVmxMstA6SMHt7gTF0l4vMMtAnH4jVe42VWlPROLmA6GXJoRnisYOJQfUwjW2qCF RQzQzUR5q59RObcW0W/3/LM4bf5kPfrnuccfQZ/01RtYBy49JKtTzSiEB9fSc9neB4eJ jhHD+U+/M2mxLpxgE+pBKp1+zhXhn9ivVIu/4BEDyUV+/1mN1uQDpZA4+nrUAhSltQTm JY6trQfgeByoLO68imDnCLu6/dPHuFyxDmzmOegR/K8vEkGxI+l+JtSd8dkgKbq7V5fH nSKH+KzD+FS5PFNg9dZSLAPeOOqUmVENsXwWQclCFLVv5Dpdyo0BeULV6bnQJ2d6ZDas YgDw== X-Gm-Message-State: AOJu0YwsxOqZfnf3vJDaPO7mxcdBP7GtkuhLUSKvCTAxBeY5t8CbdWzz bo7i+2u/efmZuiaiwkjybUPDd128Ev3HbENM6aY1X9/8as0= X-Google-Smtp-Source: AGHT+IFhf7jGQ3940oElTnZAtrsyPVy/0QGS/dgQh952tl3nyI1AGBo4Q55ZieGCBUMMsL80acyD2wcDCcaoKzzjXPA= X-Received: by 2002:a2e:2e07:0:b0:2b9:f0b4:eab7 with SMTP id u7-20020a2e2e07000000b002b9f0b4eab7mr4146075lju.18.1692575732633; Sun, 20 Aug 2023 16:55:32 -0700 (PDT) List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Mon, 21 Aug 2023 01:54:56 +0200 Message-ID: Subject: Re: Building a Linuxulator userland from source To: Aryeh Friedman Cc: Tatsuki Makino , ports@freebsd.org, emulation@freebsd.org Content-Type: multipart/alternative; boundary="0000000000004c94080603637ff4" X-Spamd-Result: default: False [-2.20 / 15.00]; SUSPICIOUS_RECIPS(1.50)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.70)[-0.704]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TAGGED_RCPT(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org,emulation@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22b:from]; RCPT_COUNT_THREE(0.00)[4]; ARC_NA(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_CC(0.00)[hotmail.com,freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_SOME(0.00)[] X-Spamd-Bar: -- X-Rspamd-Queue-Id: 4RTXYM5pnlz4Zxb --0000000000004c94080603637ff4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable -----> Ideally the userland should be choosable for example if you got GPU passthrough to work on debian then odds are you could pass it through to FreeBSD I didn't understand well what you meant. Can you elaborate in a different way ? thanks. On Mon, Aug 21, 2023 at 1:11=E2=80=AFAM Aryeh Friedman wrote: > On Sun, Aug 20, 2023 at 5:53=E2=80=AFPM Mario Marietto > wrote: > > > > Would be nice to have a linux userland such as nixos instead of ubuntu = / > Centos. Can nixos be used ? > > Ideally the userland should be choosable for example if you got GPU > passthrough to work on debian then odds are you could pass it through > to FreeBSD > > > > On Sun, Aug 20, 2023 at 11:25=E2=80=AFPM Tatsuki Makino < > tatsuki_makino@hotmail.com> wrote: > >> > >> Hello. > >> > >> I only know enough about linuxulator that I can maintain > print/epson-inkjet-printer-escpr2... > >> However... > >> > >> I think /compat/linux is a very important path for linuxulator and/or > linux-binary, and I think it would be problematic to prevent it from bein= g > used. > >> I don't know enough to write here why it is, as noted above =F0=9F=A4= =A3 > >> If I can spend a little more time, I might write something. > >> > >> Regards. > >> > >> > > > > > > -- > > Mario. > > > > -- > Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org > --=20 Mario. --0000000000004c94080603637ff4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
-----> Ideally the userland should be choosable fo= r example if you got GPU passthrough to work on debian then odds are you co= uld pass it through to FreeBSD

I didn't unders= tand well what you meant. Can you elaborate in a different way ? thanks.

On Mon, Aug 21, 2023 at 1:11=E2=80=AFAM Aryeh Friedman <aryeh.friedman@gmail.com> wrote= :
On Sun, Aug 20= , 2023 at 5:53=E2=80=AFPM Mario Marietto <marietto2008@gmail.com> wrote:
>
> Would be nice to have a linux userland such as nixos instead of ubuntu= / Centos. Can nixos be used ?

Ideally the userland should be choosable for example if you got GPU
passthrough to work on debian then odds are you could pass it through
to FreeBSD
>
> On Sun, Aug 20, 2023 at 11:25=E2=80=AFPM Tatsuki Makino <tatsuki_makino@hotmai= l.com> wrote:
>>
>> Hello.
>>
>> I only know enough about linuxulator that I can maintain print/eps= on-inkjet-printer-escpr2...
>> However...
>>
>> I think /compat/linux is a very important path for linuxulator and= /or linux-binary, and I think it would be problematic to prevent it from be= ing used.
>> I don't know enough to write here why it is, as noted above = =F0=9F=A4=A3
>> If I can spend a little more time, I might write something.
>>
>> Regards.
>>
>>
>
>
> --
> Mario.



--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org


--
Mario.
--0000000000004c94080603637ff4-- From nobody Sun Aug 20 23:58:18 2023 X-Original-To: emulation@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 4RTXcm1qkMz4qtY5; Sun, 20 Aug 2023 23:58:32 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RTXcm06swz4bsf; Sun, 20 Aug 2023 23:58:32 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-99bc9e3cbf1so577696566b.0; Sun, 20 Aug 2023 16:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692575910; x=1693180710; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xjWQRH3INqTtZkPLWASl0EZqwI+DbDJ8ZyTgTDHjF+4=; b=oUOxbHjgLG6vsgfWwgHN+SX9kXHdZnT9ypv7l0NCNr7IrQgPbyynbQBu+LUZuqiWuG v8OxeozY89z4/dGgOBF3I1mmsp3CEnM7DA6xhF8j1K/mBLtIiVZem0e6Qb6cgbKr1ehI MLuOD93P/rg9cW6MpO1uJECeoATAvWkMTZi6AspA3QjIjpzlqjcMVetgQw43PKxkJw0c Yg3WBLr5kjCCNsLEDPT8Za15NCk270sVLP398xvoQJ8e7ps14295O+JZcv1Tmt9Ty1pl n5fHDqVlNdfqAoHPnGuhG4Ia4fTBE1NEqwfpnlZ+dFB3Gsc1Wdlsi871K9ypiXNkkSyX VDpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692575910; x=1693180710; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xjWQRH3INqTtZkPLWASl0EZqwI+DbDJ8ZyTgTDHjF+4=; b=AgtwGgmBSdjUR7uDtMhIb1aA6F8tZmNUyAjz9ZYNWCssshE12q0tdtRlUcR1UcLbUa pmL2hVPRtU5X11vR1+DhygHpHbGHvkJZKfoaZBbE6NBRbMZoHfAhTnXVcYGk3nZB8CiB /+1tvTaqJRT/mPQp2t9zrN9tUBPLydS16D3Ls2kAYRjXc6sCM3oEXuj4RMchXQfP7XW9 OgLBdvPjz1bILwvY0Hkff+uL9mfpBt83xkCRTpQJ4ccrMe+byGx1r21kRsXeYeFFk515 xR0056H/AL5HviJZlXhtbB4pASFvLI6oA19z2ecDfFafq648p6qmbVFZTpMlq+ZQv8Gr 1WiQ== X-Gm-Message-State: AOJu0Yz9hcyZtFpqxBivXj9HiRYlPQpKm9/kFgdsICmCeL2AiqjlXNAR Gk1u942qZIKqWjaEsisxJ1ikyDLh0xkVaIJ6LH8= X-Google-Smtp-Source: AGHT+IF/vy/vjbXivmeZjSnr4SfoEOXMU47BZMzO1XtCoTyTRCGED+gyDj0ondeBnl+7mG1XXlX+YVDB63A415Nbsoc= X-Received: by 2002:a17:906:738d:b0:99b:50ea:2f96 with SMTP id f13-20020a170906738d00b0099b50ea2f96mr6132926ejl.12.1692575909851; Sun, 20 Aug 2023 16:58:29 -0700 (PDT) List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Aryeh Friedman Date: Sun, 20 Aug 2023 19:58:18 -0400 Message-ID: Subject: Re: Building a Linuxulator userland from source To: Mario Marietto Cc: Tatsuki Makino , ports@freebsd.org, emulation@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4RTXcm06swz4bsf X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[] On Sun, Aug 20, 2023 at 7:55=E2=80=AFPM Mario Marietto wrote: > > -----> Ideally the userland should be choosable for example if you got GP= U passthrough to work on debian then odds are you could pass it through to = FreeBSD > > I didn't understand well what you meant. Can you elaborate in a different= way ? thanks. Before giving up and just creating a debian bare metal install on a VM and passing the GPU thru was I able to get any AI/ML stuff working on a FreeBSD host. I tried different distros and only debian seems like all the magic incantation the linux gods require. --=20 Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From nobody Mon Aug 21 07:08:01 2023 X-Original-To: emulation@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 4RTk8P6RmMz4qLl2; Mon, 21 Aug 2023 07:08:05 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RTk8P198vz3WH0; Mon, 21 Aug 2023 07:08:05 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=wQitE6Kd; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=dNpQMkKxhsygSn5OciZRrbeAXCEq6P1FE4eWOUKDjpc=; b=wQitE6KdzQ1FouUgBUVz/BIjY3 bEez5n+ixwcXa1ven5DQhZ+wF6Bs22CtxbC7fneVTCMAQgjjlUkG9kkBeCgyPNOZGkmc11UFeQS7f wFsVSShG3Q9XITv0oWup+gVx9zKushOEZH0zFYRmFeusFhBDSXqLZUZ5+hyOGsEtRVl7m4wOSoH24 wXtSMo+53gAEzzYvKn2A3sDoNslokuaPkeHh3pUByYvevmACgl2MVJsm8Gdx+kJLM+hsQDChPfkbd DM1QRKZitdYmQdIpZCPv5CnvVZdlCJ2qv3YXMPOwXD527jp2nDZmyciKcBT6WKg02tEbVSc1n+G8w KVJ2FqCg==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qXz18-00AEyA-Aq; Mon, 21 Aug 2023 09:08:02 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qXz18-0001Os-0G; Mon, 21 Aug 2023 07:08:02 +0000 Date: Mon, 21 Aug 2023 09:08:01 +0200 From: Felix Palmen To: ports@freebsd.org, emulation@freebsd.org Subject: Re: HEADS-UP: poudriere needs patching (was: Building a Linuxulator userland from source) Message-ID: Mail-Followup-To: ports@freebsd.org, emulation@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="liel4m22k4mny7e6" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-7.50 / 15.00]; SIGNED_PGP(-2.00)[]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[ports@freebsd.org,emulation@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ------- X-Rspamd-Queue-Id: 4RTk8P198vz3WH0 --liel4m22k4mny7e6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Felix Palmen [20230820 22:18]: > I'm about to update my feature branch again and from now on, to build it > with poudriere, a patch will be needed. Good news, I found a workaround to make it build with unmodified poudriere again: | .if ${POUDRIERE_NAME:Mpoudriere*} | build-depends: poudriere-ensure-linux-devfs | poudriere-ensure-linux-devfs: .PHONY | [ -c ${LINUXBASE}/dev/null ] || ${LN} -sf /dev ${LINUXBASE}/ | .endif For now, I'll just add that snippet to ports needing it. Still, "poudriere testport" will probably fail without changes to poudriere. But at least, bulk should work this way! Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --liel4m22k4mny7e6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZOMNSV8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MYRIAP4/vOtzUTsVT284lxflWb9QSjXkkdWw1yjbFyVF0RTvWAD9GljpD9Gpu9S0 CV9XIPc0tn4Wm/59K55eqF9T7yCmigY= =S7L/ -----END PGP SIGNATURE----- --liel4m22k4mny7e6-- From nobody Mon Aug 21 07:21:15 2023 X-Original-To: emulation@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 4RTkRd5CWTz4qMZ9; Mon, 21 Aug 2023 07:21:17 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RTkRd1z3rz3YDK; Mon, 21 Aug 2023 07:21:17 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=sTXf9BoF; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=oN3xeHEXWyINXAEvry5aJhd70xgm91wd5FyBBYGkcL4=; b=sTXf9BoFV4kJBzY3wdom2Dc0KS oJVuTWjJDKBgnZ2dzb4cGIp8lQKrDbx6CSyuUzzeMNzht9j4TMfmTgihaSDZOlva3PbtsUQxHFj4b 76D1CPPGxMTpNi9yx63YrVFuYuojqQ5huL8r5KNhYl/2P/BqKdSMHNjN7/y2ckSu0zSADSpkS+1kR q7kVyqoUpzUC8yoX7m5pfO/HCHG50l9+RdHmI8mBkcPVy4QIh0U8oOvYCko2gbLFXgtHam+eMSUAO wOt0p2yMLPtN0ud8QUJFx9WnuNZkqtQcFGwCc/Ivn1UYbXHYMYg53AdHYqkrT5HWToDovrHqshyJm HUBukwZg==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qXzDv-00AF14-Gr; Mon, 21 Aug 2023 09:21:15 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qXzDv-0001SH-0z; Mon, 21 Aug 2023 07:21:15 +0000 Date: Mon, 21 Aug 2023 09:21:15 +0200 From: Felix Palmen To: ports@freebsd.org, emulation@freebsd.org Subject: Re: Building a Linuxulator userland from source Message-ID: Mail-Followup-To: ports@freebsd.org, emulation@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ycjtlyco6ssenf4n" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-7.50 / 15.00]; SIGNED_PGP(-2.00)[]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[ports@freebsd.org,emulation@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ------- X-Rspamd-Queue-Id: 4RTkRd1z3rz3YDK --ycjtlyco6ssenf4n Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Tatsuki Makino [20230821 15:38]: > Linux branded ELF is executed by linuxulator no matter where it is > placed on /, right? Yes. > Binaries running on linuxulator have priority access to files in > /compat/linux. Well, when they access some file, a path with /compat/linux prepended is tried first. Only when there's nothing, the original path is tried. That's it in a nutshell, the exact rules are a bit more complicated. > What I don't understand is... > If a linux binary running on linuxulator can't find a linux library, > but can find a FreeBSD library, can it link and use that FreeBSD > library? No. > Another problem is that linuxulator does not work for the shell script > shbang. > The "bash scripts" installed on /compat/linux, such as ldd, try to use > freebsd bash outside of /compat/linux. This works perfectly fine when used from within a Linux shell. Example =66rom testing my new userland: | [00:00:20] Entering interactive test mode. Type 'exit' when done. | root@14a-default:~ # /compat/linux/bin/bash | bash-5.2# ldd /bin/bash | linux-vdso.so.1 (0x00007fffffffe000) | libreadline.so.8 =3D> /usr/lib64/libreadline.so.8 (0x000000080115= 4000) | libhistory.so.8 =3D> /usr/lib64/libhistory.so.8 (0x00000008011ad0= 00) | libncursesw.so.6 =3D> /usr/lib64/libncursesw.so.6 (0x00000008011b= b000) | libc.so.6 =3D> /usr/lib64/libc.so.6 (0x0000000801400000) | /lib64/ld-linux-x86-64.so.2 (0x0000000001021000) | bash-5.2#=20 Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --ycjtlyco6ssenf4n Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZOMQal8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MX39AP47xhoE2kK0M9NjRz7O7G2MM+do2lxGrJVj3ogFE+esnwD9GbIDAcb1G4og nj6gFuWuurHoX+polx5xXLUBEpH9DgA= =JP14 -----END PGP SIGNATURE----- --ycjtlyco6ssenf4n-- From nobody Mon Aug 21 09:30:21 2023 X-Original-To: emulation@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 4RTnJd6BSjz4qVxP; Mon, 21 Aug 2023 09:30:25 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RTnJc5bhhz4LBf; Mon, 21 Aug 2023 09:30:24 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=mPWmo3km; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=46bYIQDfgDUQ8HcAqd1T+Uu10niHmh4w/Bw1dny81R4=; b=mPWmo3kmvfx4IwrDTLhH65om+4 FYbYh566DsyChadnSm/LreaRjIdDS6o4yhiuaolQzsDsi51P8mKJLtmuM+3tKb8xQGY4pEi7N+NGv OzUo6niZuOOnJPykR0HSK2Zx+Hg3MTJ4jzyFSNvzdMfpSodj4mvsIYVjb3jmqLkqDhR6QMlthRIir 767ug/alR6DTcm5kF9jl8UHiGxNzeLKd3z7fTZTSqFq2k1/QqwbjVvAlN1gUlpQWcjp5gxOHijTZv 7j75oEM4EYGWYFjQ6hbRBm1jnyX8IKG+o1uUuvtW8HTcRKSt9YxdIUY6CWbVWIhPZQmoEdOmd7xda UVC7ZHBw==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qY1Er-00AFMR-Li; Mon, 21 Aug 2023 11:30:21 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qY1Er-00023K-1W; Mon, 21 Aug 2023 09:30:21 +0000 Date: Mon, 21 Aug 2023 11:30:21 +0200 From: Felix Palmen To: ports@freebsd.org, emulation@freebsd.org Subject: Re: Building a Linuxulator userland from source Message-ID: Mail-Followup-To: ports@freebsd.org, emulation@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ysylsehyngskod7k" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-7.50 / 15.00]; SIGNED_PGP(-2.00)[]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[ports@freebsd.org,emulation@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ------- X-Rspamd-Queue-Id: 4RTnJc5bhhz4LBf --ysylsehyngskod7k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Tatsuki Makino [20230821 17:40]: > Felix Palmen wrote on 2023/08/21 16:21: > > This works perfectly fine when used from within a Linux shell. Example > > from testing my new userland: > >=20 > > | [00:00:20] Entering interactive test mode. Type 'exit' when done. > > | root@14a-default:~ # /compat/linux/bin/bash > > | bash-5.2# ldd /bin/bash > > | linux-vdso.so.1 (0x00007fffffffe000) > > | libreadline.so.8 =3D> /usr/lib64/libreadline.so.8 (0x00000008= 01154000) > > | libhistory.so.8 =3D> /usr/lib64/libhistory.so.8 (0x0000000801= 1ad000) > > | libncursesw.so.6 =3D> /usr/lib64/libncursesw.so.6 (0x00000008= 011bb000) > > | libc.so.6 =3D> /usr/lib64/libc.so.6 (0x0000000801400000) > > | /lib64/ld-linux-x86-64.so.2 (0x0000000001021000) > > | bash-5.2#=20 >=20 > Oh, I understand. > If we try to use it directly, the command not found if bash is not instal= led. Installing a FreeBSD bash won't help either, this script expects /bin/bash which will never exist on FreeBSD (it's installed in /usr/local/bin/bash). > we want poudriere to mount real devfs to /compat/linux/dev as well, > since linux binary behaves like chroot to /compat/linux. Well, first /compat/linux is *not* a chroot or jail, but actually just some kind of "filesystem overlay", which is the great thing about it. It means Linux binaries can access *all* files of the FreeBSD system, as long as they are not "shadowed" by something below /compat/linux. And indeed, to support building native Linux software using poudriere, it *should* mount devfs on /compat/linux/dev. > Alternatively, pkg-plist in emulators/linux_base-c7 is creating dummy > /compat/linux/dev, and removing it seems to be a workaround. In a live system, there's no issue. /etc/rc.d/linux will mount all necessary pseudo filesystems: | if checkyesno linux_mounts_enable; then | linux_mount linprocfs "${_emul_path}/proc" -o nocover | linux_mount linsysfs "${_emul_path}/sys" -o nocover | linux_mount devfs "${_emul_path}/dev" -o nocover | linux_mount fdescfs "${_emul_path}/dev/fd" -o nocover,linrdlnk | linux_mount tmpfs "${_emul_path}/dev/shm" -o nocover,mode=3D1777 | fi So far, poudriere doesn't mount anything on /compat/linux/dev for its building jails, although it *does* mount /compat/linux/proc. For now, I found that a simple symlink to the real /dev also does the trick, which I can add with some hackery in the port Makefile itself, by adding some extra prerequisite for "build-depends" when a poudriere build is detected. In the long run, poudriere should mount a real devfs though. Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --ysylsehyngskod7k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZOMupl8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MYyLAP0SU1MiNcfwVy/eqGV/MwLiTvCk7tuPUZ32NiHboW7BhAEAxTrZ7sPo1PoL 2Y6EKaGFGlwAmRwdTy+RdZOkiQ04sgY= =1wwN -----END PGP SIGNATURE----- --ysylsehyngskod7k-- From nobody Mon Aug 21 23:25:36 2023 X-Original-To: emulation@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 4RV7rg2M41z4rRVN; Mon, 21 Aug 2023 23:25:55 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (mailgate.leidinger.net [IPv6:2a00:1828:2000:313::1:5]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RV7rf016Wz3M5Q; Mon, 21 Aug 2023 23:25:54 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=leidinger.net header.s=outgoing-alex header.b=diCaKPYW; spf=pass (mx1.freebsd.org: domain of Alexander@Leidinger.net designates 2a00:1828:2000:313::1:5 as permitted sender) smtp.mailfrom=Alexander@Leidinger.net; dmarc=pass (policy=quarantine) header.from=leidinger.net Received: from webmail2.leidinger.net (roundcube.Leidinger.net [192.168.1.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: Alexander@Leidinger.net) by outgoing.leidinger.net (Postfix) with ESMTPSA id 1800C2D4; Tue, 22 Aug 2023 01:25:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1692660339; 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=iRzbLlQJ3s+qEvpPupHiobE6OpMI8APXd047EpasRvQ=; b=diCaKPYWuH0H72JpTrbFJ1dk5tbqaeK8ZTSNO3n6uo+LDs2sg6s+qSLpx6ekdfV33oq+r5 PrAUb3WfgJlLMTdPCUw9XExqTL5aI1ABcDeaToJIRA9UaEfbRlAp9vZg+SUxl2tS/qnTvB KYL/sNW0OhS3uyFVLW36GIp1EBUBTXYla1aiHRgDm5WOErsquHbOUZNfKzLfu3XhA9Tj0q EJuFyK/RehjhuK/h7CcRn9zFDhDFgiNXCVBGIs0gm9+VCJojYu9QxUq3kgaOt43Yigj5cv rtuISbBesUW2mZQcODrqPO/civogLkG2eRbZDEe12T89okazQYVxQSC7jMOboA== List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 Date: Tue, 22 Aug 2023 01:25:36 +0200 From: Alexander Leidinger To: ports@freebsd.org, emulation@freebsd.org Subject: Re: Building a Linuxulator userland from source In-Reply-To: References: Message-ID: <67ea2b0e1f9ed5c695fb50c3d9a1d378@Leidinger.net> X-Sender: Alexander@Leidinger.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.90 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.90)[-0.902]; DMARC_POLICY_ALLOW(-0.50)[leidinger.net,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[leidinger.net:s=outgoing-alex]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[emulation@freebsd.org,ports@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:34240, ipnet:2a00:1828::/32, country:DE]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_TRACE(0.00)[leidinger.net:+]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4RV7rf016Wz3M5Q Am 2023-08-18 11:26, schrieb Felix Palmen: > Hi Alexander, > > thanks for commenting! > > * Alexander Leidinger [20230818 11:02]: >> As the person who switched the linuxulator from redhat 4 or 5 to >> fedora and >> mentored the people which moved forward to linux-c6 I have some info >> about >> the design principles of the linux_base ports which you may or may not >> know >> already: >> https://www.leidinger.net/blog/2011/08/29/howto-create-a-new-linux_base-port/ >> https://www.leidinger.net/blog/2011/09/01/howto-add-linux-infrastructure-ports-for-a-new-linux_base-port/ > > This might certainly be useful to check against. I think I do have some > understanding, but so far only from looking at what existing ports are > doing. > >> If it shall not be much of a moving target, I associate "not much >> work" with >> it. This is somehow contradicting your approach with building from >> source in >> my opinion. It also opens up the question if any issue is because of >> what we >> do with it, or because of upstream. And this additionally to the >> complexity >> if the issue is in our linuxulator (kernel side). This doesn't sound >> much >> like "not much work". > > Yes, I see how "bug hunting" could be an issue. So far, I could stay > *very* close to upstream in my ports, but yep, it's only the GNU > toolchain, I will have to see where it leads. > >> > - Provide the newest GNU libs (glibc, libstdc++, ...) built against >> > exactly the Linux version emulated by the FreeBSD version this will >> > run on. This should make it possible to run a lot more Linux binaries >> > without relying on e.g. Linux jails. >> >> I see a mismatch here. You want to have the newest ones, while the >> distribution itself shall not be a much of a moving target. > > This seems to be a misunderstanding though. IMHO, for repackaging some > distribution, this should not be a moving target, because otherwise you > could have some unpleasant surprise like some glibc update suddenly > requiring a newer Linux version that the FreeBSD kernel offers. > > With building from source, at least *this* can't be a problem, because > the base libs will always be built with the "correct" version of the > Linux headers. > >> > - When binaries don't work for missing Linux libraries, make it somewhat >> > easy to add them, maybe based on already existing FreeBSD ports. >> >> This may be harder than you think. Or more easy than I think. The >> FreeBSD >> ports will have stuff specific to FreeBSD which may not be needed for >> the >> linux-on-FreeBSD-build. The building part may involve more hackery >> than the >> FreeBSD port. > > Yes, I'm aware of that. It might require quite some work on the > framework to make it actually easy. TBH, this is just an idea so far, I > didn't really think about come concrete concept yet. > >> USE=linux is suited for the needs of a linux_base port. A linux_base >> port is >> designed to integrate with the FreeBSD system (= fallthrough so >> FreeBSD >> config if the config is a drop-in replacement for the linux config, >> e.g. >> krb5.conf or hosts and such). What you need for building is on the >> other >> hand a "pure" linux system without any fallthrough to FreeBSD, to make >> sure >> you don't pollute the linux-build with FreeBSD stuff. This means at >> least a >> chroot into some linux_dist-style port instead of a linux_base style >> port. > > 1.) Of course, Uses/linux.mk would need quite some switching to handle > c7 as well as something new that works completely differently (maybe > call it src). All still open issues. I suggest to write a new Uses/xxx.mk for this. Much more easy for you to do what you want, and less error prone and less QA to do for the existing linux_base stuff. > 2.) Could you please elaborate how e.g. some config file "visible" to > the Linux processes could "pollute" a Linux build? Besides, this could > only affect files from base /etc I think... Well... the config part was more to highlight what the linux_base ports use the fallthrough for. In case of building I worry more that some includes from /usr/local are used than anything else. Also some other stuff configure-runs might pick-up from the installed FreeBSD ports. Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF From nobody Tue Aug 22 07:50:46 2023 X-Original-To: emulation@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 4RVM3K4x3Xz4qXM1; Tue, 22 Aug 2023 07:50:53 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RVM3J2lDbz4lpt; Tue, 22 Aug 2023 07:50:52 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=BxLAzgs5; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=9CTGMsvQ5IKoDPbePmdf0ejsMVZpoS5dEAFPh3zhznM=; b=BxLAzgs54WBdQMlE20+xiZ2vZD j1piPixDqTCPAFI72j0u19MD91rcHXE8ANAG3vG0wTXn9+iJfRxgWBOINDi7azYZatSp7LoXQAsSy C0fwfH30LELDT7S9Oqg0ERms/LOcbMZuzgT4oRo8QWhUCSSJoKDFTiHBL6gF1cg+qO9YdZwpF2+yX /o6OPEozyxoSrpcLwqPcQ6T1GnBpvlxoGVlgGiFv/CLnyVn1BjrkEJgScsyEKUx7JpEbhGElvkUQZ PnBspTh5+PbK0quXVDeMINlRkDySnYQ6noWWdmoKYdtzvFexUzpW+XjZ3j/HRI04AtHrn4bnHlbS2 l23ZSGGA==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qYMA4-00AP4C-2P; Tue, 22 Aug 2023 09:50:48 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qYMA3-0009O1-2X; Tue, 22 Aug 2023 07:50:47 +0000 Date: Tue, 22 Aug 2023 09:50:46 +0200 From: Felix Palmen To: ports@freebsd.org, emulation@freebsd.org Subject: Re: Building a Linuxulator userland from source Message-ID: Mail-Followup-To: ports@freebsd.org, emulation@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: <67ea2b0e1f9ed5c695fb50c3d9a1d378@Leidinger.net> List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pr6a2ixrlujzdhyn" Content-Disposition: inline In-Reply-To: <67ea2b0e1f9ed5c695fb50c3d9a1d378@Leidinger.net> User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-7.50 / 15.00]; SIGNED_PGP(-2.00)[]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org,emulation@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ------- X-Rspamd-Queue-Id: 4RVM3J2lDbz4lpt --pr6a2ixrlujzdhyn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Alexander Leidinger [20230822 01:25]: > Am 2023-08-18 11:26, schrieb Felix Palmen: > > 1.) Of course, Uses/linux.mk would need quite some switching to handle > > c7 as well as something new that works completely differently (maybe > > call it src). All still open issues. >=20 > I suggest to write a new Uses/xxx.mk for this. Much more easy for you to = do > what you want, and less error prone and less QA to do for the existing > linux_base stuff. Thanks! Actually, I had this thought already but was unsure about it. So, someone else suggesting exactly the same is quite convincing. My goal is to replace -c7 with my project, but of course, even if that succeeds, it means both userlands will need to coexist for quite some time, and that's probably indeed easier with completely separate Uses. > > 2.) Could you please elaborate how e.g. some config file "visible" to > > the Linux processes could "pollute" a Linux build? Besides, this could > > only affect files from base /etc I think... >=20 > Well... the config part was more to highlight what the linux_base ports u= se > the fallthrough for. In case of building I worry more that some includes > from /usr/local are used than anything else. Also some other stuff > configure-runs might pick-up from the installed FreeBSD ports. I assume/hope that's a minor risk. /usr/local is not in the standard search paths of the toolchain, so, must be added explicitly. A build system doing that without being requested to do so would be pretty much broken. Furthermore, the toolchain is built --with-sysroot=3D/compat/linux so prepends that to all the system search paths. Configure scripts finding *tools* in FreeBSD's /usr/local *might* be a risk. Not an issue building with poudriere (the build jail will only have what we want), but maybe an issue when someone builds the ports in a live system. Well, we will see :) At least, I already have the first ports building fine using shell and make from the Linux userland, e.g. here: https://github.com/Zirias/zfbsd-ports/blob/linux/sysutils/linux-man-db/Make= file Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --pr6a2ixrlujzdhyn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZORoxV8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MbsqAQCA+cGpGpXlMbtYtMwS2gGaCYDrjEyDp+0J+iyKnyZOugD/VEbrJ0ztd9ib IPWJ1XYLEkuNQBQFiGA/6ZJzfqExfg4= =I6iy -----END PGP SIGNATURE----- --pr6a2ixrlujzdhyn-- From nobody Tue Aug 22 11:59:02 2023 X-Original-To: emulation@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 4RVSZP6JJ5z4qnsd; Tue, 22 Aug 2023 11:59:41 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RVSZP3rnzz3R8M; Tue, 22 Aug 2023 11:59:41 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-525597d891fso5587692a12.3; Tue, 22 Aug 2023 04:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692705580; x=1693310380; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=PNJxVEEufSjIJpy9dQ/De+bqMjk4iMTl84K5jKb2Ed8=; b=er9KsKInaKWetST/LqkBL9LK13nkXekZtAxCVY7CYdHOwGRT9ch8+4E26oAApBsZ1Y WfpTFxiAVbhaoBZQ9x69dwedTD1tP0pNW2fl5cd+qjllOIv4QYZHOA//y2Kko1tQDu9E NLELmsmUvNRi5HruoSw6b2/uF53nPY8RORvBdDlFa5lLN9+PBy38EVnaZbWhRqyfPtgx mywsNjMJAEpY9JJO/Kv/CL9KngfAtAlNSDK8z3vqsqCjAsHYvhKCxq1KODwXNvKAww0f 2GloOaA3dqhY124jKfBC2FijeAlc6ByljN1B3UtXj5g877CItKW8VIaL7kSene8Xxi69 4irg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692705580; x=1693310380; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PNJxVEEufSjIJpy9dQ/De+bqMjk4iMTl84K5jKb2Ed8=; b=GVDniytYucA4Hp0NBdxaAaakpMn2UdZGuUBFwZck2OzHooKOJNoMm3Y8cHh08mFUFD JHHMUKOEZSfQuKrDG3eUQVnWeygpQX1gxrEnAle/8B1b8ak1IGlmRC5ayP8Jg15kA42E hAJAUKQOFYM7W5jWs2wfnwQ82hEHnIFxTkavrlCPwCDgC+IXcvl5iUT7wSsTzNN0/SH4 488UIGF3iK5GDZ5xUsDeBoKOmEQ8SWQ9b6yoxfL88q3l/EDcFGYleOjTo6cL3Z7hJekd gC+aBhXxkRjCRC5Pb7G9qGikOdW8zBX4YRJ4xLlQmnnVKAiCWfA1OkjGqPDJtzysKqUg yM/Q== X-Gm-Message-State: AOJu0YxGno9DOKZc2/bp/1JuQRFROcuKpeEVEPnajQfroKPXTKlCXOIh sBYjkI+rcylqt4LRIZ3W26qElHrFlmtB3cEpgjLc9pchyWBZjA== X-Google-Smtp-Source: AGHT+IHvTgw+FRlPstH+n+q62qq69diVMKJJK5D0x72zN5peZQA9Ngix5apUcIH3UWQip/PH3fM0jFP7rTDi45Pm4y4= X-Received: by 2002:a17:906:8a55:b0:99b:4bab:2838 with SMTP id gx21-20020a1709068a5500b0099b4bab2838mr7836366ejc.0.1692705579556; Tue, 22 Aug 2023 04:59:39 -0700 (PDT) List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 References: <67ea2b0e1f9ed5c695fb50c3d9a1d378@Leidinger.net> <87jztn5ogj.fsf@norwegianrockcat.com> In-Reply-To: <87jztn5ogj.fsf@norwegianrockcat.com> From: Mario Marietto Date: Tue, 22 Aug 2023 13:59:02 +0200 Message-ID: Subject: Re: Building a Linuxulator userland from source To: Trenton Schulz Cc: Felix Palmen , emulation@freebsd.org, ports@freebsd.org Content-Type: multipart/alternative; boundary="000000000000c76177060381bab6" X-Rspamd-Queue-Id: 4RVSZP3rnzz3R8M X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] --000000000000c76177060381bab6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable CentOS has been replaced already successfully with Ubuntu and Devuan. On the FreeBSD forums there are a couple of nice tutorials. BTW if we can use even different user lands,we will be even happier. On Tue, Aug 22, 2023 at 1:04=E2=80=AFPM Trenton Schulz wrote: > > Felix Palmen writes: > > > > > I assume/hope that's a minor risk. /usr/local is not in the > > standard > > search paths of the toolchain, so, must be added explicitly. A > > build > > system doing that without being requested to do so would be > > pretty much > > broken. Furthermore, the toolchain is built > > --with-sysroot=3D/compat/linux > > so prepends that to all the system search paths. > > > > Configure scripts finding *tools* in FreeBSD's /usr/local > > *might* be a > > risk. Not an issue building with poudriere (the build jail will > > only > > have what we want), but maybe an issue when someone builds the > > ports in > > a live system. > > > > Well, we will see :) At least, I already have the first ports > > building > > fine using shell and make from the Linux userland, e.g. here: > > > https://github.com/Zirias/zfbsd-ports/blob/linux/sysutils/linux-man-db/Ma= kefile > > This is really fascinating work, and I see value in this even if > some other way of doing things eventually replaces the Centos-7 items. > > Some of this has a bit of overlap with Gentoo prefix > (https://wiki.gentoo.org/wiki/Project:Prefix), where one puts the > bare bones of a Gentoo distro under a "prefix" (for example, > /compat/linux), but then you can use Gentoo's portage > infrastructure to build the other parts of the system. > > I imagine, you are maybe thinking of your own set of linux-* in > the ports tree, but this might also be useful area to borrow from? > > Anyway, I'll lurk back into the shadows to see how this develops. > > Best regards, > > -- > Trenton > > --=20 Mario. --000000000000c76177060381bab6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
CentOS has been replaced already successfully with Ubuntu = and Devuan. On the FreeBSD forums there are a couple of nice tutorials. BTW= if we can use even different user lands,we will be even happier.

On Tu= e, Aug 22, 2023 at 1:04=E2=80=AFPM Trenton Schulz <trenton@norwegianrockcat.com> wrote:
Felix Palmen <zi= rias@freebsd.org> writes:

>
> I assume/hope that's a minor risk. /usr/local is not in the
> standard
> search paths of the toolchain, so, must be added explicitly. A
> build
> system doing that without being requested to do so would be
> pretty much
> broken. Furthermore, the toolchain is built
> --with-sysroot=3D/compat/linux
> so prepends that to all the system search paths.
>
> Configure scripts finding *tools* in FreeBSD's /usr/local
> *might* be a
> risk. Not an issue building with poudriere (the build jail will
> only
> have what we want), but maybe an issue when someone builds the
> ports in
> a live system.
>
> Well, we will see :) At least, I already have the first ports
> building
> fine using shell and make from the Linux userland, e.g. here:
> https://github.c= om/Zirias/zfbsd-ports/blob/linux/sysutils/linux-man-db/Makefile

This is really fascinating work, and I see value in this even if
some other way of doing things eventually replaces the Centos-7 items.

Some of this has a bit of overlap with Gentoo prefix
(https://wiki.gentoo.org/wiki/Project:Prefix), where = one puts the
bare bones of a Gentoo distro under a "prefix" (for example,
/compat/linux), but then you can use Gentoo's portage
infrastructure to build the other parts of the system.

I imagine, you are maybe thinking of your own set of linux-* in
the ports tree, but this might also be useful area to borrow from?

Anyway, I'll lurk back into the shadows to see how this develops.

Best regards,

--
Trenton



--
Mario.
--000000000000c76177060381bab6-- From nobody Tue Aug 22 12:12:42 2023 X-Original-To: emulation@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 4RVSsX0Bt6z4qpNh; Tue, 22 Aug 2023 12:12:48 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RVSsV5BwJz3Tbj; Tue, 22 Aug 2023 12:12:46 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=i3Mq6tNC; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=TTi+6dDVvUJ4vXlQ3PFH8LTNTfflzsHT5/S8Uvz36lQ=; b=i3Mq6tNCr9i3tFFFVWDOzd2cY2 GgCZUklK+CQlnALG1Q/7YwYh83lMmeDZMH1bCCpWSaHPVgbvy+/krlnJ9nfYPO5UEXF9peSfnyHHs A8LAOdiwGT4M5zSRI2UXdXTVdaO8PpQRi/JLD5ccPkO7ooYdJzatxnwBYEPP/BBtnA1wAmTKQLpaA aHh3JCgbLJJ9m1poRerwND0JPUyjbAo642rim3T5Dz/V3v8anBswRLaqqABojNDNvrZ+sHAs1OkzI 3Vt3IAEvuo7pkQSY4vMH12B/ctRshpDPtW3ZnIWYOdJ4FDh5yQWNc5+lAnkPZquAuwe1M9b/aPszK vv3up5SA==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qYQFW-00ARd9-RT; Tue, 22 Aug 2023 14:12:42 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qYQFW-000AVR-1u; Tue, 22 Aug 2023 12:12:42 +0000 Date: Tue, 22 Aug 2023 14:12:42 +0200 From: Felix Palmen To: emulation@freebsd.org, ports@freebsd.org Subject: Re: Building a Linuxulator userland from source Message-ID: Mail-Followup-To: emulation@freebsd.org, ports@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: <67ea2b0e1f9ed5c695fb50c3d9a1d378@Leidinger.net> <87jztn5ogj.fsf@norwegianrockcat.com> List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ry4cidmrgdac7uo7" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-7.49 / 15.00]; SIGNED_PGP(-2.00)[]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.987]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[emulation@freebsd.org,ports@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ------- X-Rspamd-Queue-Id: 4RVSsV5BwJz3Tbj --ry4cidmrgdac7uo7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Mario Marietto [20230822 13:59]: > CentOS has been replaced already successfully with Ubuntu and Devuan. No. You can install whatever you like in some Linux jail, you could even use it as an alternate compat.linux.emul_path if you want, in both cases it will partially work. You *won't* get e.g. full unhindered access to the whole / filesystem tree, you won't be able to use FreeBSD ports/packages of Linux software with it, and so on. FreeBSD's official Linuxulator userland is -c7, nothing has been replaced. Please stop spreading such unfounded claims. Bye, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --ry4cidmrgdac7uo7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZOSmNV8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny Me1IAQD7F8M5K4JgkoS+ba2KkZ0KbYUbUmWRuxgN45+2pqKK3gEA3F6glilEWCg4 QrMGmv/i6BnHMYwHxyo+BArKKCtqfws= =UUPx -----END PGP SIGNATURE----- --ry4cidmrgdac7uo7-- From nobody Tue Aug 22 12:20:01 2023 X-Original-To: emulation@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 4RVT2c42PNz4qq5f; Tue, 22 Aug 2023 12:20:40 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RVT2b30Gfz3VM0; Tue, 22 Aug 2023 12:20:39 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=SGNlXVb8; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::632 as permitted sender) smtp.mailfrom=marietto2008@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-991c786369cso587611766b.1; Tue, 22 Aug 2023 05:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692706837; x=1693311637; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=ow7HVm/2U5pg9BmJrgug5Yzt4E7t6qNmAusDjildQXc=; b=SGNlXVb86nwT+5P63hK3evUPHvIkLdBPqNGwZgTnlFpqahaIkKl28v0h2CDeM6272X JgeVMyy3wVLz7ddOh22BU8aQluukPzSWP43CbV8XT5GqmQIWPwmtfbBNs8i7G7M3i+CR Cx/PSrydaLhl5qCPxNxpjJ59bJ4Eig2PMsx4U5lfnESOdYLRPdT4cBwXeCpBm7V0LM7e 2dtNBPi5afl+f2QJLEJMCyZ1ehDwrm3AaMdiJprx5h9Z5WT6YFeMyB9EY7XbDbwhXUK0 h1tvNLYZCRoLkEywt5vi0CrFMQ1wTC/JxTIR4dtA09M4mfqFVANS0Um+f5IprL7qDlVV v9+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692706837; x=1693311637; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ow7HVm/2U5pg9BmJrgug5Yzt4E7t6qNmAusDjildQXc=; b=QtzzBhwP2ragmIFFZzjHkGJPm9IXYgnVVjjCrTzNRYOsvrne1cQjTWOTwsXO+G4T4t 9BBLAXjOc7ppYFwoBYXcBYG+9t+ZjV+37YUlAMWp+DUha6igwUMtl+/uAYHICIc9kjbO o8AAmTJ5iOdS43d2r12il7F9YCFfuwFNGZwmOVYVmWqO9ylLL0ZeQ/qgBHxKNwM/rEl8 CHf+VYVpcNVRNny9GCAc/OqZwWjO7iaevG0QCFfnqQIOOq3xin1vQ3a2Ucv1IsHYpxMB vqbC6PuM5egNHcGtxvXhtlVVLLOah88xvre5YT1UIzaVwnRJuiyIJv/qX7oW8EzObaIp eE+Q== X-Gm-Message-State: AOJu0Yy6fyjyNidKUHnCo4lvUQz2tzdlJLU8vrsT5gRVEJWpWqT5yzIJ aqsW9YbiSLz2uYY/vTbpIpgcGF92AIw/4NDhzeEFgqVOSGRMcA== X-Google-Smtp-Source: AGHT+IHw8r4WDpZCdPBATo/keD4BeBBanOgwKgIaim/JVhrIA+YBpC98Zb6eiTd/3Pos/C4hMnwv6mjE8kui9iAjfCY= X-Received: by 2002:a17:907:2ccc:b0:99c:c50f:7fb4 with SMTP id hg12-20020a1709072ccc00b0099cc50f7fb4mr7023845ejc.1.1692706837459; Tue, 22 Aug 2023 05:20:37 -0700 (PDT) List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 References: <67ea2b0e1f9ed5c695fb50c3d9a1d378@Leidinger.net> <87jztn5ogj.fsf@norwegianrockcat.com> In-Reply-To: From: Mario Marietto Date: Tue, 22 Aug 2023 14:20:01 +0200 Message-ID: Subject: Re: Building a Linuxulator userland from source To: emulation@freebsd.org, ports@freebsd.org Content-Type: multipart/alternative; boundary="000000000000c1757c06038205c8" X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.99)[-0.992]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MLMMJ_DEST(0.00)[emulation@freebsd.org,ports@freebsd.org]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::632:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4RVT2b30Gfz3VM0 --000000000000c1757c06038205c8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ---> you won't be able to use FreeBSD ports/packages of Linux software with it... I'm interested to understand what you mean better here....can you elaborate using different words ? thanks. On Tue, Aug 22, 2023 at 2:13=E2=80=AFPM Felix Palmen w= rote: > * Mario Marietto [20230822 13:59]: > > CentOS has been replaced already successfully with Ubuntu and Devuan. > > No. You can install whatever you like in some Linux jail, you could even > use it as an alternate compat.linux.emul_path if you want, in both cases > it will partially work. > > You *won't* get e.g. full unhindered access to the whole / filesystem > tree, you won't be able to use FreeBSD ports/packages of Linux software > with it, and so on. > > FreeBSD's official Linuxulator userland is -c7, nothing has been > replaced. Please stop spreading such unfounded claims. > > Bye, Felix > > -- > Felix Palmen {private} felix@palmen-it.de > -- ports committer -- {web} http://palmen-it.de > {pgp public key} http://palmen-it.de/pub.txt > {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 > --=20 Mario. --000000000000c1757c06038205c8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
---> you won't be able to use FreeBSD ports/pa= ckages of Linux software with it...

I'm intere= sted to understand what you mean better here....can you elaborate using dif= ferent words ? thanks.

On Tue, Aug 22, 2023 at 2:13=E2=80=AFPM Fe= lix Palmen <zirias@freebsd.org= > wrote:
* Ma= rio Marietto <marietto2008@gmail.com> [20230822 13:59]:
> CentOS has been replaced already successfully with Ubuntu and Devuan.<= br>
No. You can install whatever you like in some Linux jail, you could even use it as an alternate compat.linux.emul_path if you want, in both cases it will partially work.

You *won't* get e.g. full unhindered access to the whole / filesystem tree, you won't be able to use FreeBSD ports/packages of Linux software=
with it, and so on.

FreeBSD's official Linuxulator userland is -c7, nothing has been
replaced. Please stop spreading such unfounded claims.

Bye, Felix

--
=C2=A0Felix Palmen <zirias@FreeBSD.org>=C2=A0 =C2=A0 =C2=A0{private}= =C2=A0 =C2=A0felix@= palmen-it.de
=C2=A0-- ports committer --=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0{web}=C2=A0 http://palmen-it.de
=C2=A0{pgp public key}=C2=A0 http://palmen-it.de/pub.txt
=C2=A0{pgp fingerprint} 6936 13D5 5BBF 4837 B212=C2=A0 3ACC 54AD E006 9879 = F231


--
Mario.
--000000000000c1757c06038205c8-- From nobody Tue Aug 22 12:29:14 2023 X-Original-To: emulation@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 4RVTDY3mcxz4qqKM; Tue, 22 Aug 2023 12:29:17 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RVTDX5T3hz3Wgv; Tue, 22 Aug 2023 12:29:16 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=p2fQg3G1; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Sa42HHtQVoRx40mG77SQ8IzwKO8tI9f94oe8XV3WT2g=; b=p2fQg3G1v6sDR5vtczRhiPyYaK vO6nJ6RZ7gb1yMGkOLzeMycBY4Zu/jneevGZshp8DRtzBQhw404/KbSx20eDyPtf0gSTxbAyrkax9 3KpRra0+quEHArWyxKCNo/Zp2SzcNqFijXCpKbYWlP3dQDRmHfLt3fMhoGtczUt9yl9h4fPnnBZ60 6sb84JBkCzHo1fMdMo9+3cswfrBgHRWGGnrsx4TcgWbr+0cPVJ+nwfAbloa8dNwgJ3HlU7mTetu53 ZRkHHq0CXpaAiOn5KuIt4dTXcn0OQHw1yuTbQTvCT1Kc+gGSW+8Vmx0GLcnbv7H0uzNTUHpYK0B6v TJ/tBuRQ==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qYQVX-00ARix-9H; Tue, 22 Aug 2023 14:29:15 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qYQVX-000AZK-0F; Tue, 22 Aug 2023 12:29:15 +0000 Date: Tue, 22 Aug 2023 14:29:14 +0200 From: Felix Palmen To: ports@freebsd.org, emulation@freebsd.org Subject: Re: Building a Linuxulator userland from source Message-ID: Mail-Followup-To: ports@freebsd.org, emulation@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: <67ea2b0e1f9ed5c695fb50c3d9a1d378@Leidinger.net> <87jztn5ogj.fsf@norwegianrockcat.com> List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7ed5xh32opvye5bg" Content-Disposition: inline In-Reply-To: <87jztn5ogj.fsf@norwegianrockcat.com> User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-7.49 / 15.00]; SIGNED_PGP(-2.00)[]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.991]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[ports@freebsd.org,emulation@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ------- X-Rspamd-Queue-Id: 4RVTDX5T3hz3Wgv --7ed5xh32opvye5bg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Trenton Schulz [20230822 12:55]: > This is really fascinating work, and I see value in this even if some oth= er > way of doing things eventually replaces the Centos-7 items. Thanks a lot! > Some of this has a bit of overlap with Gentoo prefix > (https://wiki.gentoo.org/wiki/Project:Prefix), where one puts the bare bo= nes > of a Gentoo distro under a "prefix" (for example, /compat/linux), but then > you can use Gentoo's portage infrastructure to build the other parts of t= he > system. Hm, kind of interesting project ;) well sure, might be another source to look at when hitting some weird issues. But using "portage" IMHO wouldn't make much sense, we already have our ports system ;) > I imagine, you are maybe thinking of your own set of linux-* in the ports > tree, but this might also be useful area to borrow from? >=20 > Anyway, I'll lurk back into the shadows to see how this develops. Well, I guess it'll take me a few days to stabilize stuff and a few *more* days to create some helpful USING for it ... but then, I'll try to build some additional libs and find some proof of concept of some Linux binary (closed-source?) working on it. That's the rough plan ... I have some hopes ;) Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --7ed5xh32opvye5bg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZOSqGl8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MTpwAQDuoSbLaGDznxptEvB6Vdm4S5lSHP64B57Ir48G5qpxNwEA1aymZRTPhOO7 kOKclRZkXBIFo9L5QD1NswzWpxVU1A0= =TMpj -----END PGP SIGNATURE----- --7ed5xh32opvye5bg-- From nobody Tue Aug 22 17:34:54 2023 X-Original-To: emulation@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 4RVc1G3PWGz4rB2K; Tue, 22 Aug 2023 17:34:58 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RVc1F2RYNz3JCv; Tue, 22 Aug 2023 17:34:57 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 3.97.99.33) smtp.mailfrom=cy.schubert@cschubert.com; dmarc=none Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id YPemq5Jvi6NwhYVHMqlgl8; Tue, 22 Aug 2023 17:34:56 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPA id YVHKqfddPcyvuYVHLqctzW; Tue, 22 Aug 2023 17:34:56 +0000 X-Authority-Analysis: v=2.4 cv=VbHkgXl9 c=1 sm=1 tr=0 ts=64e4f1c0 a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=UttIx32zK-AA:10 a=NEAV23lmAAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=4_OX2hlAZIYq54eyqsUA:9 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 4EC2473B; Tue, 22 Aug 2023 10:34:54 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 458DB237; Tue, 22 Aug 2023 10:34:54 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: ports@freebsd.org, emulation@freebsd.org Subject: Re: Building a Linuxulator userland from source In-reply-to: References: Comments: In-reply-to Felix Palmen message dated "Fri, 18 Aug 2023 08:23:24 +0200." List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 22 Aug 2023 10:34:54 -0700 Message-Id: <20230822173454.458DB237@slippy.cwsent.com> X-CMAE-Envelope: MS4xfHCESfJPhhALX4FzCyuJFjQYyGpMM+TrEhRfC9LcaCNLt08qeXnv9Xs2QnQIjqfcmwdgZYXOzfv86ed620I/OUMpZ2Dhp3x8fqklQz3CbtQbVFulGzn8 0z3EagfhD2hcAvYv3b+Vg5o40M65/iZWceCrkv/jxqrlY7RuNVLYg9aqn4rrvbxXvonZmzvFYSB35ZL/CGCGkqTqNZLh0gqxpRyIePCO+2tP/PBV0NsPmsyK X-Spamd-Result: default: False [-2.06 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.96)[-0.964]; MV_CASE(0.50)[]; RWL_MAILSPIKE_EXCELLENT(-0.40)[3.97.99.33:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[3.97.99.33:from]; MLMMJ_DEST(0.00)[ports@freebsd.org,emulation@freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[cschubert.com]; REPLYTO_EQ_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com] X-Spamd-Bar: -- X-Rspamd-Queue-Id: 4RVc1F2RYNz3JCv In message , F elix Palmen writes: > Hi all, > > for the last two weeks, I've been working on a spike in ports which now > reached a state where I want to show it to and discuss it with fellow > ports hackers. > > First, a link to my feature branch (warning, will be rebased every now > and then): > > > The goal is to create a replacement for the now antiquated linux-c7 > userland. While the classic approach would be to find another Linux > distribution that's not too much of a moving target and start > "repackaging" that, I want to try something different: Build the > required packages from source. > > ** Why > > It will be quite some work to do this, I'm not really sure about it yet > (and how it would compare to the repackaging approach), so feasibility > is yet to be decided. But I hope to get at least these two advantages: > > - Provide the newest GNU libs (glibc, libstdc++, ...) built against > exactly the Linux version emulated by the FreeBSD version this will > run on. This should make it possible to run a lot more Linux binaries > without relying on e.g. Linux jails. > - When binaries don't work for missing Linux libraries, make it somewhat > easy to add them, maybe based on already existing FreeBSD ports. > > ** State > > I just reached a state where I can build a working Linux-native GNU > toolchain (binutils, glibc, gcc) for C and C++ on aarch64, amd64 and > i386. From here on, it should be simpler, there are already two ports in > my branch (archivers/linux-bzip2 and archivers/linux-xz) using that > native toolchain for building. > > ** How > > The native toolchain is built by a cross toolchain, the packages for > this cross-toolchain are prefixed "lxcross-". For building this cross > toolchain, bootstrapping versions of binutils and gcc are needed to > build the initial glibc, these versions are suffixed "-bootstrap". > > lxcross ports set PREFIX to ${LXCROSSBASE}, which defaults to > ${LOCALBASE}/linux-cross. lxcross-*-bootstrap ports set PREFIX to > ${LXBOOTSTRAP}, this one defaults to ${LXCROSSBASE}/bootstrap. > > ** Open issues > > This is an unordered list off my head, so most likely incomplete. > > - Some trickery with PREFIX is currently needed. The ports framework > expects PREFIX to be used as is by the upstream build system. This > won't hold for building Linux packages, PREFIX must be /compat/linux > for that, but passed to the upstream build system in DESTDIR. > - LIB_DEPENDS don't work, which could probably be solved in the > framework. Right now, I'm using a hacky workaround to define > LINLIB_DEPENDS and add it to both RUN_ and BUILD_DEPENDS. > - A lot of smaller things that *should* be provided by the framework, > some of them probably by USES=3Dlinux, are currently copy&pasted to > every port needing them. I wanted to keep it simple while first trying > to get it to work, so the framework isn't touched yet at all. > - Some stage-qa checks get confused, some (e.g. checking that everything > is stripped) don't work. > - In my tests, "poudriere testport" failed at least on i386, because it > mounts linprocfs on /compat/linux/proc and then tries to remove > /compat/linux (remove pre-existing PREFIX). To test the ports, I had > to slightly modify the testport script for now. > - For the Linux headers, there should be a metaport picking the Linux > version based on ${OSVERSION}. This doesn't exist yet, Linux 4.4.x is > always used. > - Building the final linux-gcc ports, I get weird error messages > directly to poudriere's terminal (they do NOT appear in the build > log!) like this: > ELF interpreter /usr/lib/ld-linux.so.2 not found, error 2 > I have no idea where this comes from, so far I couldn't identify any > negative effect though. > > Acknowledgement: I found quite some useful info for doing this in the > "Linux from Scratch" book. Of course you can't just follow the book > (very different scenario, it assumes building on Linux and not doing any > staging/packaging), but it *does* have some helpful hints. > > Cheers, Felix Basically this would become another Linux distro, albeit a virtual one that runs under our Linuxulator. Avoiding discussion about packaging -- we can package this any way we wish -- how will this support software written for distro A, B, or C. For example, Red Hat software doesn't neccesarily run on SuSE or Ubuntu because shared library dependencies may be different. Building our own "distro" to run under the Linuxulator may require a complete set of packages and end-user applications because existing Linux software may require a Fedora, Debian or Red Hat library. Wouldn't this negate the need for a Linuxulator because a person can build most Linux software to run on native FreeBSD. I think a better path might be to support multiple Linux userlands in parallel. Thus a user could simply copy or install vendor software for a Red Hat in one environment and a SuSE vendor software in another. If the intention is to duplicate what a distro or different distros do, this would seem like a lot of extra work for little or no signficant advantage. If the decision is to pursue this, we should also continue to support various other distributions binary packages so that vendor software built to run on distro A can run under FreeBSD's Linuxulator. Linux cross distro dependencies is a minefield and adding a "virtual" distro IMO only adds to the problem. I have to deal with this at $JOB. End-users don't understand it because to non-technical Linux end users, like management, Linux is a homogeneous thing. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0 From nobody Wed Aug 23 05:15:36 2023 X-Original-To: emulation@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 4RVvYj2H6Cz4r5kT for ; Wed, 23 Aug 2023 05:15:37 +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 4RVvYh3V2Fz4FTP for ; Wed, 23 Aug 2023 05:15:36 +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=1692767736; 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=YsFY0FfIJ8lRW6q3dzCtHzm8BG6y3NdNp/8DVTy1U4Q=; b=F0LqhW6KB8ULXYCGV8Tkihv034nN2gA2omYxrrCkMrf/Ecui7AYpS8DYu8/+4UMPsryUT4 4H6LX8HRH/CtmkqThn6aG3YjbBDMFXR4I1rjLVw+AiPn0N9RKKuf4zK1jsTx28zgpy29Dd NgNW0eCv+Owc9sSiP0pvDEwJa+V+DOnqdoWqkhR9XQrYEU3erii9UasTaWKwoiqX2W/HBB zjtD6k1XmS9mECaUFWczWFUXEAUXqklQGK8f1LNK8e5lHF8ns/geI5iTiBxj+gnJXvNNOt lFtMDnmRfX9B02xWSMjbBilGzdKwEED1ZKQW1vmXZesYrXd/nAznXi93mU8TTw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692767736; a=rsa-sha256; cv=none; b=o33rv4m5ykdV68zI7S5csWv0TwnFXYCC4Oq6q8wBlbmnIu0Yi86W4dYwRszCLkWPEJgQ2m ceLIDNT/UB8MrcV3Hh233yjAm2SaZ5Q5Ga/sCWcqAeEcfVKU9fZXcf7WZy8J9IS5HXPyEo rNimz/VrRPz53cRhmzJ1tiazstaxFRQSduh+soQcRu4ulg1qV+k6O7cV1JjU8VirBB9Q4N HG88LaAS8t8z4Ya7DFWAwIdfjqysQptnlvzrJ9Kdol/vU4i8eBVKn2ymSizINefcD4Byny W7tg35L99R4H33QKJaFhazCgUO/dNm+xJi8Rf6JlbMsxlyXk8h5+c73tIAumAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RVvYh2S7WzY6G for ; Wed, 23 Aug 2023 05:15:36 +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 37N5FaBv034903 for ; Wed, 23 Aug 2023 05:15:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37N5FanT034902 for emulation@FreeBSD.org; Wed, 23 Aug 2023 05:15:36 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: emulation@FreeBSD.org Subject: [Bug 250823] linuxulator mkdir in jail breaks mount Date: Wed, 23 Aug 2023 05:15:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250823 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|emulators@FreeBSD.org |emulation@FreeBSD.org --- Comment #8 from Mark Linimon --- Canonicalize assignment. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Aug 23 06:21:18 2023 X-Original-To: emulation@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 4RVx1b11Fcz4r91n; Wed, 23 Aug 2023 06:21:23 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RVx1Y6sJsz4MX4; Wed, 23 Aug 2023 06:21:21 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=263CkQkC; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=KSM9KdcXjwigYnW+lhGsXMb2Va0Z1OQL6ijJAGI9stk=; b=263CkQkC2Mrc1OxVNMdiJaeHZ/ yu+JzeiO+eLgx96JTm0VhvnKL1KUvGYHFCQJHhzOth0arnIL7F8E0qW0zrTPlSlxwXoN/zZW3qb7y C6vyxrvjS7wgKfDHaOUvfIC4ls77lGf+ZdDDEnpqyIGuOsMFY3faRyqsY/uCqqRdqm/xaSBoxkYI+ VTH3uiUoPk+gn1fzECFlL49Cj9VmXnqHSamXl5jEhOxEbIkqq4CT+iKNXt3JD7eNCBa4gdZ8alnAF N1730Za9uapSJ5oEd5Hx/lf7EUVwO0B4l5CYjiQUNer3/ZlQwKD6daFhb0aTVBA0fXOWkMIzAFxRY j8h/ThuQ==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qYhF1-00AVjV-4K; Wed, 23 Aug 2023 08:21:19 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qYhF0-000GR9-2l; Wed, 23 Aug 2023 06:21:18 +0000 Date: Wed, 23 Aug 2023 08:21:18 +0200 From: Felix Palmen To: ports@freebsd.org, emulation@freebsd.org Subject: Re: Building a Linuxulator userland from source Message-ID: Mail-Followup-To: ports@freebsd.org, emulation@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: <20230822173454.458DB237@slippy.cwsent.com> List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2zzqyfoujavmzr2n" Content-Disposition: inline In-Reply-To: <20230822173454.458DB237@slippy.cwsent.com> User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-7.49 / 15.00]; SIGNED_PGP(-2.00)[]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[ports@freebsd.org,emulation@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ------- X-Rspamd-Queue-Id: 4RVx1Y6sJsz4MX4 --2zzqyfoujavmzr2n Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Cy Schubert [20230822 10:34]: > Basically this would become another Linux distro, albeit a virtual one > that runs under our Linuxulator. And also a pretty minimal one. Right now, I'm just building a truly minimal userland (the GNU toolchain, openssl, GNU make/grep/sed/awk, GNU coreutils and man-db) and working on putting together some sane USES for that. > Avoiding discussion about packaging -- we can package this any way we > wish -- how will this support software written for distro A, B, or C. > For example, Red Hat software doesn't neccesarily run on SuSE or > Ubuntu because shared library dependencies may be different. >=20 > Building our own "distro" to run under the Linuxulator may require a > complete set of packages and end-user applications because existing > Linux software may require a Fedora, Debian or Red Hat library. > Wouldn't this negate the need for a Linuxulator because a person can > build most Linux software to run on native FreeBSD. Well first, when I ask why "Linuxulator" is needed, the answer in my head is: Mostly for closed-source Linux software. Because exactly as you say, anything else should better be ported and built to run natively on FreeBSD, if possible. Now, maybe I'm looking at the wrong software? In my experience with closed-source Linux Software, sure, it *might* offer distribution-specific packages, but almost always offers a plain binary tarball as well. The latter could easily be used to create a port (like was done in the past as well in our tree), and then it's just a question of adding ports for the (hopefully few) shared libraries needed by this software. > I think a better path might be to support multiple Linux userlands in > parallel. Thus a user could simply copy or install vendor software for > a Red Hat in one environment and a SuSE vendor software in another. This would be the consequence if you really want to support distribution-specific software packages. I don't think it's feasible in practice, at least it would make it very hard to still have ports of Linux software (like my makemkv port), these would need to build and run with any of these userlands. To challenge my source-based approach, I'm looking for "proof of concept" closed-source software to try get running with it, I'll probably start with makemkv because I already maintain that port. Open to suggestions what else to test there. In the end, getting to run e.g. Google Chrome would be perfect, but I imagine this requires creating a lot of ports for shared libs first. Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --2zzqyfoujavmzr2n Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZOWlTV8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny McrxAPoDIHXujGgQk0YiT2hIgGk4hBh3HEs2i2jmqy3pAvTEhAD+PYAB0BDP8Ewn 4/90/P1rqxQcZx6G2wOpu+XEdDHEzQo= =70m2 -----END PGP SIGNATURE----- --2zzqyfoujavmzr2n--