Skip to content

prepare-root: Avoid retries #3219

Open
Open
@cgwalters

Description

@cgwalters

I've seen some failure cases where when ostree-prepare-root.service fails, it ends up getting retried (not totally sure how)...and what happens is we get:

error: Failed to create /run/ostree: File exists

And that combined with other noise makes the real error scroll off the TTY...

So...I think we need to dig in and try to;

  • Ensure our unit doesn't get rerun
  • Try to add cleanup/idempotence on failure so we can rerun (a good bit harder)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/prepare-rootIssue relates to ostree-prepare-root

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions