mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2872] /dev/fd symlink is missing when using private-dev #1792
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#1792
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 @simonfxr on GitHub (Jul 26, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2872
When enabling
private-deva symlink from/dev/fd->/proc/self/fdis missing. It might be a good idea to just create it, e.g. bash uses it for process substitution.@Vincent43 commented on GitHub (Jul 26, 2019):
We may consider re-examining
private-devcontents in general. For example here's the difference between content exposed by firejail vs flatpak:@rusty-snake commented on GitHub (Jul 27, 2019):
stderr, stdin, stdout will also be used in some scripts.
@netblue30 commented on GitHub (Jul 31, 2019):
OK, I'll add /dev/fd,stderr,stdin,stdout. These are symlinks to existing files in /proc.
I'll get rid of /dev/log, it makes sense only for running servers as root. The others are more problematic:
@Vincent43 commented on GitHub (Aug 1, 2019):
To complete above
/dev/sndcan be removed with--nosound,/dev/driby--no3dand/dev/hidraw*+/dev/usbby--nou2f.@smitsohu commented on GitHub (Feb 24, 2020):
The original issue is fixed in
f25e8d6846