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

container: always check if mountpoint is mounted #20299

Merged
merged 2 commits into from
Oct 9, 2023

Commits on Oct 9, 2023

  1. vendor: update c/storage

    Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
    giuseppe committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    9beb3a9 View commit details
    Browse the repository at this point in the history
  2. container: always check if mountpoint is mounted

    when running as a service, the c.state.Mounted flag could get out of
    sync if the container is cleaned up through the cleanup process.
    
    To avoid this, always check if the mountpoint is really present before
    skipping the mount.
    
    [NO NEW TESTS NEEDED]
    
    Closes: containers#17042
    
    Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
    giuseppe committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    8ac2aa7 View commit details
    Browse the repository at this point in the history