Skip to content

/etc & 3 way merge vs overlayfs for composefs native integration #1469

@travier

Description

@travier

We currently do overlayfs for /etc in composefs-rs.

This has two major downsides:

  • no official API to reset state (i.e. reset a file to the default from the image) without manually doing changes in the upper layer of overlayfs
  • there is only one copy of /etc (instead of one copy of /etc per deployment in the current ostree case), thus you can not easily rollback to a previous deployment with the previous config

We touched a little bit on this in:

Thus we would like to implement in bootc support for an ostree-like 3 way merge for the composefs native case that mirrors how ostree works today: https://ostreedev.github.io/ostree/deployment/#contents-of-a-deployment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/clientRelated to the client/CLIarea/composefsIssues related to composefs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions