curtin-dev team mailing list archive
-
curtin-dev team
-
Mailing list archive
-
Message #04128
[Merge] ~dbungert/curtin:doc-flock into curtin:master
Dan Bungert has proposed merging ~dbungert/curtin:doc-flock into curtin:master.
Commit message:
util: link to LP bug for flock()
Requested reviews:
curtin developers (curtin-dev)
For more details, see:
https://code.launchpad.net/~dbungert/curtin/+git/curtin/+merge/486480
--
Your team curtin developers is requested to review the proposed merge of ~dbungert/curtin:doc-flock into curtin:master.
diff --git a/curtin/util.py b/curtin/util.py
index a10f1bf..1390c51 100644
--- a/curtin/util.py
+++ b/curtin/util.py
@@ -1430,6 +1430,8 @@ class FlockEx:
access for partitioning and file system formatting tools.
params: device: block device node to exclusively lock
+
+ Introduced to address LP: #2016860 and similar timing bugs.
"""
def __init__(self, device, timeout=60):
self.device = device
Follow ups