Skip to content

support inspecting user.rootlesscontainers xattr #346

@AkihiroSuda

Description

@AkihiroSuda

We should have a utility command to show the user.rootlesscontainers xattr value in a human-readable format.

e.g.

$ id -u
1001

$ ls -ln /path/to/bundle/etc/
...
-rw-r----- 1 1001 1001 422 May 29 23:20 shadow

$ getfattr -d -e hex -m user.rootlesscontainers /path/to/bundle/rootfs/etc/shadow 
...
user.rootlesscontainers=0xdeadbeef...

$ umoci ls-bundle /path/to/bundle/etc/
-rw-r----- 1 0 42 422 May 29 23:20 shadow

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions