mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2239] Debian based distributions need writable-var in tar.profile #1505
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#1505
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 @ghost on GitHub (Nov 5, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2239
On Ubuntu 16.04, dpkg/synaptic throws the below errors when sandboxing
tarand installing/upgrading a package:/bin/tar: ./prerm: Cannot open: Read-only file system
/bin/tar: ./md5sums: Cannot open: Read-only file system
/bin/tar: ./control: Cannot open: Read-only file system
/bin/tar: ./postinst: Cannot open: Read-only file system
/bin/tar: ./postrm: Cannot open: Read-only file system
/bin/tar: ./triggers: Cannot open: Read-only file system
/bin/tar: ./preinst: Cannot open: Read-only file system
/bin/tar: .: Cannot utime: Read-only file system
/bin/tar: .: Cannot change ownership to uid 0, gid 0: Read-only file system
/bin/tar: Exiting with failure status due to previous errors
dpkg: error processing archive /var/cache/apt/archives/php7.1-xml_7.1.23-2+ubuntu16.04.1+deb.sury.org+1_amd64.deb (--unpack):
failed to open package info file '/var/lib/dpkg/tmp.ci/control' for reading: No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/php7.1-xml_7.1.23-2+ubuntu16.04.1+deb.sury.org+1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover
This can be fixed by adding
writable-varto thetarprofile.Regards.