Using Ignition, files created under /run and /tmp are not present when boot completes #1152
Closed
dlipovetsky
started this conversation in
General
Replies: 1 comment 6 replies
-
Hi, I think it doesn't work because these folders are not bind-mounted under |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's say that I create the files
/etc/test
,/tmp/test
, and/run/test
in my ignition config. When the boot completes, the only file present is/etc/test
.I think I understand why
/tmp/test
is not present; systemd mounts/tmp
after ignition completes, so whatever was in the directory /tmp is not visible when the mount is created.However, I really don't understand why
/run/test
is not present. By comparison, ignition's own cache in the file/run/ignition.json
is present when the boot completes.Does anyone have some insight into this? Thanks!
I'm using flatcar 3033.3.15, the latest LTS release at this time. For reference, here's the config.ign. It's valid, according to ignition v0.36.2:
Beta Was this translation helpful? Give feedback.
All reactions