Skip to content

enctrypted stratis + swapfile on root + dracut resume crashes boot #431

@fneddy

Description

@fneddy

if all of this happens then bootig is not longer possible:

  1. root is on stratis
  2. stratis pool is encrypted
  3. swap is on a swapfile on root fileystem
  4. stratis and resume modules are added to dracut
  5. kernel parameters resume and resume_offset are set

if all of this happens its not possible to boot the system any more. i dont get the prompt for entering the decryption password. even when rhgb and quiet parameters are not set.

if i add the dracut debug flag rd.debug i see there is a loop running at 0.5 seconds that tries to dercrypt root. but its not possible to interact anymore.

it looks like the dracut password promt somehow does not block and wait for the password and the resume module already tries to do things on a filesystem that is not decrypted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions