mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2966] firejail should follow symlinks for private-etc? #1852
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#1852
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 @adrelanos on GitHub (Sep 16, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2966
Had a difficult to debug issue with SecBrowser and firejail. (Using torbrowser-launcher profile since SecBrowser is a derivative of Tor Browser.)
This line in torbrowser-launcher was the cause:
/etc/resolv.conf was a symlink to /etc/resolv.conf.kicksecure
ls -la /etc/resolv.conf*
lrwxrwxrwx 1 root root 22 Sep 15 13:25 /etc/resolv.conf -> resolv.conf.kicksecure
-rw-r--r-- 1 root root 311 Sep 16 06:46 /etc/resolv.conf.kicksecure
-rw-rw-r-- 1 root root 0 Sep 15 13:24 /etc/resolv.conf.kicksecure-orig
Similar to
resolvconfwhich also uses symlinks.Appending
,resolv.conf.kicksecureto that line fixed the issue.Therefore DNS was broken.
Therefore would ti be good if firejail would follow symlinks?
@netblue30 commented on GitHub (Sep 22, 2019):
I'll add support for it. The requirement would be file linked should be owned by root and have the same attributes.
@adrelanos commented on GitHub (Sep 22, 2019):
That sounds good!
@rusty-snake commented on GitHub (Mar 10, 2022):
00cb236add/RELNOTES (L56)Fixed?
@netblue30 commented on GitHub (Mar 11, 2022):
Yes, it was fixed. I forgot to close it.