From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3303C158042 for ; Wed, 6 Nov 2024 17:53:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74CFBE0DCC; Wed, 6 Nov 2024 17:53:25 +0000 (UTC) Received: from mail-4316.protonmail.ch (mail-4316.protonmail.ch [185.70.43.16]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0B84FE0DBF for ; Wed, 6 Nov 2024 17:53:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1730915602; x=1731174802; bh=03w31UdH+HW6TfAB77NiJHfPAbrvNYl3OmCXFEiNka4=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=QtEbGLf2z7JfFa4C4kpnfbT6cnG870gSmGG3K91nVJNS+JXLWjWAgyfhPK6pC3OfH XCdkQcZbK1vU9KmY/p0gIW9cVXOnjBt51p0c8NC2ePqUnANQzOCt1ryChInZ7XYL1O DiICRdmqL05rapreGIL9H0AGdqDM07ioRDbepPOCpAtUqWTf9kZg4KqiZzsQgh2pmd NqoRfhAIOhu/bOxokCIiaYqw2mA0d0UDt9n+zcXRyaAM2PY8ku3j9JaLNN/uYj/+mE k2ozwE37HD+8xsiy6i+gDAeFd0n+r84wNlRDq5bdjbNAlC9BRn4PnSDYmXdC+fDijP B099gnIXB+qEw== Date: Wed, 06 Nov 2024 17:53:18 +0000 To: "gentoo-user@lists.gentoo.org" From: Filip Kobierski Subject: Re: [gentoo-user] Re: Shared distfiles directory between different virtual machines Message-ID: <21cTRRe5pLJh3NFq8V_ygINis_5hYgD4Hw0UlZst_LKiFSs_CikP2OSNWta23orSqvT1b-RtaSthEJyb2JJqrVvHwMcnzQ1l9jx-6F-byW4=@protonmail.com> In-Reply-To: <3b23ce99-ad20-4131-be2a-47df87708e2c@paraboletancza.org> References: <2a1e2126-0e31-4ec5-b1ac-ae6532a83c2a@paraboletancza.org> <3b23ce99-ad20-4131-be2a-47df87708e2c@paraboletancza.org> Feedback-ID: 63527217:user:proton X-Pm-Message-ID: 2db3f613ada30762805bc4606099cae1f85fa055 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------58bc15aab9714d008e2f640e51738ca07171948247c90aebc91f1d81b8c615c7"; charset=utf-8 X-Archives-Salt: 12869ef5-1b2f-4665-b405-ce65e66d197a X-Archives-Hash: 551d1a083693166aacdd4fcf2cfb2a52 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------58bc15aab9714d008e2f640e51738ca07171948247c90aebc91f1d81b8c615c7 Content-Type: multipart/mixed; boundary=-------------------7a55f263fefc0294f02a32c831ee5562 ---------------------7a55f263fefc0294f02a32c831ee5562 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 AFAIR creating a file (adding an entry to a dir's list) is an atomic opera= tion so that problem also is solved.=0A=0A=0A-------- Original Message ---= -----=0AOn 11/6/24 18:39, whiteman808 wro= te:=0A=0A> What in case when two lock files are being created at the same = time? How=0A> can I prevent in this case emerge fail?=0A> =0A> On 11/6/= 24 18:24, Holger Hoffst=C3=A4tte wrote:=0A> > On 2024-11-06 18:16, whitem= an808 wrote:=0A> >> How can I prevent portage from overwriting the same s= ource files in=0A> >> the distfiles directory and possible checksum misma= tches caused by=0A> >> that behavior if I tell emerge to update @world si= multaneously on=0A> >> these different binary package servers?=0A> >=0A> = > portage uses a lockfile for every download, so the problem does not exis= t.=0A> >=0A> > -h=0A> >=0A> =0A> =0A> ---------------------7a55f263fefc0294f02a32c831ee5562-- --------58bc15aab9714d008e2f640e51738ca07171948247c90aebc91f1d81b8c615c7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYIACcFAmcrrQ0JEDzP7coSZcYZFiEE0TnSlimggnBf+TgfPM/tyhJl xhkAAL6XAQDVuD6EBIdhOyvKGnyY7HYrrji/ig2X+Y2ylmLc++LvswD+PRSS GGe466PSt1rN7WzO4N1q3K/T/4YJrH8CLv5aOgM= =uFBd -----END PGP SIGNATURE----- --------58bc15aab9714d008e2f640e51738ca07171948247c90aebc91f1d81b8c615c7--