Hello,

I have an issue getting pseudo working with symbolic links. Pseudo does not
see files linked by "ln -s" in jail. (It emits warning: No such file or 
directory)

----
How to reproduce it:

# mkdir -p /dir1/jail
# cd /dir1/jail
# ln -s /bin/ls ./ls4
# ls -la
total 140
drwxr-xr-x. 2 root root   4096 Jan 12 03:37 .
drwxr-xr-x. 3 root root   4096 Jan 12 03:37 ..
lrwxrwxrwx. 1 root root      7 Jan 12 03:37 ls4 -> /bin/ls
# /pseudorepo/bin/pseudo  -r "/dir1/jail" -P /pseudorepo/
bash-4.3# /ls4
bash: /ls4: No such file or directory
----

If the binary is copied, pseudo works correctly.
Interesting is that if the jail directory is directly in /root/ (/root/any_
one_dir) then files linked by ln -s are seen by pseudo in jail correctly. 
If the jail is e.g. /home/tester (or some more nested dir), then ln -s does
not work correctly.

Is this pseudo behavior intentional? Is there any classic approach to move /
dev/urandom file into the jail without root permissions, for pseudo?

Best regards
Pavlina Moravcova Varekova
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to