Skip to content

container inspect kargs can be wrong for UKI #1965

@jeckersb

Description

@jeckersb

Right now container inspect renders the kargs as exist in kargs.d. However if we run container inspect from within a UKI container, it could be the case that the kargs inside of the UKI are completely different than what is in kargs.d. This isn't exactly recommended practice... but it's possible to have anything in there.

So in the UKI case container inspect should probably check both the kargs.d kargs as well as introspect the actual UKI, and either report both or report the delta or something of that nature. Otherwise it's highly misleading to just show the kargs.d version when that may be completely ignored.

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