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
# sysbox-mgr --data-root /home/coder/sysbox# sysbox-fs --mountpoint /home/coder/sysboxfs# sysbox-runc run test
ERRO[0000] failed to create lib container mount: failed to stat mount source at /var/lib/sysboxfs/test/sys/module/nf_conntrack/parameters/hashsize: stat /var/lib/sysboxfs/test/sys/module/nf_conntrack/parameters/hashsize: no such file or directory
The text was updated successfully, but these errors were encountered:
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.
The location of the sysbox-fs FUSE dir is configurable
via the sysbox-fs command line. Thus, do not assume
it's under the default location ("/var/lib/sysboxfs")
and instead let sysbox-fs determine its location.
Related to sysbox issue #310.
Signed-off-by: Cesar Talledo <ctalledo@nestybox.com>
The location of the sysbox-fs FUSE dir is configurable
via the sysbox-fs command line. Thus, do not assume
it's under the default location ("/var/lib/sysboxfs")
and instead let sysbox-fs determine its location.
Related to sysbox issue #310.
Signed-off-by: Cesar Talledo <ctalledo@nestybox.com>
Repro steps:
The text was updated successfully, but these errors were encountered: