You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wild idea: The root of the problem here (as described in #588) is that we can't know what units are generated by systemd generators and thus can't know what units exist in the real root. One thought is to run the generators in the initramfs, chrooted into the real root, but with a throwaway overlayfs to "absorb" any writes to the filesystem, then inspect the real root with overlay and see if we'd fail to enable anything. It's still not perfect since it's not checking that enabling actually succeeded, just that it should succeed. Also seems somewhat brittle.
Issue by @bgilbert
Issue Report
Bug
Container Linux Version
Environment
Any
Expected Behavior
If Ignition is asked to enable a nonexistent unit, it fails the boot.
Actual Behavior
Ignition claims to have enabled the unit, but nothing happens.
Reproduction Steps
journalctl -t ignition
andsystemctl status
.Other Information
This happens because Ignition configures systemd units via presets, and presets are allowed to reference nonexistent units.
journalctl
says:The text was updated successfully, but these errors were encountered: