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
create a symbol link for snapshotter's root
it will cause a failure when attaching a device
funclookup(dirstring) error {
dir=filepath.Clean(dir)
m, err:=mountinfo.GetMounts(mountinfo.SingleEntryFilter(dir))
iferr!=nil {
returnerrors.Wrapf(err, "failed to get mount info for %q", dir)
}
iflen(m) ==0 {
returnerrors.Errorf("failed to find the mount point for %q", dir)
}
returnnil
}
mountinfo.GetMounts can not find the matched mountpoint if the 'dir' contains a symbol link in its path
What is the version of your Accelerated Container Image?
latest
What is your OS environment?
ubuntu 22.04
Are you willing to submit PRs to fix it?
Yes, I am willing to fix it.
The text was updated successfully, but these errors were encountered:
What happened in your environment?
ubuntu/centos
What did you expect to happen?
No response
How can we reproduce it?
create a symbol link for snapshotter's root
it will cause a failure when attaching a device
mountinfo.GetMounts can not find the matched mountpoint if the 'dir' contains a symbol link in its path
What is the version of your Accelerated Container Image?
latest
What is your OS environment?
ubuntu 22.04
Are you willing to submit PRs to fix it?
The text was updated successfully, but these errors were encountered: