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

tests/crio: don't try to write to /tmp #3944

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Nov 14, 2024

It's not really useful to write to /tmp from Ignition because a tmpfs gets mounted on top anyway in the real root which will mask all this. So this bit of the cri-o test's Ignition config actually had no effect. Just remove it.

Also note that when composefs lands in RHCOS, this would have become a hard error because /tmp would be read-only before switchroot.

It's not really useful to write to `/tmp` from Ignition because a tmpfs
gets mounted on top anyway in the real root which will mask all this. So
this bit of the cri-o test's Ignition config actually had no effect.
Just remove it.

Also note that when composefs lands in RHCOS, this would have become a
hard error because `/tmp` would be read-only before switchroot.
@jlebon jlebon changed the title tests/crio: don't try to /tmp/test tests/crio: don't try to write to /tmp Nov 14, 2024
Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

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

LGTM

@dustymabe dustymabe enabled auto-merge (rebase) November 14, 2024 21:36
@dustymabe dustymabe merged commit 5ec6daa into coreos:main Nov 14, 2024
5 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.

2 participants