-
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
join fails with private-bin and an alternate (non-bash/sh) shell as default #2934
Comments
@veloute The profiles you mention (keepassxc, mpv, hexchat and flameshot) all have a restricted |
that works. |
Until we fix this in the join option itself, that is your best bet I'm afraid. Marking this as a bug, so it might get more close attention. Perhaps you could change the issue to something like 'join fails with restrictive private-bin' or whatever you feel is appropriate. IMHO it's not only a zsh issue per se. |
that's what i was thinking - users using alternate shells such as fish, csh, etc. would all (most likely) experience the same problem. |
That sounds perfect 👍 . |
My shell: zsh
|
@rusty-snake I think that's part of the solution. At least Besides that there is the general question if it's a good idea to water down |
If this can be easily integrated into |
Actually, turns out there is nothing to fix in |
Error messages need some work #2743. Here we can do something like: |
It actually is possible to address it in join. We could open the shell just before entering the mount namespace, and then in the end execute the links in Then we have a shell, but a different question is how useful it will be. There is hardly any |
If that's the way to go, there are two problems:
So a question is if Firejail can insist on a binary shell. Maybe there could be a second option, something like |
Alright, there is now an experimental branch https://github.com/smitsohu/firejail/tree/smitsohu-shell It allows users to join a sandbox and have a shell even if the shell is absent in the sandbox mount namespace. But as noted earlier this patch also adds new glitches, and I currently don't know how to avoid this:
Unfixed bug: If there is no bash shell in the sandbox, |
We do not start /bin/bash in the sandbox, we use $SHELL (which is usually /bin/bash). See #3434 and #3844. This commit updates the manpage accordingly until #3434 is resolved with a final solution like using /bin/bash or /bin/sh as hardcoded default. Close #3844. The descriptions of --join* are not updated as there is currenly some work, see #2934 and #3850.
|
as per #2633 (comment)
The text was updated successfully, but these errors were encountered: