mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 22:01:33 -06:00
[GH-ISSUE #1547] Too restrictive blacklisting for systemd-resolved, unable to browse the web due to broken resolv.conf symlink #1030
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1030
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ThibaultMndr on GitHub (Sep 14, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1547
With firejail 0.9.50 on Arch,
disable-common.incblacklists/var/run/systemd. But with a systemd-resolved configuration/etc/resolv.confis a symlink to/var/run/systemd/resolve/resolv.conf, so the link is broken in jails.Adding
noblacklist /var/run/systemdbefore including/etc/firejail/disable-common.incin profiles that require accessing internet is a workaround.It should be more secure to only allow access to
/var/run/systemd/resolve/resolv.confbut I don't know if it is possible without blacklisting individually allvar/run/systemdsubfolders@netblue30 commented on GitHub (Sep 14, 2017):
I'll disable the blacklist in /etc/firejail/disable-common.inc, thanks for the bug.
@netblue30 commented on GitHub (Sep 14, 2017):
Fixed:
1e879f1199@oxwivi commented on GitHub (Apr 23, 2018):
Does this issue still apply to the version shipping with Ubuntu 16.04 repo?
@oxwivi commented on GitHub (Apr 23, 2018):
I compiled and installed, yes, issue still applies to the version shipping on Ubuntu repos. However, the
firejailon repo version added a helpful[]indicator around the prompt to show currently infirejail'd env, compiled version doesn't. How do I activate it?