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

install: Only switch to loopback after re-exec #278

Merged
merged 2 commits into from
Jan 24, 2024

Commits on Jan 24, 2024

  1. blockdev: Add some debugging around loopback

    Signed-off-by: Colin Walters <walters@verbum.org>
    cgwalters committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    d2cfb22 View commit details
    Browse the repository at this point in the history
  2. install: Only switch to loopback after re-exec

    I noticed we were leaking a loopback device, and the reason is
    because the "re-exec self for selinux" dance.
    
    We should really try to move that re-exec way earlier because
    it's a big hazard for stuff like this right now.
    
    This is a simple fix though that just moves the switch to
    allocating the loopback device until after we've done the install
    prep (including that re-exec).
    
    Signed-off-by: Colin Walters <walters@verbum.org>
    cgwalters committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    73f3996 View commit details
    Browse the repository at this point in the history