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

cmd/snap-update-ns: allow detaches to propagate #14545

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 27, 2024

  1. cmd/snap-update-ns: allow detaches to propagate

    When snap-update-ns chooses not to reuse a mount entry it attempts to unmount
    it by detaching the mount entry. Before that is done the mount entry used to be
    switch to private propagation, so that the unmount operation was isolated.
    
    Disable this logic so that unmounts (and detaches) propagate normally. The
    mount namespace of the snap is mostly switched to slaved propagation, with the
    sole exception of /media or /run/media, which uses bidirectional propagation by
    design.
    
    This patch is experimental and is not ready for being merged yet.
    
    Jira: https://warthogs.atlassian.net/browse/SNAPDENG-31645
    
    Signed-off-by: Zygmunt Krynicki <[email protected]>
    zyga committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    096a8f9 View commit details
    Browse the repository at this point in the history