Skip to content

need to track OCI image source info #21

@mikemccracken

Description

@mikemccracken

I want to be able to say which mounted OCI image has corrupted layers when checking with atomfs verify (see #20) or via some other mechanism that gets notified that a device is corrupt.

The molecule should keep track of the OCI image path that it was created from, and we should be able to trace from a device name to a list of molecules and OCI images that are affected.

since the current molecule metadata is overmounted, maybe atomfs lib should maintain a separate directory with this info:

atomfsmeta/
atomfsmeta/50bd5ba895c-verity/
atomfsmeta/50bd5ba895c-verity/$ocilayoutpath/$tagname1
atomfsmeta/50bd5ba895c-verity/$ocilayoutpath2/$tagname2
etc...

seeing as how this is tied to the verity implementation, possibly this should be an implementation detail of atomfs verify and that command could just output OCI tag info. but we do need to make it available somewhere.

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