-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
live-generator: Rework to avoid tmpfs and overlayfs
OK many things rolled into one commit because I just needed to test them together. The high level goal is SELinux enforcing for RHCOS and to mitigate a boot time race (still not debugged). The SELinux enforcing one turned up a huge mess because as it happens SELinux will nuke all labels on `tmpfs`. Which is very problematic in general (FCOS included) but FCOS was papering over this problem by using the systemd `relabel-extra.d` bits. But we don't really want to use that anymore IMO - we should have a clean model where files are always labeled correctly in the initramfs before we switch root. Anything else going to lead to pain. In order to work around the `tmpfs` bug, instead make a loopback-mounted `xfs` filesystem (on `tmpfs`). When the kernel is fixed to retain labels in `tmpfs` we can drop that hack.
- Loading branch information
Showing
4 changed files
with
89 additions
and
69 deletions.
There are no files selected for viewing
12 changes: 0 additions & 12 deletions
12
overlay.d/05core/usr/lib/dracut/modules.d/20live/coreos-populate-writable.service
This file was deleted.
Oops, something went wrong.
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
10 changes: 0 additions & 10 deletions
10
overlay.d/05core/usr/lib/dracut/modules.d/20live/writable.mount
This file was deleted.
Oops, something went wrong.