On Mon, 2008-04-28 at 15:03 -0500, Chris Frederick wrote:
> Albert Hopkins wrote:
> > On Mon, 2008-04-28 at 12:03 -0500, Chris Frederick wrote:
[..]
> > Also you should disable locking on distfiles if you use it over NFS:
> > FEATURES=-distlocks.
> > 
> >  
> > -a
> > 
> 
> Why would I need to disable locking?  Wouldn't that stop multiple users 
> from downloading the same package at the same time and bring up 
> potential race conditions that can break the emerge?

In my experience at least this causes emerge to hang on NFS clients for
lockfiles that don't even exist on the server.  Also see the man page
for make.conf.

Actually I don't think there will be any race conditions.  IIRC portage
will check to see if the file already exists in distfiles, if it does it
will compare checksums, if it fails then the emerge fails.  So worst
case scenario is that one or more simultaneous emerges will fail. 

For my usage, the former is much more likely to happen than the latter
(which has yet to happen to me).


-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to