From nobody Wed Sep 27 11:00:31 2023 X-Original-To: freebsd-ports@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 4RwYZZ5Qkgz4vJHS for ; Wed, 27 Sep 2023 11:01:26 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (P-256)) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RwYZZ3cY8z3f9t; Wed, 27 Sep 2023 11:01:26 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; none List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1695812480; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kIfYEpp7djZGLc1RKXNykVaBlA8mCgLJphsLv9tAaSQ=; b=pKIUVj+ThTpVpoc/Sh2hNVhjRxzCYOoxaTB+0aAdB23uWKxqmKEJLmsHQz/SpYGxijmfQ7 Sbvi4JQojnYkg7CYOwwe5BhWrGjRG8iMXinmo1nRBFRCT2YF48egtoMka5/SOfeHWzkzpt cDLaiBrhzNZ+p5toW6zlSDrMyv2kYwzTtN4GyKL1LU9kgW50Tw83SiYgUTX6dJdKXHzmDg aI9RT71fRMKiH3vWkFAn59J+dZWqVNSijAj19kbPDE/E/GL/aIevkwD0QRtsKF8JPAqsjB Ktrlu691rFsc0GgUdh+hPw9R7oMICjb4NwRtOU5109yKKeAGkQJUtb4sl0EBqA== Date: Wed, 27 Sep 2023 13:00:31 +0200 From: Alexander Leidinger To: Guido Falsi Cc: Charlie Li , Kurt Jaeger , "freebsd-ports@FreeBSD.org" , pizzamig@freebsd.org, rust@freebsd.org Subject: Re: sccache(-overlay) to speed up rust builds in poudriere In-Reply-To: <99e008c3-4047-4fb6-92df-d0a16a637efb@FreeBSD.org> References: <2e1786f2-1aae-7199-5a3e-5d8c9cdbedbf@FreeBSD.org> <3fc3bf626fa452be730bcc96d2c10508@Leidinger.net> <3997509d72dcdbd9075274bee41cf255@Leidinger.net> <99e008c3-4047-4fb6-92df-d0a16a637efb@FreeBSD.org> Message-ID: <671c7d2e704afc4a29cb45461311fcc3@Leidinger.net> X-Sender: Alexander@Leidinger.net Organization: No organization, this is a private message. Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=_f6c4c9b7723e13241de864b5b8a67507"; micalg=pgp-sha256 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:34240, ipnet:89.238.64.0/18, country:DE] X-Rspamd-Queue-Id: 4RwYZZ3cY8z3f9t This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --=_f6c4c9b7723e13241de864b5b8a67507 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Am 2023-09-27 12:57, schrieb Guido Falsi: > On 27/09/23 12:54, Alexander Leidinger wrote: >> Am 2023-09-27 10:56, schrieb Charlie Li: >> >>> In poudriere, apart from the fetch phase, network access is not >>> allowed by default so spawning a server that listens on an IP that >>> does not necessarily exist that clients, individual compiler >>> invocations, talk to isn't tenable. At the very least, one would need >>> to architect and implement Unix domain socket support there, which >>> they are happy to consider. >> >> How is poudriere preventing network access outside the fetch phase? > > two (undocumented) guesses: > > - removing interfaces (including lo0) Then the sccache cache directory shouldn't contain files in my test. > - no routing Then the localhost connection still works and sccache should work (which would match my empirical test results). Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_f6c4c9b7723e13241de864b5b8a67507 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc; size=833 Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmUUC2AACgkQEg2wmwP4 2IZWNA//ZWR8//WGfIjok+kOtO4yT/7xiqYtq4ZuMuZCGaHRX/o2k1nmvSYBvY4W DSMRa5pkaATxQWp5Ttqw78m7TwLKjQsek+zjAkljlj13zKC3c5lwQ52K1QPO+cQs rMm7mkklTvlHs+jbt+BR5CZCxqHC0z8zep8D+Tz9iHnXV5jfMqMr3IDCQzKqRwOF 6X62cS9c2DW2m/LCqWRxejhqa1VQz4QkAR6uZi/hhg0uE1XYXhOQp6TsWFsHL2hS 163olnGy1NtAeLwJzJO+NSuDG0w4r1uZ2ZcIdYs3RG2XQW51lw4mP24qjo8mDUhC yFyNwb5+vFHKAN31WrgdmowLHOmttPIlUe3tkr2v6j+Z4Rf0vwbz60d8d5yhuvVP fBFZCGBrTuvEk+pvmOZGs3JkbZD04cE4JgV0O6aVsAD4H0tWR2EAEut0ysRk4F3A cIKorWWflDfgkIx4mrxtOTAdBhivAZDdRqs/po9tlc74KHa88cXvYU0ds6y4VCJt WP6RUtCd897KI9sOyoXYi7GX8Dn+89FurJKdWSeVCbAasjYNJ/OSw9E9K4OCOEAd bsHmUshwCm90qOLm6u9KL+OoY77SsW5tLvx9HZ5sFseKJR3ec39wgHbWF1eoaQQ9 QZqODU7zXQBA1Q0V3IXgZp0bOX7p0bWyc4z8thqCmhT1y9wTMR8= =sXCW -----END PGP SIGNATURE----- --=_f6c4c9b7723e13241de864b5b8a67507--