Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linux mount calls not applying propagation type changes #30416

Merged
merged 1 commit into from Feb 15, 2017

Commits on Feb 15, 2017

  1. Fix linux mount calls not applying propagation type changes

    Propagation type changes must be done as a separate call, in the
    same way as read only bind mounts.
    
    To fix this:
    1. Ensure propagation type change flags aren't included in other calls.
    2. Apply propagation type change in a separate call.
    
    Also:
    * Make it clear which parameters are ignored by passing them as empty.
    * Add tests to ensure Mount options are applied correctly.
    
    Fixes moby#30415
    
    Signed-off-by: Steven Hartland <steven.hartland@multiplay.co.uk>
    stevenh committed Feb 15, 2017
    Copy the full SHA
    b3b14b9 View commit details
    Browse the repository at this point in the history