-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ignition-ostree-rootfs: use our own tmpfs with size=80%
In f33 systemd, /run is now mounted with a smaller size cap instead of the default 50%: systemd/systemd#15424 This was causing the rootfs reprovisioning code to run out of space. Let's use this as an opportunity to be more explicit about the memory semantics we want. Notably, we don't care about starving the host here; either we have enough memory to reprovision the rootfs, or we should fail. So let's just mount our own tmpfs with `size=80%`. This in turn means that machines need even *less* RAM for rootfs reprovisioning to work. A local test shows 2.5G seems to be enough. Though let's keep recommending 4G in the docs to be safe. A minor thing this also fixes is that we now clean up a leftover directory and file from `/run` before we switchroot. Closes: coreos/fedora-coreos-tracker#644
- Loading branch information
Showing
3 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters