mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1327] firejail 0.9.46 private-etc broken? #908
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#908
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 @chiraag-nataraj on GitHub (Jun 2, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1327
I seem to have trouble with the following line in my
muttprofile:which leads to the following output:
I did not have this issue with 0.9.44, and do not have this issue with any other
private-*lines in my profile.[edit] removing
mime.typesfrom my profile allows the program to at least load, but I still get the other warnings.@chiraag-nataraj commented on GitHub (Jun 2, 2017):
Ah, interesting. It seems that some of my
/etc/alternatives/links are broken, so I guess those warnings make sense. However, it still breaks when I includemime.types.@Fred-Barclay commented on GitHub (Jun 3, 2017):
Can you post your profile here?
@netblue30 commented on GitHub (Jun 3, 2017):
I think you removed Java Open JDK using "sudo apt-get remove openjdk...". This removed the package but left broken symlinks in /etc/alternatives. If you do "ls -l /etc/alternative/rmid", this is a symlink pointing nowhere, so firejail cannot set it up in --private-etc. Use "sudo apt-get purge ..." to remove packages, this also cleans up /etc directory.
Do also a "ls -l /etc/mime.types". This looks like a different problem.
@chiraag-nataraj commented on GitHub (Jun 3, 2017):
I got rid of those warnings, so you can ignore those.
Regarding
/etc/mime.types, I found out that it was (for some reason) owned by me. Changing the permission on it toroot:rootwas enough to get it to launch. So I guess the error could be clearer? But I'm going to close this as the issue is resolved 😄For people coming back here at some point: check your permissions 😛