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

(#1889315) core: fix unnecessary fallback to the rescue mode caused by initrd-sw… #124

Merged
merged 1 commit into from Oct 22, 2020

Commits on Oct 20, 2020

  1. core: fix unnecessary fallback to the rescue mode caused by initrd-sw…

    …itch-root.service's exit status judgment error
    
    commit 1f0958f ("core: when determining whether a process exit
    status is clean, consider whether it is a command or a daemon")
    introduces a side effect that causes system falls into rescure mode
    due initrd-switch-root.service entered failed state, detailed
    information should refer to the redhat's doc, as follows:
    https://access.redhat.com/solutions/4973191
    https://bugzilla.redhat.com/show_bug.cgi?id=1414904
    
    As we know that in the cloud computing scenarios, some very critical
    services may run on the server, and the server may run continuously for
    several years without restarting.The initramfske may still maintain the
    original state many years ago without any changes. In addition, this
    server may have been installed a lot of user mode programs and kernel
    mode drivers due to various operations and maintenance over the years.
    
    If the initramfs is regenerated because of upgrading systemd, the user-mode
    programs or drivers previously installed may be inserted into the initramfs,
    introducing unknown risks, and may even cause the system to fail to start.
    So we hope that this patch may avoid the above issues.
    
    (cherry picked from commit ec8955e)
    (cherry picked from commit aa4bc7e)
    Resolves: #1889315
    w-simon authored and Jan Synacek committed Oct 20, 2020
    Copy the full SHA
    586d458 View commit details
    Browse the repository at this point in the history