Race-condition: mkfs may run before device mapper has picked up newly created logical volume

Bug #1919140 reported by Trygve Vea
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
New
Undecided
Unassigned

Bug Description

We're running diskimage-builder within docker, and have hit a situation where mkfs fail when run immediately after lvcreate.

When enabling tracing, it is clear that at the time, the device has not yet been made available in /dev/mapper. Patching in a short sleep is an effective workaround in our case.

Revision history for this message
Trygve Vea (trygve-vea-gmail) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.