Skip to content

Don't diagnose hosts with Toolbx 0.0.93.3 as unknown container technology

Simon McVittie requested to merge wip/smcv/run-host-root into master

Steps to reproduce: run steam-runtime-system-info on an Arch system with Toolbx 0.0.93.3 installed.

Expected result: "container" : { "type" : "none" }

Actual result: "container" : { "type" : "unknown", "host" : { "path" : "/", ... } }


  • resolve-in-sysroot: Output "." instead of an empty string

    If the path in the sysroot resolves to the sysroot itself, it's clearer to output a non-empty string for that.

  • system-info: Don't consider /run/host -> .. to indicate a container

    A symlink /run/host -> / or /run/host -> .. indicates that the sysroot claims to be the host system. Don't diagnose this as an unknown container type.

    In particular, Toolbx 0.0.99.3 sets up this situation.

    See: https://github.com/containers/toolbox/commit/6063eb27

Merge request reports

Loading