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

Don't create a file when it already exists when mounting with bind #2031

Merged
merged 1 commit into from Jun 12, 2023

Conversation

utam0k
Copy link
Member

@utam0k utam0k commented Jun 10, 2023

For example, it is more likely that the /etc/hosts file already exists. In that case, it fails because it tries to open the file with write permission while it is RO.

@codecov-commenter
Copy link

codecov-commenter commented Jun 10, 2023

Codecov Report

Merging #2031 (4d0bb73) into main (2bd6ebc) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2031   +/-   ##
=======================================
  Coverage   64.82%   64.82%           
=======================================
  Files         129      129           
  Lines       14763    14763           
=======================================
  Hits         9570     9570           
  Misses       5193     5193           

@utam0k utam0k requested a review from a team June 11, 2023 01:35
@yihuaf yihuaf merged commit f5f2242 into containers:main Jun 12, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants