mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1784] KDEinit could not launch '/use/local/bin/kate' #1207
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#1207
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 @idnovic on GitHub (Feb 23, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1784
If I open a file from Dolphin on Plasma 5.12 (Ubuntu 17.10 + kde backports ppa)
Kate displays the file. Everything alright.
But then I close kate and I get this error in an dialog with bell noise
KDEInit could not launch '/usr/local/bin/kate'I do not know what you need to figure it out, suggestions are welcome.
@idnovic commented on GitHub (Feb 23, 2018):
firejail 0.9.52
@smitsohu commented on GitHub (Feb 24, 2018):
Hi @idnovic! Can you please run
firejail --treeto check if there is a firejailed kdeinit5?Do you also run Dolphin in Firejail?
@idnovic commented on GitHub (Feb 24, 2018):
firejail --tree 1899:idnovic:/usr/bin/firejail /usr/bin/baloo_file 1904:idnovic:/usr/bin/firejail /usr/bin/baloo_file 1945:idnovic:/usr/bin/baloo_file 8706:idnovic:/usr/bin/firejail /usr/bin/firefox 8708:idnovic:/usr/bin/firejail /usr/bin/firefox 8715:idnovic:/usr/lib/firefox/firefox 8768:idnovic:/usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs XYZ... 12915:idnovic:/usr/bin/firejail /usr/bin/dolphin 12917:idnovic:/usr/bin/firejail /usr/bin/dolphin 12920:idnovic:/usr/bin/dolphin 12954:idnovic:/usr/bin/firejail /usr/bin/kate -b /home/idnovic/Documents/fonts.conf 12955:idnovic:/usr/bin/firejail /usr/bin/kate -b /home/idnovic/Documents/fonts.conf 12958:idnovic:/usr/bin/kate -b /home/idnovic/Documents/fonts.conf 12964:idnovic:firejail --treestrange part is, I can not reproduce it atm.
Happend yesterday all day long...
@idnovic commented on GitHub (Feb 24, 2018):
yes dolphin is firejailed
kdeinit5 seems not to be.
@smitsohu commented on GitHub (Feb 24, 2018):
Only for confirmation: If you disable Firejail for Dolphin and Kate (run e.g.
cd /usr/local/bin && sudo rm dolphin kate), does the issue disappear?@idnovic commented on GitHub (Feb 24, 2018):
okay, I can reproduce it now. It does not happen with the first file I open but with the 2nd.
to answer your question, yes the error disappears. With firejail disabled I can open as many files as I want. The differenc is, that all get opened in the same kate window in tabs without firejail. But with firejail the files get opened in new kate instances.
@smitsohu commented on GitHub (Feb 24, 2018):
Thanks. It seems to be some variation of an old KDE bug.... only this time it is caused by Firejail.
@idnovic commented on GitHub (Feb 24, 2018):
let me know if you have something to test.
I can live with the error. That said, can you let kate open files in tabs instead of new windows?
I know a new window is more secure( well I think it is if it is a new process) but I did like to have the option.
@Vincent43 commented on GitHub (Feb 24, 2018):
You can try opening it in named profile, add
join-or-start <some-name>to profile.@idnovic commented on GitHub (Feb 24, 2018):
can you explain it further? Add it to dolphin or kate? And in which file?
@SkewedZeppelin commented on GitHub (Feb 25, 2018):
Add it to kate, then all firejailed kate processes will end up in the same sandbox instance.
@Vincent43 commented on GitHub (Feb 25, 2018):
You can check with
firejail --listto see under which profile kate runs (dolphin's one or its own) then create/etc/firejail/<kate-or-dolphin>.localand add above line there.@idnovic commented on GitHub (Feb 25, 2018):
awesome, thank you all. It works :)