mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2040] Cannot access profile file #1376
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#1376
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 @dmitryvakulenko on GitHub (Jul 15, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2040
I get this error message whet firejail try to read profile file in ~/.config/firejail. This is a full log
Profile file are exist and has correct permissions
Even more - this trouble happend only on my notebook not on PC! Firejail version (0.9.54), OS (Mint 19) and profile files are same. This began after I updated my Linux Mint 18.3 to 19.
How can I get more information about reasons of this trouble?
@chiraag-nataraj commented on GitHub (Jul 15, 2018):
Can you post (or attach) your
Telegram.profilehere? I suspect it has something to do with anincludewithin your profile.@dmitryvakulenko commented on GitHub (Jul 15, 2018):
This is it. But any one of profiles in .config/firejale show same behaviour.
Telegram profile
private ${HOME}/private/telegram
noblacklist ${HOME}/.local/share/TelegramDesktop
noblacklist ${HOME}/.config/mimeapps.list
noblacklist ${HOME}/.local/share/mime
include /etc/firejail/disable-mgmt.inc
include /etc/firejail/disable-secret.inc
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
caps.drop all
seccomp
protocol unix,inet,inet6
noroot
whitelist ~/Downloads/Telegram Desktop
whitelist ${HOME}/.local/share/TelegramDesktop
whitelist ${HOME}/.config/mimeapps.list
whitelist ${HOME}/.local/share/mime
include /etc/firejail/whitelist-common.inc
#include /etc/firejail/firefox.profile
#include /etc/firejail/google-chrome.profile
@dmitryvakulenko commented on GitHub (Jul 15, 2018):
I check my profile files - yes you right. Files disable-mgmt.inc and disable-secret.inc are absent in /etc/firejail.
@chiraag-nataraj commented on GitHub (Jul 15, 2018):
There you go 🙂 They might be in
/usr/local/etc/firejailif you compiled from thegitversion.@dmitryvakulenko commented on GitHub (Jul 15, 2018):
No. I installed it from .deb file and the package not contain this files.
@chiraag-nataraj commented on GitHub (Jul 15, 2018):
Hmm, that's weird. Is this from the repositories? Which distro?
@dmitryvakulenko commented on GitHub (Jul 15, 2018):
I downloaded it here https://sourceforge.net/projects/firejail/files/firejail/firejail_0.9.54_1_amd64.deb/download
@chiraag-nataraj commented on GitHub (Jul 15, 2018):
Which distro are you using? Is
firejailnot in the repository?@dmitryvakulenko commented on GitHub (Jul 15, 2018):
I used Mint 19 (upgraded from 18.3) about week ago. Yes, firejail is in repository but version 0.9.52 and that package don't has this files too.
I think this files left on my PC from previous firejail installation from Mint 18.3.
@SkewedZeppelin commented on GitHub (Jul 15, 2018):
@dmitryvakulenko can you try the following
@chiraag-nataraj commented on GitHub (Jul 15, 2018):
Oh. Right.
disable-mgmt.incanddisable-secret.incwere deprecated a long time ago, so you can't use those anymore.@dmitryvakulenko commented on GitHub (Jul 15, 2018):
So I should just remove this files from my profiles, right?
@dmitryvakulenko commented on GitHub (Jul 15, 2018):
@SkewedZeppelin, this command works. Bug is in my profile file.
@SkewedZeppelin commented on GitHub (Jul 15, 2018):
@dmitryvakulenko yes, you should remove/backup any profiles you have in .config/firejail that contain disable-mgmt or disable-secret as those were removed in 0.9.40 (?)
@dmitryvakulenko commented on GitHub (Jul 15, 2018):
Thanks for help!!