mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #556] 0.9.38-1~bpo: firejail cannot handle /etc/skel/.bashrc as symlink #392
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#392
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 @Symbolis on GitHub (Jun 5, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/556
Was told to report this issue from distro downstream from Debian Jessie (jessie-backports).
Firejail whitelisting fails because /etc/skel/.bashrc is a symlink in their distro:
user@host:~$ firejail /usr/bin/iceweasel
Reading profile /home/user/.config/firejail/iceweasel.profile
Reading profile /etc/firejail/disable-mgmt.inc
Reading profile /etc/firejail/disable-secret.inc
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/whitelist-common.inc
Parent pid 30345, child pid 30346
Error: invalid /etc/skel/.bashrc file
Error: cannot establish communication with the parent, exiting...
Issue goes away when /etc/skel/.bashrc is not a symlink (rm -f /etc/skel/.bashrc and copy original instead)
I can't check if fixed in 9.40 or not, sorry, but not finding tickets.
How to reproduce:
cp /etc/skel/.bashrc /etc/skel/.bashrc.orig
rm /etc/skel/.bashrc
ln -s /etc/skel/.bashrc.orig /etc/skel/.bashrc
firejail /usr/bin/iceweasel
@Symbolis commented on GitHub (Jun 5, 2016):
Also happens on 9.40 (attempted on another distro).
@netblue30 commented on GitHub (Jun 6, 2016):
I have a fix in git. The commit is
c5ed2af102Thank you for the bug report.