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

Change mount flag from --bind to --rbind #11961

Closed
wants to merge 1 commit into from
Closed

Conversation

jenting
Copy link
Contributor

@jenting jenting commented Aug 8, 2022

Description

Change mount flag from --bind to --rbind.

Related Issue(s)

Fixes #

How to test

None

Release Notes

None

Documentation

None

Werft options:

  • /werft with-preview

@jenting jenting requested a review from a team August 8, 2022 13:33
@github-actions github-actions bot added the team: workspace Issue belongs to the Workspace team label Aug 8, 2022
@jenting jenting force-pushed the jenting/mount-rbind branch from 648b34d to 702aca0 Compare August 8, 2022 13:35
@jenting jenting marked this pull request as draft August 8, 2022 13:40
@jenting jenting force-pushed the jenting/mount-rbind branch from 702aca0 to 4e82fd1 Compare August 8, 2022 14:03
@@ -192,7 +192,7 @@ func RunInitializer(ctx context.Context, destination string, initializer *csapi.
Destination: "/dst",
Source: destination,
Type: "bind",
Options: []string{"bind", "rprivate"},
Options: []string{"rbind", "rprivate"},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest, I don't know if we should change to rbind here.
But I was hoping this could address the issue #11852

@csweichel For this mount point, should we need the rbind instead of bind?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think bind here is more then enough, since we should not have any other binds inside destination param that used as source for the bind command.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with you @sagor999.

Close this PR first, and if issue #11852 still happens, we could revisit it to see what went wrong.

@jenting jenting closed this Aug 23, 2022
@jenting jenting deleted the jenting/mount-rbind branch August 23, 2022 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants