mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4629] /var not mounted with --overlay and failed to do dpkg related things #2731
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#2731
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 @SalimTerryLi on GitHub (Oct 21, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4629
Description
After launching firejail with command
firejail --overlay,/vardirectory is empty and seems not correctly mounted. This causes apt and dpkg not working.Steps to Reproduce
firejail --name=test --overlaysudo firejail --join=testin another sessionExpected behavior
There should be something in
/varand apt & dpkg should workActual behavior
Nothing in
/varso apt and dpkg won't workBehavior without a profile
What changed calling
LC_ALL=C firejail --noprofile /path/to/programin a terminal?Without
--overlayit works as expected.Additional context
I didn't run
sudo firecfg, as I don't want to apply all profiles to my system. Instead I want to isolate one manually and keep its data with overlayfs.Found similar closed issue https://github.com/netblue30/firejail/issues/11
Environment
Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
Output of
LC_ALL=C firejail --noprofileOutput of
LC_ALL=C firejail --debug --overlay@rusty-snake commented on GitHub (Oct 21, 2021):
OT: You should consider to install security updates (and to use a different distro as Ubuntu/Mint don't have security updates).
Is
/varon a separate partition?@SalimTerryLi commented on GitHub (Oct 21, 2021):
Yes, I have
/homeand/varmounted on separate partitions./homeworks just fine.Any other dpkg based distro recommend? I have almost all my devices managed with dpkg and find Mint to be the best choice for PC...
@SalimTerryLi commented on GitHub (Nov 3, 2021):
Any further information available? @rusty-snake
@rusty-snake commented on GitHub (Nov 7, 2021):
Is only the
--joined/varempty orfirejail --overlay ls /vartoo?@SalimTerryLi commented on GitHub (Nov 7, 2021):
Both are empty.
Also tested with
firejail --name=test --overlayandsudo firejail --name=test --overlay, and join with or withoutsudo. Empty, either.