Repository navigation
Fail when devicemapper doesn't support udev-sync - #21097
Conversation
Now what we provide dynamic binaries for all plaforms, we shouldn't try to run docker without udev sync support. This change changes the previous warning to an Error, unless the user explicitly overrides the warning, in which case they're at their own risk. Signed-off-by: Sebastiaan van Stijn <[email protected]>
|
design LGTM |
|
Adding this to the 1.11 milestone, think we should decide to do (or don't do) this before that. |
|
yay. This is good to see. If I remember correctly there was someone (like, only one) who had a custom, minimal linux that did not include udev, and therefore udev-sync would be false, but it would be ok as then the race condition would not be expressed. Though this is certainly a very slim use-case, as even now'a'days most tiny devices are able to run a more complete stack that includes udev. |
|
Moving to code review; suggestions for improvements are welcome, I only took the most minimal changes for this PR, so if there's more changes needed, please tell |
|
Looks like #20819 isn't resolved yet, just hit this; https://jenkins.dockerproject.org/job/Docker-PRs-WoW-TP4/2450/console |
|
LGTM |
1 similar comment
|
LGTM |
Fail when devicemapper doesn't support udev-sync
|
@thaJeztah When udev sync is enabled also, we are facing this issue #4036 ... Is there an issue opened on this ? |
|
@manoj0077 please open an issue with more details; it's still possible that it's a different issue, but results in a similar error |
Now what we provide dynamic binaries for all platforms,
we shouldn't try to run docker without udev sync support.
This change changes the previous warning to an Error,
unless the user explicitly overrides the warning, in
which case they're at their own risk.
This is a continuation of the discussions in #14292
and #14415
In #14415 (comment) it was decided to "allow" running without udev sync, because;
Now that that's in place, I think we should refuse to run without udev sync.
This PR is just to get that discussion started, possibly we can customize the
error based on if the user is running a "dynamic" or "static" binary.