Skip to content

Request for more verbose erroring on bootc container lint #2469

Description

@hecknt

Edit: The issue is a filesystem configuration error on Zirconium's end. I've amended this issue, as the error output from bootc container lint was not at all clear as to which path was causing issues.

The issue here is that bootc container lint, when faced with a path that leads outside of the filesystem, errors out without telling you which path is causing the problem. Adding RUST_LOG=debug or even RUST_LOG=trace does not help here. It's still not verbose enough on this particular step of linting. It would be nice to at least show the path that it errored out on.

Old description text:

I'm running into this on zirconium-hawaii testing images, but I can also reproduce this on images for Zirconium (fedora). Ever since bootc 1.16.11, bootc container lint has been failing with the error error: Linting: Unexpected runtime error running lint runtime-deps: a path led outside of the filesystem. I've attached screenshots with RUST_LOG=debug enabled, but it doesn't seem to provide me any useful information.

I think the problematic commit is 98bc78d. I've tested this on the bottom-most screenshot.

zirconium:latest (Fedora 44), running bootc container lint on commit 98bc78d and 3324be4 respectively.
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/codeTriggers the drafter agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions