mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1588] Configurable location for Overlay Directories #1059
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#1059
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 @jsm09a on GitHub (Oct 4, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1588
Enhancement request: Ability to specify an alternate location for the Overlay Directories (hdiff, hwork, odiff, owork) when using "--overlay-name=", preferably in the profile file for each application.
When using large overlays for application installation and testing, it would be nice to be able to move the overlay directories from ~/.firejail to an alternate location (e.g. an SSD partition). Unfortunately, even trying to set ~/.firejail to a symbolic link is rejected. Thanks !
@jsm09a commented on GitHub (Oct 6, 2017):
After further testing, I've concluded that the OverlayFS containers are not quite as useful as I had hoped. Therefore, as the original author, I'd suggest that this enhancement request is not really that valuable and that development efforts might be better spent elsewhere ... I am taking the liberty of closing this issue at this time.
As per the Kernel documentation for the Overlay File System, "Changes to the underlying filesystems while part of a mounted overlayfilesystem are not allowed. If the underlying filesystem is changed,
the behavior of the overlay is undefined, though it will not result in a crash or deadlock.".
As such, the use of Overlays to install and run arbitrary application packages, although quite attractive, is not really recommended for general use on an operational system, as there will undoubtedly be ongoing changes in the "lower" directory. Furthermore, it appears (in my limited testing) that some of the FireJail features (such as seccomp.keep) are not fully effective when --overlay-name= is used.