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

cmdlib: Ensure bare-user tmpdir is in $workdir/tmp #2905

Merged
merged 1 commit into from
Jun 4, 2022

Conversation

cgwalters
Copy link
Member

Linux tmpfs still doesn't support user. xattrs, and so for
toolbox-like containers that use a (proper!) tmpfs for /tmp
instead of having it be overlayfs, we need to ensure that
we create our tempdir in $workdir/tmp - the workdir must have
user. xattr support for the cache/repo-build anyways.

Closes: #2904

@cgwalters
Copy link
Member Author

I tested this on FCOS by using coreos/fedora-coreos-config#1080
Current git main failed with the described symptoms using that, then this patch fixed it.

Linux `tmpfs` still doesn't support `user.` xattrs, and so for
toolbox-like containers that use a (proper!) `tmpfs` for `/tmp`
instead of having it be `overlayfs`, we need to ensure that
we create our tempdir in `$workdir/tmp` - the workdir must have
`user.` xattr support for the `cache/repo-build` anyways.

Closes: coreos#2904
Copy link
Member

@miabbott miabbott left a comment

Choose a reason for hiding this comment

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

Passing this PR via COREOS_ASSEMBLER_GIT to my cosa container got buiildextend-extensions working for me again.

Thanks for the quick fix, Colin! ❤️

@cgwalters cgwalters merged commit e024805 into coreos:main Jun 4, 2022
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.

cosa buildextend-extensions blowing up
2 participants