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
$ sudo bazel-bin/runsc/runsc_/runsc run --bundle ~/bu2 cont-x
root@:/# ls -l /ddd
total 0
root@:/# mount
none on / type overlay (rw)
none on /sys type sysfs (rw,dentry_cache_limit=1000)
none on /dev type tmpfs (rw,mode=0755)
none on /proc type proc (rw,dentry_cache_limit=1000)
none on /dev/pts type devpts (rw)
log.Warningf("ignoring unknown filesystem type %q", m.mount.Type)
return"", nil, nil
In this case, runc attempts to mount it and fails with:
WARN[0000] freezer not supported: openat2 /sys/fs/cgroup/user.slice/user-676784.slice/cont/cgroup.freeze: no such file or directory
WARN[0000] lstat /sys/fs/cgroup/user.slice/user-676784.slice/cont: no such file or directory
ERRO[0000] runc run failed: unable to start container process: error during container init: error mounting "/" to rootfs at "/ddd": mount /:/ddd (via /proc/self/fd/7): no such device
After adding "type": "bind" but without the options, the failure happens with gVisor because the gofer fails with:
Description
does not do anything except creating empty directory.
Moreover, specifying
"type": "bind"
causesrunsc
to crash.This is correct version, but this issue is about missing validation, if this configuration is not correct.
Steps to reproduce
Log: https://gist.github.com/stepancheg/82cee1f2095405d1c5b790240ad62564
Log: https://gist.github.com/stepancheg/81c05a3b18909e28716f6cee945c456e
runsc version
uname
Linux w-st 6.6.72+ #1 SMP PREEMPT_DYNAMIC Sat Apr 19 09:07:01 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
repo state (if built from source)
release-20250505.0-31-gd30c58e5b
The text was updated successfully, but these errors were encountered: