Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symlinks not working #91

Closed
martin8801 opened this issue Aug 1, 2018 · 1 comment
Closed

Symlinks not working #91

martin8801 opened this issue Aug 1, 2018 · 1 comment

Comments

@martin8801
Copy link

martin8801 commented Aug 1, 2018

I am running CentOS 7 and I have a mount namespace with mount point /usr/local/lib64, bind ro. When I run my executable any libraries it tries to reference that are symlinks in that directory fail - file not found. The symlinks point to files in the same directory (as you’d expect here). Am I missing something?

@martin8801
Copy link
Author

martin8801 commented Aug 4, 2018

This was nothing to do with NsJail. I was missing an intermediate directory "/etc/alternatives" in a three level symlink. Found with namei.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant