Closed sreya closed 3 years ago
Thanks for reporting this one @sreya.
In regards to the mountpoint
knob sysbox-fs seems to be working as expected. Problem appears to be with sysbox-runc which is hard-coding the path on which the rootfs components are mounted (i.e. /var/lib/sysboxfs
).
Ideally, sysbox-runc should dynamically extract this information from sysbox-fs during the container initialization. However, the container oci-spec's handling stage (which is the one at which the mountpoints are defined) takes place before sysbox-runc has a chance to interact with sysbox-fs, so at first glance looks like the solution would need to rely on the creation of a new grpc interaction between these two components.
Will think about the best course of action and provide an update asap.
Issue fixed via the following PRs:
https://github.com/nestybox/sysbox-runc/pull/53 https://github.com/nestybox/sysbox-fs/pull/46 https://github.com/nestybox/sysbox-ipc/pull/19
Closing!
Repro steps: