You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the spec.root.fs is not correctly handled. When init_builder calls load_and_safeguard_spec, the copied version of the spec.json doesn't contain the change to canonicalize the rootfs path. As a result, when youki exec tries to load the safeguarded spec in tenent_builder, the spec.root.path can be incorrect missing the bundle path. As a result, currently, youki exec is also broken.
There are two solutions. One is to save the canonicalized rootfs path with bundle path as part of the spec when safeguard the spec into the /run/youki/<id>. The other option is to take care to canonicalize the path with bundle path again when loading the path in tenent_builder.
The text was updated successfully, but these errors were encountered:
Currently, the spec.root.fs is not correctly handled. When
init_builder
callsload_and_safeguard_spec
, the copied version of the spec.json doesn't contain the change to canonicalize the rootfs path. As a result, whenyouki exec
tries to load the safeguarded spec intenent_builder
, the spec.root.path can be incorrect missing the bundle path. As a result, currently,youki exec
is also broken.There are two solutions. One is to save the canonicalized rootfs path with bundle path as part of the spec when safeguard the spec into the
/run/youki/<id>
. The other option is to take care to canonicalize the path with bundle path again when loading the path intenent_builder
.The text was updated successfully, but these errors were encountered: