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

Mounting "base" directory as Bind Mount Doesn't Work #3

Open
Gunslap opened this issue Jun 1, 2023 · 0 comments
Open

Mounting "base" directory as Bind Mount Doesn't Work #3

Gunslap opened this issue Jun 1, 2023 · 0 comments

Comments

@Gunslap
Copy link
Owner

Gunslap commented Jun 1, 2023

For reasons that escape me completely, if you switch the code to use the "/ja/base" directory as a bind mount and mount it to a local directory (with the assets{0-3}.pk3 in it) as I have in the dev-feature-BaseAsVolume branch... it doesn't work?

The game server will try to launch but for some reason is unable to see the .pk3 files:

OpenJK-MP: v1.0.1.0 linux-i386 May 1 2023
2023-06-01 10:12:04 ----- FS_Startup -----
2023-06-01 10:12:04 Current search path:
2023-06-01 10:12:04 /root/.local/share/openjk/japlus
2023-06-01 10:12:04 ./japlus
2023-06-01 10:12:04 /root/.local/share/openjk/base
2023-06-01 10:12:04 ./base
2023-06-01 10:12:04
2023-06-01 10:12:04 ----------------------
2023-06-01 10:12:04 0 files in pk3 files

weirdly, the file system sees the files just fine if you check the mount directory. Everything works fine in the original code from tofi92 where the files are mounted from another directory and then copied into base... it just doesn't make sense to me. Why can the container see the files, but the application running within the container cannot? Permissions on the files seem correct as well. I'm at a loss with this one.

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