containers / containers/bubblewrap

Errors when --bind used with a symlinked path

Open
#195 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
8.7k
Forks
386
Avg merge
3d 17h
Merged PRs (30d)
11

Description

When the target of --bind is a symlink, bubblewrap fails.

[root@localhost ~]# mkdir /usr/local/foo
[root@localhost ~]# ln -sf /usr/local/foo /usr/local/cow
[root@localhost ~]# mkdir /tmp/bar
[root@localhost ~]# bwrap --dev-bind / / --bind /tmp/bar /usr/local/cow bash
Can't bind mount /oldroot/tmp/bar on /newroot/usr/local/cow: No such file or directory

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.