Skip to content

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