adamant-kite-43734
11/26/2025, 7:49 PMgorgeous-guitar-43479
11/26/2025, 7:51 PM# Note: Don't write files to /tmp from cloud-init use /run/somedir instead.
# Early boot environments can race systemd-tmpfiles-clean LP: #1707222.gorgeous-guitar-43479
11/26/2025, 7:52 PM"export TMPDIR=/run",
"curl -sfL <https://get.rke2.io> | INSTALL_RKE2_CHANNEL=${local.rke2_channel} INSTALL_RKE2_TYPE=agent sh -",
I wonder if anyone faced the same problemgorgeous-guitar-43479
11/26/2025, 7:52 PMcreamy-pencil-82913
11/26/2025, 9:01 PMcreamy-pencil-82913
11/26/2025, 9:02 PMcurl -sfL <https://get.rke2.io> | TMPDIR=/run INSTALL_RKE2_CHANNEL=${local.rke2_channel} INSTALL_RKE2_TYPE=agent sh -gorgeous-guitar-43479
11/26/2025, 10:11 PMexport TMPDIR=/run, both work.
I've found this:
https://bugs.launchpad.net/cloud-init/+bug/1707222
For me it's happening on Harvester HCI/Rancher/Leap Micro
I've don't know yet if the fix works, I haven't encountered the problem since switching to /run, but it's a race condition, so you never know ...gorgeous-guitar-43479
11/27/2025, 1:57 PMgorgeous-guitar-43479
11/27/2025, 1:58 PM