#19236: Lock mirror_list file in MirrorList.__init__
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.9
Component: build | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/lock_mirror_list_file_in_mirrorlist___init__|
541fd96f35f145fc0707b1537adcb3151db3fd1e
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):
* commit: => 541fd96f35f145fc0707b1537adcb3151db3fd1e
Comment:
Not all network file systems support locking, in which case this will fail
with ENOLCK. E.g. nfs, depending on version & configuration.
The most portable solution would be
https://github.com/openstack/pylockfile/blob/master/lockfile/mkdirlockfile.py
Just ignoring ENOLCK is probably good enough.
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=541fd96f35f145fc0707b1537adcb3151db3fd1e
541fd96]||{{{Lock the mirror_list file}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/19236#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.