Skip to content

The pinned eBPF maps may cause startup problems on permissions change #1920

@grcevski

Description

@grcevski

We had this interesting scenario with an end user, they ran OBI with pinned maps location, but using root (sudo). Then they wanted to run with lesser permissions, e.g. setting capabilities directly with setcap. In this case there will be a permission issue, since the old pinned files are created with root and OBI will fail to overwrite them. The fix is to clean-up the stale files on the user side, however we didn't provide a meaningful message, the resulting error was unable to read /proc//exe somehow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions