Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stages/files: relabel files before systemd-sysctl
This is a workaround for an inherent issue with the current relabeling approach (see coreos#635). `systemd-sysctl.service` is definitely one of those early services that have a high probability of reading files from `/etc` before it's relabeled. They're both pulled in by `sysinit.target`, but `ignition-relabel.service` has an additional `After=local-fs.target` which makes it likelier to run later (also see coreos#635 about that). So for now, let's just hack around this by making sure `systemd-sysctl` runs after us.
- Loading branch information