-
Notifications
You must be signed in to change notification settings - Fork 567
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
Strange issue with xonotic.profile on Arch #4626
Comments
$ git grep "cannot find the program in the path"
src/firejail/run_symlink.c: fprintf(stderr, "Error: cannot find the program in the path\n"); void run_symlink(int argc, char **argv, int run_as_is) {
...
char *p = find_in_path(program);
if (!p) {
fprintf(stderr, "Error: cannot find the program in the path\n");
exit(1);
}
... Can you run What does |
I noticed this a few months ago on Fedora 34.
Had to revert the wildcard.
```
-rw-r--r--. 1 root root 1.4K Aug 20 11:31 /etc/firejail/xonotic.profile
```
|
Can you try with |
Same. Are you on Arch as well? Also which part of the output should I paste (it's massive). |
Fedora 34. The lines before "cannot find the program in the path" e.g. where tries to search. |
|
In the debug log there might be a section like this
You may also want to compare the output of Inside the sandbox, after |
There is no such section/lines:
OK then I think that is probably the issue, b/c:
|
Ok, that's strange.
|
|
Thanks, I think it's clear now. We are skipping these Firejail symbolic links when there is no globbing, but with globbing we need to do the same thing. It's a bug! |
Can't wrap my head around this 😞 Updated Arch Linux,
xonotic
installed from community repo, latestfirejail
from master. There are 3 binaries in/usr/bin
:The profile defines a
private-bin
as follows:If I run the game I get:
This is odd so I change
xonotic*
toxonotic-sdl
. Now the game starts. I revert the change and run a bash inside the profile. Inside it I can see that all 3 files were copied as expectedSo it looks like the globbing worked. Any idea where is this coming from?
The text was updated successfully, but these errors were encountered: