[GH-ISSUE #4482] It seems that 8d3d67e896 breaks Firefox #2681

Closed
opened 2026-05-05 09:20:32 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @KOLANICH on GitHub (Aug 26, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4482

Bug and expected behavior
Firefox cannot access internet after 8d3d67e896

No profile and disabling firejail

  • What changed calling firejail --noprofile /path/to/program in a terminal?: works
  • What changed calling the program by path (e.g. /usr/bin/vlc)?: works

Reproduce
Steps to reproduce the behavior:

  1. Run in bash firejail firefox
  2. Open any networked website.
  3. DNS is not available.

Environment

  • Linux distribution and version (ie output of lsb_release -a, screenfetch or cat /etc/os-release) Ubuntu 21.04 hirsute
  • Firejail version (output of firejail --version) exclusive or used git commit (git rev-parse HEAD) 8d3d67e896

Additional context

Checklist

  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • I have performed a short search for similar issues (to avoid opening a duplicate).
  • If it is a AppImage, --profile=PROFILENAME is used to set the right profile.: n/a
  • Used LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PROGRAM to get english error-messages.
  • I'm aware of browser-allow-drm yes/browser-disable-u2f no in firejail.config to allow DRM/U2F in browsers.
  • This is not a question. Questions should be asked in https://github.com/netblue30/firejail/discussions.

Debug output contains nothing useful at the moments I try to open websites from Firefox.

UPD: after manually replacing the files from a good commit with the ones of f4b36e8032 it stopped breaking on f4b36e8032. Now it breaks on 8d3d67e896

Originally created by @KOLANICH on GitHub (Aug 26, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/4482 **Bug and expected behavior** Firefox cannot access internet after 8d3d67e8960f87a7592bc3a1623f27b45a52edb5 **No profile and disabling firejail** - What changed calling `firejail --noprofile /path/to/program` in a terminal?: works - What changed calling the program by path (e.g. `/usr/bin/vlc`)?: works **Reproduce** Steps to reproduce the behavior: 1. Run in bash `firejail firefox` 2. Open any networked website. 3. DNS is not available. **Environment** - Linux distribution and version (ie output of `lsb_release -a`, `screenfetch` or `cat /etc/os-release`) Ubuntu 21.04 hirsute - Firejail version (output of `firejail --version`) exclusive or used git commit (`git rev-parse HEAD`) 8d3d67e8960f87a7592bc3a1623f27b45a52edb5 **Additional context** **Checklist** - [x] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). - [x] The program has a profile. (If not, request one in `https://github.com/netblue30/firejail/issues/1139`) - [x] I have performed a short search for similar issues (to avoid opening a duplicate). - [x] If it is a AppImage, `--profile=PROFILENAME` is used to set the right profile.: n/a - [ ] Used `LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PROGRAM` to get english error-messages. - [x] I'm aware of `browser-allow-drm yes`/`browser-disable-u2f no` in `firejail.config` to allow DRM/U2F in browsers. - [x] This is not a question. Questions should be asked in https://github.com/netblue30/firejail/discussions. Debug output contains nothing useful at the moments I try to open websites from Firefox. UPD: after manually replacing the files from a good commit with the ones of f4b36e80321379c4917c7ab9c9b3bbcfad05899f it stopped breaking on f4b36e80321379c4917c7ab9c9b3bbcfad05899f. Now it breaks on 8d3d67e8960f87a7592bc3a1623f27b45a52edb5
Author
Owner

@rusty-snake commented on GitHub (Aug 27, 2021):

Where does your /etc/resolv.conf point?

<!-- gh-comment-id:907214360 --> @rusty-snake commented on GitHub (Aug 27, 2021): Where does your `/etc/resolv.conf` point?
Author
Owner

@KOLANICH commented on GitHub (Aug 27, 2021):

/run/resolvconf/resolv.conf (127.0.0.53)

<!-- gh-comment-id:907242153 --> @KOLANICH commented on GitHub (Aug 27, 2021): `/run/resolvconf/resolv.conf` (127.0.0.53)
Author
Owner

@rusty-snake commented on GitHub (Aug 27, 2021):

Then we should whitelist /run/resolvconf/resolv.conf in whitelist-run-common.inc too.

<!-- gh-comment-id:907246504 --> @rusty-snake commented on GitHub (Aug 27, 2021): Then we should `whitelist /run/resolvconf/resolv.conf` in whitelist-run-common.inc too.
Author
Owner

@KOLANICH commented on GitHub (Sep 3, 2021):

Thank you.

<!-- gh-comment-id:912277809 --> @KOLANICH commented on GitHub (Sep 3, 2021): Thank you.
Author
Owner

@mjanonis commented on GitHub (Sep 3, 2021):

On Arch Linux, /etc/resolv.conf points to /run/systemd/resolve/stub-resolv.conf when systemd-resolved is used, so that needs to get added to the whitelist too. I had the same problem and doing that fixed it.

<!-- gh-comment-id:912754779 --> @mjanonis commented on GitHub (Sep 3, 2021): On Arch Linux, `/etc/resolv.conf` points to `/run/systemd/resolve/stub-resolv.conf` when systemd-resolved is used, so that needs to get added to the whitelist too. I had the same problem and doing that fixed it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2681
No description provided.