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

fetcher: Always open tmpfiles in repo (except on FUSE) #2913

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

cgwalters
Copy link
Member

This reverts commit 4e61e6f and re-instates the fix for ensuring that we download temporary files into the repository location.

However in order to ensure we don't re-introduce
#2900
we detect the case where we're writing to a FUSE mount and keep the prior behavior.

I've verified that this works with flatpak.

Note a downside of this is the change needs to be triplicated across the 3 http backends.

This then again
Closes: #2571

This reverts commit 4e61e6f
and re-instates the fix for ensuring that we download temporary
files into the repository location.

However in order to ensure we don't re-introduce
ostreedev#2900
we detect the case where we're writing to a FUSE mount
and keep the prior behavior.

I've verified that this works with flatpak.

Note a downside of this is the change needs to be triplicated
across the 3 http backends.

This then again
Closes: ostreedev#2571
@cgwalters cgwalters force-pushed the tmpfile-not-on-revokefs branch from 45acf73 to ba9c9de Compare July 5, 2023 08:27
Copy link
Member

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

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

lgtm

@jmarrero jmarrero merged commit 6056ec1 into ostreedev:main Jul 6, 2023
@jlebon
Copy link
Member

jlebon commented Sep 26, 2023

Obscure/indirect fallout in coreos/coreos-assembler#3636.

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.

pull_with_options uses /var/tmp as tmp space, preventing pulling big files during kickstart installs
3 participants