mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6943] akonadi_control: akonadictl fails to start #3432
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#3432
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 @haplo on GitHub (Oct 21, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6943
Description
Akonadi fails to start with the default firejail profile. This started happening recently after an upgrade (I'm on Arch Linux).
Steps to Reproduce
akonadictl start, this callsakonadi_controlwhich is under firejail control (symlink in/usr/local/bin/akonadi_control)Expected behavior
Akonadi starts correctly.
Actual behavior
DrKonqi crash handler appears. No debug information appears, says GDB is not installed (but it is, so probably hidden by firejail). Closing DrKonqi window makes it appear again, 4 times total.
Behavior without a profile
Fails but logs are different:
Removing
/usr/local/bin/akonadi_controlsymlink fixes the problem, so Akonadi is working without firejail.Additional context
Any other detail that may help to understand/debug the problem
Environment
uname -srm): Linux 6.17.3-arch2-1 x86_64mesa 1:24.3.3-2"): akonadictl 6.5.2 (25.08.2)
firejail --version): firejail version 0.9.76Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)Log
Output of
akonadictl start(which calls `akonadi_control` internally, under firejail control)Output of
akonadictl --verbose startwith akonadi_control not under firejail control@haplo commented on GitHub (Oct 21, 2025):
I have tried blanking
akonadi_control.profileand it still failed, although with a shorter log:What else can I do in this situation?
@kmk3 commented on GitHub (Oct 27, 2025):
Always use the absolute path to avoid firejail-in-firejail bugs:
What happens with the following command?
And the following command?
@haplo commented on GitHub (Oct 27, 2025):
Thank you @kmk3 for the help!
It's obvious when you mention it. 🤦
I deleted the symlink at
/usr/local/bin/akonadi_server, and interestingly it also fails:Also fails:
@kmk3 commented on GitHub (Oct 27, 2025):
No problem.
So it fails even with noprofile.profile.
Not sure how it could be made to work then.
Is there anything in
dmesgwith the following?What is the output of the following?
@rusty-snake commented on GitHub (Oct 28, 2025):
From OP:
akonadictl is the wrong program to noprofile.
@kmk3 commented on GitHub (Oct 28, 2025):
Good catch, thanks.
@haplo
For debugging, you can try commenting lines in
akonadi_control.profileuntilakonadictlworks to find out which lines are causing issues and then post thelines in here.
@witchent commented on GitHub (Oct 29, 2025):
I have the same problem. Completely emptying/commenting the akonadi_control.profile does not help. I get
which made me look into the dbus stuff.
Adding
results in
Additionally owning that service with
dbus-user.own org.freedesktop.Akonadi.*Actually changes some stuff because now the akonadiserver crash handler opens. CLI tells me
D-Bus session bus is not available!again howeverI am a bit lost here and thus currently just not using firejail for akonadi stuff, but of course I'd love to change that again, so I am open for any suggestions.
@haplo commented on GitHub (Mar 7, 2026):
After months running Akonadi without firejail I came back to this issue to see if it was resolved, but it wasn't on latest stable firejail (0.9.78) and Akonadi (25.12.3-1).
Running
akonadi_control startwithout firejail works, but running under firejail withnoprofilefails:I believe this might be the issue, and the rest to be red herrings:
Does this issue deserve getting the
broken-noprofiletag back? Anything else I can try to debug the situation?Thank you for your support!