unable to read symlinks when mounting 9p filesystem with security_model=mapped
Bug #1831354 reported by
Olie Hilt
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| QEMU |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
I am trying to use clang that is mounted from a 9p filesystem that has the options
-fsdev local,id=
clang has symlinks to clang-9. eg /clang/
the clang filesystem is on a bind mount point on /clang/clang on the host and this is mapped to the same place on the guest. If I have the same virtfs mount point with the security_model=none I don't have this problem.
To post a comment you must log in.

On the host: readlink clang
clang-9
and guest:
ls: cannot read symbolic link 'clang': No such file or directory
lrwxrwxrwx 1 root root 7 May 30 02:21 clang
readlink clang
returns nothing.