Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

factory: handle properly snapd_recovery_mode based on modeenv value #214

Closed
wants to merge 1 commit into from

Commits on Oct 11, 2023

  1. factory: handle properly snapd_recovery_mode based on modeenv value

    The real source of true for the current mode is stored in /var/lib/snapd/modeenv
    this value might be altered after
    /usr/lib/systemd/system-generators/journald-console was already run.
    Or /var/lib/snapd/modeenv did not even exist at that time.
    This happens in install/factory-reset/recovery modes which might be
    handled within the initrd.
    If this is detected, update journald-console generator and remove
    already created journald.conf.d/core-override.conf overlay.
    
    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    ea5b554 View commit details
    Browse the repository at this point in the history