Date: Wed, 27 Sep 2023 13:00:31 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Guido Falsi <madpilot@freebsd.org> Cc: Charlie Li <vishwin@freebsd.org>, Kurt Jaeger <pi@freebsd.org>, "freebsd-ports@FreeBSD.org" <freebsd-ports@freebsd.org>, pizzamig@freebsd.org, rust@freebsd.org Subject: Re: sccache(-overlay) to speed up rust builds in poudriere Message-ID: <671c7d2e704afc4a29cb45461311fcc3@Leidinger.net> In-Reply-To: <99e008c3-4047-4fb6-92df-d0a16a637efb@FreeBSD.org> References: <ZRGiDj-esOAc9K_Z@lordcow.org> <SI2PR01MB50362BF55FD9A3A7395450A2FAC3A@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> <2e1786f2-1aae-7199-5a3e-5d8c9cdbedbf@FreeBSD.org> <d5f5c7cfb550ab7b4b7421528846a9d8@Leidinger.net> <ZRLJRuki6D2Np0JY@fc.opsec.eu> <3fc3bf626fa452be730bcc96d2c10508@Leidinger.net> <e76aa02f-1cfa-d71d-7a63-fef9de23c619@freebsd.org> <3997509d72dcdbd9075274bee41cf255@Leidinger.net> <99e008c3-4047-4fb6-92df-d0a16a637efb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?671c7d2e704afc4a29cb45461311fcc3>