mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #831] private-etc invalid #564
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#564
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 @vismir2 on GitHub (Oct 2, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/831
According to the manpage:
--private-etc=file,directory
Build a new /etc in a temporary filesystem, and copy the files and directories in the
list. If no listed file is found, /etc directory will be empty. All modifications are
discarded when the sandbox is closed.
However when private-etc is used without additional files in the profile, executing the corresponding program leads to an error: "*.profile is invalid"
@chiraag-nataraj commented on GitHub (Oct 2, 2016):
Yeah, I've noticed this too. @netblue30, would it be possible to allow no parameters for
private-etc? That way, it would be easy to basically have a completely blank/etcdirectory.@netblue30 commented on GitHub (Oct 3, 2016):
It is already implemented. Do "--private-etc=empty" on command line, or "private-etc empty" in a profile file. Failing to find /etc/empty file, Firejail will just mount an empty tmpfs on top of /etc.