Skip to content

container lint: option to not truncate #1260

Description

@vrothberg

bootc container lint truncates the output, for instance, by only listing the first N paths as shown below. This is a perfectly sane default but I am seeking an option to list everything and not truncate. This would be especially helpful for running automated analyses and reports (which I am doing at the moment).

Lint warning: var-tmpfiles: Found content in /var missing systemd tmpfiles.d entries:
  d /var/cache/dnf/appstream-4d3c2aed03a3184f 0755 root root - -
  d /var/cache/dnf/appstream-4d3c2aed03a3184f/packages 0755 root root - -
  d /var/cache/dnf/appstream-4d3c2aed03a3184f/repodata 0755 root root - -
  d /var/cache/dnf/baseos-bea24aa3f40f8fdb 0755 root root - -
  d /var/cache/dnf/baseos-bea24aa3f40f8fdb/repodata 0755 root root - -
  ...and 7 more
Found non-directory/non-symlink files in /var:
  var/lib/dnf/history.sqlite
  var/lib/dnf/history.sqlite-shm
  var/lib/dnf/history.sqlite-wal
  var/lib/dnf/repos/appstream-4d3c2aed03a3184f/countme
  var/lib/dnf/repos/baseos-bea24aa3f40f8fdb/countme
  ...and 12 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions