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

User are reporting potential issues with using overlay2 #966

Merged
merged 2 commits into from
Dec 13, 2021

Conversation

rhatdan
Copy link
Member

@rhatdan rhatdan commented Jul 16, 2021

We should just switch to overlay right away rather then
handling the driver code lower in the stack.

Signed-off-by: Daniel J Walsh dwalsh@redhat.com

types/options.go Outdated
@@ -190,6 +190,10 @@ func getRootlessStorageOpts(rootlessUID int, systemOpts StoreOptions) (StoreOpti
if driver := os.Getenv("STORAGE_DRIVER"); driver != "" {
opts.GraphDriverName = driver
}
// override users selection of 'overlay2' with 'overlay'
if opts.GraphDriverName == "overlay2" {
Copy link
Member

Choose a reason for hiding this comment

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

lint is barfing, it wants a constant for "overlay2"

@rhatdan rhatdan force-pushed the default branch 2 times, most recently from dc234da to 09a2e99 Compare July 20, 2021 09:20
@TomSweeneyRedHat
Copy link
Member

@rhatdan looks like you need a rebase

types/options.go Outdated
@@ -190,6 +194,10 @@ func getRootlessStorageOpts(rootlessUID int, systemOpts StoreOptions) (StoreOpti
if driver := os.Getenv("STORAGE_DRIVER"); driver != "" {
opts.GraphDriverName = driver
}
// override users selection of 'overlay2' with 'overlay'
Copy link
Member

Choose a reason for hiding this comment

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

Might want to leave behind a comment as to why the override is happening.

@rhatdan
Copy link
Member Author

rhatdan commented Jul 24, 2021

This is a Potentially breaking change, and should be held off until 4.0 of Podman.

@rhatdan rhatdan changed the title User are reporting potential issues with using overlay2 [WIP] User are reporting potential issues with using overlay2 Jul 24, 2021
@rhatdan rhatdan force-pushed the default branch 5 times, most recently from 63003fd to fd652a2 Compare July 26, 2021 16:59
We should just switch to overlay right away rather then
handling the driver code lower in the stack.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

@rhatdan, I think it's time to get this one in.

@rhatdan rhatdan changed the title [WIP] User are reporting potential issues with using overlay2 User are reporting potential issues with using overlay2 Dec 13, 2021
@rhatdan rhatdan merged commit 73a749e into containers:main Dec 13, 2021
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