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

Let programs outside librewolf sandbox open new tabs in librewolf #4546

Merged
merged 1 commit into from
Sep 19, 2021
Merged

Conversation

crocket
Copy link
Contributor

@crocket crocket commented Sep 15, 2021

This is a very simple pull request.

@kmk3
Copy link
Collaborator

kmk3 commented Sep 15, 2021

Relates to #4538.

Copy link
Collaborator

@rusty-snake rusty-snake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need a comment, anyway.

@crocket
Copy link
Contributor Author

crocket commented Sep 15, 2021

I deleted comment.

@rusty-snake rusty-snake merged commit c3f2996 into netblue30:master Sep 19, 2021
@rusty-snake
Copy link
Collaborator

Merged, thanks.

@matu3ba matu3ba mentioned this pull request Oct 7, 2021
kmk3 added a commit to kmk3/firejail that referenced this pull request Sep 11, 2024
It appears that LibreWolf 129 uses `io.gitlab.firefox.*` as the dbus
name.

Commands used to check the dbus name:

    $ busctl --user --no-legend | grep -v '^:' | grep librewolf |
      sed -E 's/(^[^ ]+\.)[^. ]+ .*/\1/'
    io.gitlab.firefox.

Commands used to test dbus communication:

    # Open a new browser instance:
    $ firejail --name=lwtest --ignore=name --ignore='dbus-user none' \
      --dbus-user=filter --dbus-user.own='io.gitlab.firefox.*' \
      --private --net=none --ignore=net /usr/bin/librewolf
    # In another shell, try to open a new tab:
    $ firejail --join=lwtest /usr/bin/librewolf --new-tab about:blank
    # Check that the new tab was opened

Related commits:

* c3f2996 ("Let programs outside librewolf sandbox open new tabs in
  librewolf (netblue30#4546)", 2021-09-19)
* a8ad9ca ("Update librewolf.profile: use new message bus",
  2022-02-03) / PR netblue30#4897
* 4211ee3 ("merges", 2022-02-04)

Fixes netblue30#6413.

Misc: This was noticed on netblue30#6444.

Reported-by: @Lonniebiz
kmk3 added a commit to kmk3/firejail that referenced this pull request Sep 13, 2024
It appears that LibreWolf 129 uses `io.gitlab.firefox.*` as the dbus
name.

Commands used to check the dbus name:

    $ busctl --user --no-legend | grep -v '^:' | grep librewolf |
      sed -E 's/(^[^ ]+\.)[^. ]+ .*/\1/'
    io.gitlab.firefox.

Commands used to test dbus communication:

    # Open a new browser instance:
    $ firejail --name=lwtest --ignore=name --ignore='dbus-user none' \
      --dbus-user=filter --dbus-user.own='io.gitlab.firefox.*' \
      --private --net=none --ignore=net /usr/bin/librewolf
    # In another shell, try to open a new tab:
    $ firejail --join=lwtest /usr/bin/librewolf --new-tab about:blank
    # Check that the new tab was opened

Related commits:

* c3f2996 ("Let programs outside librewolf sandbox open new tabs in
  librewolf (netblue30#4546)", 2021-09-19)
* a8ad9ca ("Update librewolf.profile: use new message bus",
  2022-02-03) / PR netblue30#4897
* 4211ee3 ("merges", 2022-02-04)

Fixes netblue30#6413.

Misc: This was noticed on netblue30#6444.

Reported-by: @Lonniebiz
kmk3 added a commit that referenced this pull request Sep 13, 2024
It appears that LibreWolf 129 uses `io.gitlab.firefox.*` as the dbus
name.

Commands used to check the dbus name:

    $ busctl --user --no-legend | grep -v '^:' | grep librewolf |
      sed -E 's/(^[^ ]+\.)[^. ]+ .*/\1/'
    io.gitlab.firefox.

Commands used to test dbus communication:

    # Open a new browser instance:
    $ firejail --name=lwtest --ignore=name --ignore='dbus-user none' \
      --dbus-user=filter --dbus-user.own='io.gitlab.firefox.*' \
      --private --net=none --ignore=net /usr/bin/librewolf
    # In another shell, try to open a new tab:
    $ firejail --join=lwtest /usr/bin/librewolf --new-tab about:blank
    # Check that the new tab was opened

Related commits:

* c3f2996 ("Let programs outside librewolf sandbox open new tabs in
  librewolf (#4546)", 2021-09-19)
* a8ad9ca ("Update librewolf.profile: use new message bus",
  2022-02-03) / PR #4897
* 4211ee3 ("merges", 2022-02-04)

Fixes #6413.

Misc: This was noticed on #6444.

Reported-by: @Lonniebiz
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

Successfully merging this pull request may close these issues.

3 participants