mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5306] Error while opening directory: fs.c:476 fs_tmpfs: No such file or directory (Fedora Silverblue) #2951
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#2951
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 @jonleivent on GitHub (Aug 9, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5306
On Fedora Silverblue, which is an ostree-version of Fedora with /home symlinked to /var/home, firejail (0.9.66) fails:
This problem does not occur on standard Fedora, which does not symlink /home. It also does not occur in Silverblue when firejail is not provoked into trying to protect /home (via --private, --private=... etc.).
I am able to get firejail to function within a toolbox (podman container) on Silverblue by removing the symlink and instead mounting /var/home on /home. That probably is unsafe to do outside the toolbox, and is at least not the direction of Silverblue (and whatever other ostree-based distros will follow).
A suggestion to handle these cases would be for firejail to follow the symlink from /home to /var/home, and do whatever protecting/remounting there instead. A general solution would be for firejail to determine where in the symlink-resolved home path for each user in /etc/passwd (a user could have a home anywhere) there is a directory that can be mounted over either to hide that user or to remount home for that user.
@rusty-snake commented on GitHub (Aug 9, 2022):
Silverblue/Kinoite is not supported by firejail.
@rusty-snake commented on GitHub (Aug 9, 2022):
#2798, #3025, #3307