[gentoo-user] Shared distfiles directory between different virtual machines

2024-11-06 Thread whiteman808
Hi, Let's say I have a shared by NFS /var/cache/distfiles directory between miscellaneous Gentoo VMs whose purpose is to build binaries for different machines. How can I prevent portage from overwriting the same source files in the distfiles directory and possible checksum mismatches caused

[gentoo-user] Re: Shared distfiles directory between different virtual machines

2024-11-06 Thread Holger Hoffstätte
On 2024-11-06 18:16, whiteman808 wrote: How can I prevent portage from overwriting the same source files in the distfiles directory and possible checksum mismatches caused by that behavior if I tell emerge to update @world simultaneously on these different binary package servers? portage uses a

Re: [gentoo-user] sinit (suckless init) + daemontools-encore on Gentoo

2024-11-06 Thread Arve Barsnes
On Wed, 6 Nov 2024 at 20:50, Eli Schwartz wrote: > The main issues really, would be: > > - gentoo's @system set requires virtual/service-manager, and > daemontools-encore is not listed as a provider. You might need to > provide a custom virtual/service-manager ebuild alongside sinit. This sho

Re: [gentoo-user] sinit (suckless init) + daemontools-encore on Gentoo

2024-11-06 Thread Jack
On 2024.11.05 20:44, Eduardo Santos wrote: I searched for sinit on the gentoo-user archives and couldn't find anything, there's only a few Reddit threads which don't help much. Would it be possible to follow the steps here[1] to use sinit + daemontools-encore on Gentoo, or are there hard dep

Re: [gentoo-user] sinit (suckless init) + daemontools-encore on Gentoo

2024-11-06 Thread Eli Schwartz
On 11/5/24 8:44 PM, Eduardo Santos wrote: > I'm willing to do a lot of work myself to make this work, but if Portage or > some other core Gentoo subsystem doesn't play well with sinit or > daemontools-encore it'd be just a waste of time. The main issues really, would be: - gentoo's @system set r

Re: [gentoo-user] Re: Shared distfiles directory between different virtual machines

2024-11-06 Thread Grant Taylor
On 11/6/24 11:39, whiteman808 wrote: What in case when two lock files are being created at the same time? How can I prevent in this case emerge fail? Have you actually experienced this type of failure? Or are you just thinking about worst case? I've been sharing distfiles between multiple sys

Re: [gentoo-user] Re: Shared distfiles directory between different virtual machines

2024-11-06 Thread whiteman808
What in case when two lock files are being created at the same time? How can I prevent in this case emerge fail? On 11/6/24 18:24, Holger Hoffstätte wrote: On 2024-11-06 18:16, whiteman808 wrote: How can I prevent portage from overwriting the same source files in the distfiles directory and po

Re: [gentoo-user] Re: Shared distfiles directory between different virtual machines

2024-11-06 Thread Filip Kobierski
AFAIR creating a file (adding an entry to a dir's list) is an atomic operation so that problem also is solved. Original Message On 11/6/24 18:39, whiteman808 wrote: > What in case when two lock files are being created at the same time? How > can I prevent in this case emerg