Oh wait, we've been through something very like this before https://bugs.launchpad.net/cloud-initramfs-tools/+bug/1834875. I suspect a judicious application of flock may be the most correct solution available.
Oh wait, we've been through something very like this before https:/ /bugs.launchpad .net/cloud- initramfs- tools/+ bug/1834875. I suspect a judicious application of flock may be the most correct solution available.