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

Firefox Wayland terminating #137

Open
boredsquirrel opened this issue Oct 13, 2024 · 3 comments
Open

Firefox Wayland terminating #137

boredsquirrel opened this issue Oct 13, 2024 · 3 comments

Comments

@boredsquirrel
Copy link

Output of bubblejail --version

0.9.3

Your distro name and version

Fedora Kinoite 40

Description

I created a jail for firefox_wayland and also enabled pipewire, v4l and .mozilla access.

running it it seems fine but then fail. I can acces all files without using the portal, from within firefox

bubblejail run firefox firefox
Sandboxed PID: 5048
Bubblewrap started. PID: <Process 5047>
Started unix server
No children found. Terminating.
Terminated
Bubblewrap terminated
@igo95862
Copy link
Owner

Hello @boredsquirrel

running it it seems fine but then fail.
No children found. Terminating.

Looks like Firefox crashes and exits? After there are not more processes in the sandbox the sandbox terminates.

@boredsquirrel
Copy link
Author

hi, so you mean you can only run

  • a bubblejail instance if no other firefox instance is running
  • a bubblejail instance if no other firefox without bubblejail is running
  • a bubblejail instance if no other firefox bubble is running

when closing all non-bubblejail instances, it seems to work! (because the kde filepicker portal doesnt work, lol)

@igo95862
Copy link
Owner

igo95862 commented Oct 16, 2024

when closing all non-bubblejail instances, it seems to work!

This is because the Firefox acquires the global D-Bus name to do the IPC. If you have some Firefox already using the D-Bus name then launching it again will simply call the already running instance.

There are ways around this.

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

2 participants