[GH-ISSUE #6943] akonadi_control: akonadictl fails to start #3432

Open
opened 2026-05-05 09:59:46 -06:00 by gitea-mirror · 8 comments
Owner

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

  1. akonadictl start, this calls akonadi_control which is under firejail control (symlink in /usr/local/bin/akonadi_control)
  2. Fails to start, log is below.

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:

$ LC_ALL=C firejail --noprofile akonadictl start
firejail version 0.9.76

Parent pid 36616, child pid 36617
Base filesystem installed in 0.03 ms
Child process initialized in 5.27 ms
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
org.kde.pim.akonadictl: Starting Akonadi Server...
Warning: an existing sandbox was detected. /usr/bin/akonadi_control will run without any additional sandboxing features
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
org.kde.pim.akonadictl:    done.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
D-Bus session bus is not available!
KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2
KCrash: Application Name = akonadiserver path = /usr/bin pid = 23
KCrash: Arguments: /usr/bin/akonadiserver
KCrash: Attempting to start /usr/lib/drkonqi
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
qrc:/ui/MainPage.qml:71:9: QML MainPageButton: Binding loop detected for property "icon.height":
qrc:/ui/MainPageButton.qml:15:5
qrc:/ui/MainPage.qml:53:9: QML MainPageButton: Binding loop detected for property "icon.height":
qrc:/ui/MainPageButton.qml:15:5

Removing /usr/local/bin/akonadi_control symlink fixes the problem, so Akonadi is working without firejail.

Additional context

Any other detail that may help to understand/debug the problem

Environment

  • Name/version/arch of the Linux kernel (uname -srm): Linux 6.17.3-arch2-1 x86_64
  • Name/version of the Linux distribution (e.g. "Ubuntu 20.04" or "Arch Linux"): Arch Linux
  • Name/version of the relevant program(s)/package(s) (e.g. "firefox 134.0-1,
    mesa 1:24.3.3-2"): akonadictl 6.5.2 (25.08.2)
  • Version of Firejail (firejail --version): firejail version 0.9.76

Checklist

  • The issues is caused by firejail (i.e. running the program by path (e.g. /usr/bin/vlc) "fixes" it).
  • I can reproduce the issue without custom modifications (e.g. globals.local).
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • I have performed a short search for similar issues (to avoid opening a duplicate).

Log

Output of akonadictl start (which calls `akonadi_control` internally, under firejail control)

$ akonadictl start
org.kde.pim.akonadictl: Starting Akonadi Server...
Reading profile /etc/firejail/akonadi_control.profile
Reading profile /home/haplo/.config/firejail/globals.local
Reading profile /etc/firejail/disable-common.inc
Reading profile /home/haplo/.config/firejail/disable-common.local
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /home/haplo/.config/firejail/disable-programs.local
Reading profile /etc/firejail/whitelist-run-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
firejail version 0.9.76

Parent pid 35947, child pid 35951
Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set.
Warning: not remounting /home/haplo/.ssh/authorized_keys
Warning: not remounting /home/haplo/.gnupg/gpg.conf
Warning: not remounting /home/haplo/.ssh/config
Warning: not remounting /home/haplo/.ssh/config.d
Warning: not remounting /run/user/1000/doc
Base filesystem installed in 185.62 ms
Child process initialized in 207.61 ms
libEGL warning: failed to get driver name for fd -1

libEGL warning: MESA-LOADER: failed to retrieve device information

libEGL warning: failed to get driver name for fd -1

MESA: error: ZINK: vkEnumeratePhysicalDevices failed (VK_ERROR_INITIALIZATION_FAILED)
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
org.kde.pim.akonadictl:    done.

Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
D-Bus session bus is not available!
KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2
KCrash: Application Name = akonadiserver path = /usr/bin pid = 57
KCrash: Arguments: /usr/bin/akonadiserver
KCrash: Attempting to start /usr/lib/drkonqi

Output of akonadictl --verbose start with akonadi_control not under firejail control

org.kde.pim.akonadictl: Starting Akonadi Server...
org.kde.pim.akonadictl:    done.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadiserver: Starting up the Akonadi Server...
org.kde.pim.akonadiserver: sqlite version is  "3.50.4"
org.kde.pim.akonadiserver: sqlite journal mode is  "wal"
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: Running DB initializer
org.kde.pim.akonadiserver: checking table  "SchemaVersionTable"
org.kde.pim.akonadiserver: checking table  "ResourceTable"
org.kde.pim.akonadiserver: checking table  "CollectionTable"
org.kde.pim.akonadiserver: checking table  "MimeTypeTable"
org.kde.pim.akonadiserver: checking table  "PimItemTable"
org.kde.pim.akonadiserver: checking table  "FlagTable"
org.kde.pim.akonadiserver: checking table  "PartTypeTable"
org.kde.pim.akonadiserver: checking table  "PartTable"
org.kde.pim.akonadiserver: checking table  "CollectionAttributeTable"
org.kde.pim.akonadiserver: checking table  "TagTypeTable"
org.kde.pim.akonadiserver: checking table  "TagTable"
org.kde.pim.akonadiserver: checking table  "TagAttributeTable"
org.kde.pim.akonadiserver: checking table  "TagRemoteIdResourceRelationTable"
org.kde.pim.akonadiserver: checking table  "PimItemFlagRelation"
org.kde.pim.akonadiserver: checking table  "PimItemTagRelation"
org.kde.pim.akonadiserver: checking table  "CollectionMimeTypeRelation"
org.kde.pim.akonadiserver: checking table  "CollectionPimItemRelation"
org.kde.pim.akonadiserver: DB initializer done
org.kde.pim.akonadiserver: skipping update 2
org.kde.pim.akonadiserver: skipping update 3
org.kde.pim.akonadiserver: skipping update 4
org.kde.pim.akonadiserver: skipping update 8
org.kde.pim.akonadiserver: skipping update 10
org.kde.pim.akonadiserver: skipping update 12
org.kde.pim.akonadiserver: skipping update 13
org.kde.pim.akonadiserver: skipping update 14
org.kde.pim.akonadiserver: skipping update 15
org.kde.pim.akonadiserver: skipping update 16
org.kde.pim.akonadiserver: skipping update 17
org.kde.pim.akonadiserver: skipping update 18
org.kde.pim.akonadiserver: skipping update 19
org.kde.pim.akonadiserver: skipping update 20
org.kde.pim.akonadiserver: skipping update 21
org.kde.pim.akonadiserver: skipping update 22
org.kde.pim.akonadiserver: skipping update 23
org.kde.pim.akonadiserver: skipping update 24
org.kde.pim.akonadiserver: skipping update 25
org.kde.pim.akonadiserver: skipping update 26
org.kde.pim.akonadiserver: skipping update 28
org.kde.pim.akonadiserver: skipping update 30
org.kde.pim.akonadiserver: skipping update 31
org.kde.pim.akonadiserver: skipping update 33
org.kde.pim.akonadiserver: skipping update 35
org.kde.pim.akonadiserver: skipping update 36
org.kde.pim.akonadiserver: skipping update 37
org.kde.pim.akonadiserver: skipping update 39
org.kde.pim.akonadiserver: skipping update 41
org.kde.pim.akonadiserver: Indexes successfully created
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: DataStore::unhideAllPimItems()
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi" owner changed from "" to ":1.400"
org.kde.pim.akonadicontrol: PLUGINS:  "/usr/share/akonadi/agents"
org.kde.pim.akonadicontrol: PLUGINS:  QList("akonadiindexingagent.desktop", "birthdaysresource.desktop", "contactsresource.desktop", "davgroupwareresource.desktop", "etesyncresource.desktop", "ewsmtaresource.desktop", "ewsresource.desktop", "googleresource.desktop", "icaldirresource.desktop", "icalresource.desktop", "imapresource.desktop", "knutresource.desktop", "kolabresource.desktop", "maildirresource.desktop", "maildispatcheragent.desktop", "mboxresource.desktop", "migrationagent.desktop", "mixedmaildirresource.desktop", "newmailnotifieragent.desktop", "openxchangeresource.desktop", "pop3resource.desktop", "vcarddirresource.desktop", "vcardresource.desktop")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_indexing_agent" 0 QList("Unique", "Autostart")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_birthdays_resource" 0 QList("Resource", "Unique")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_contacts_resource" 36 QList("Resource")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_davgroupware_resource" 2 QList("Resource", "FreeBusyProvider")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_etesync_resource" 0 QList("Resource")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_ewsmta_resource" 0 QList("NeedsNetwork", "MailTransport")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_ews_resource" 0 QList("Resource", "NeedsNetwork", "X-EwsMailTransport")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_google_resource" 0 QList("Resource", "FreeBusyProvider")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_icaldir_resource" 0 QList("Resource")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_ical_resource" 36 QList("Resource")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_imap_resource" 0 QList("Resource")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_knut_resource" 0 QList("Resource")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_kolab_resource" 0 QList("Resource")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_maildir_resource" 1 QList("Resource")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_maildispatcher_agent" 0 QList("Unique", "Autostart")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_mbox_resource" 0 QList("Resource")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_migration_agent" 0 QList("Unique", "Autostart")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_mixedmaildir_resource" 0 QList("Resource")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_newmailnotifier_agent" 0 QList("Unique", "Autostart")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_openxchange_resource" 0 QList("Resource")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_pop3_resource" 0 QList("Resource", "NeedsNetwork")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_vcarddir_resource" 0 QList("Resource")
org.kde.pim.akonadicontrol: PLUGINS inserting:  "akonadi_vcard_resource" 0 QList("Resource")
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Janitor" owner changed from "" to ":1.400"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_33" owner changed from "" to ":1.404"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_34" owner changed from "" to ":1.405"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_33" owner changed from "" to ":1.404"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_31" owner changed from "" to ":1.401"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_34" owner changed from "" to ":1.405"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_31" owner changed from "" to ":1.401"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_35" owner changed from "" to ":1.402"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_35" owner changed from "" to ":1.402"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_30" owner changed from "" to ":1.406"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_30" owner changed from "" to ":1.406"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_32" owner changed from "" to ":1.409"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_32" owner changed from "" to ":1.409"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_29" owner changed from "" to ":1.403"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_28" owner changed from "" to ":1.407"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_29" owner changed from "" to ":1.403"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_28" owner changed from "" to ":1.407"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_26" owner changed from "" to ":1.408"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_26" owner changed from "" to ":1.408"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_27" owner changed from "" to ":1.410"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_27" owner changed from "" to ":1.410"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_ical_resource_35" owner changed from "" to ":1.413"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_ical_resource_35" owner changed from "" to ":1.413"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_birthdays_resource" owner changed from "" to ":1.411"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_birthdays_resource" owner changed from "" to ":1.411"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_ical_resource_34" owner changed from "" to ":1.414"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_ical_resource_34" owner changed from "" to ":1.414"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_davgroupware_resource_1" owner changed from "" to ":1.412"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_davgroupware_resource_1" owner changed from "" to ":1.412"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_maildir_resource_0" owner changed from "" to ":1.416"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_maildir_resource_0" owner changed from "" to ":1.416"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_indexing_agent" owner changed from "" to ":1.418"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_migration_agent" owner changed from "" to ":1.415"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_maildispatcher_agent" owner changed from "" to ":1.417"
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_newmailnotifier_agent" owner changed from "" to ":1.419"
org.kde.pim.akonadicontrol: Akonadi server is now operational.
org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Control" owner changed from "" to ":1.398"
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c002260) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c002260) identified as "ETMCalendarMonitor - 93974341694656"
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0545a0) )
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c04f5f0) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0545a0) identified as "AgentBaseChangeRecorder - 94830181054800"
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c04f5f0) identified as "AgentBaseChangeRecorder - 94065722644816"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c08ba70) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c08cd10) )
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c08ba70) identified as "AgentBaseChangeRecorder - 94134086756288"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c08cd10) identified as "AgentBaseChangeRecorder - 94781792921936"
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0b3310) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0b4590) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0b5a10) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0b3310) identified as "AgentBaseChangeRecorder - 94693197130064"
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0b7580) )
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0b87a0) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0b4590) identified as "AgentBaseChangeRecorder - 94326952900624"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0b5a10) identified as "AgentBaseChangeRecorder - 94435605636640"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0e24f0) )
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0e3700) )
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0e4db0) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c116500) )
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c117780) )
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0b7580) identified as "AgentBaseChangeRecorder - 94170708333536"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0b87a0) identified as "AgentBaseChangeRecorder - 93856444169104"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c11a210) )
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c11b670) )
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c144ab0) )
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c1460f0) )
org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c147580) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c148780) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c169d10) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c16b3b0) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0e24f0) identified as "AgentBaseChangeRecorder - 94470175525200"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0e3700) identified as "AgentBaseChangeRecorder - 94724144619536"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0e4db0) identified as "AgentBaseChangeRecorder - 94758258030928"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c116500) identified as "AgentBaseChangeRecorder - 94271628589392"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c117780) identified as "AgentBaseChangeRecorder - 94369898903888"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c11a210) identified as "AgentBaseChangeRecorder - 94188627225856"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c11b670) identified as "AgentBaseChangeRecorder - 94078108658000"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c144ab0) identified as "akonadi_birthdays_resource - 94188627253424"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c1460f0) identified as "AgentBaseChangeRecorder - 94134970074064"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c147580) identified as "akonadi_maildispatcher_agent - 94134970113872"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c148780) identified as "SpecialCollectionsMonitor - 94134970034992"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c169d10) identified as "AgentBaseChangeRecorder - 94552796744016"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c16b3b0) identified as "AgentBaseChangeRecorder - 94479524443344"
org.kde.pim.akonadicontrol: Service "org.kde.pim.SpecialCollections" owner changed from "" to ":1.417"
org.kde.pim.akonadicontrol: Service "org.kde.pim.SpecialCollections" owner changed from ":1.417" to ""

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 1. `akonadictl start`, this calls `akonadi_control` which is under firejail control (symlink in `/usr/local/bin/akonadi_control`) 2. Fails to start, log is below. ### 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: ``` $ LC_ALL=C firejail --noprofile akonadictl start firejail version 0.9.76 Parent pid 36616, child pid 36617 Base filesystem installed in 0.03 ms Child process initialized in 5.27 ms Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. org.kde.pim.akonadictl: Starting Akonadi Server... Warning: an existing sandbox was detected. /usr/bin/akonadi_control will run without any additional sandboxing features Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. org.kde.pim.akonadictl: done. Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. D-Bus session bus is not available! KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2 KCrash: Application Name = akonadiserver path = /usr/bin pid = 23 KCrash: Arguments: /usr/bin/akonadiserver KCrash: Attempting to start /usr/lib/drkonqi Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. qrc:/ui/MainPage.qml:71:9: QML MainPageButton: Binding loop detected for property "icon.height": qrc:/ui/MainPageButton.qml:15:5 qrc:/ui/MainPage.qml:53:9: QML MainPageButton: Binding loop detected for property "icon.height": qrc:/ui/MainPageButton.qml:15:5 ``` Removing `/usr/local/bin/akonadi_control` symlink fixes the problem, so Akonadi is working without firejail. ### Additional context _Any other detail that may help to understand/debug the problem_ ### Environment - Name/version/arch of the Linux kernel (`uname -srm`): Linux 6.17.3-arch2-1 x86_64 - Name/version of the Linux distribution (e.g. "Ubuntu 20.04" or "Arch Linux"): Arch Linux - Name/version of the relevant program(s)/package(s) (e.g. "firefox 134.0-1, mesa 1:24.3.3-2"): akonadictl 6.5.2 (25.08.2) - Version of Firejail (`firejail --version`): firejail version 0.9.76 ### Checklist - [x] The issues is caused by firejail (i.e. running the program by path (e.g. `/usr/bin/vlc`) "fixes" it). - [x] I can reproduce the issue without custom modifications (e.g. globals.local). - [x] The program has a profile. (If not, request one in `https://github.com/netblue30/firejail/issues/1139`) - [x] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). - [x] I have performed a short search for similar issues (to avoid opening a duplicate). ### Log <details> <summary>Output of <code>akonadictl start</code> (which calls `akonadi_control` internally, under firejail control)</summary> <p> ``` $ akonadictl start org.kde.pim.akonadictl: Starting Akonadi Server... Reading profile /etc/firejail/akonadi_control.profile Reading profile /home/haplo/.config/firejail/globals.local Reading profile /etc/firejail/disable-common.inc Reading profile /home/haplo/.config/firejail/disable-common.local Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-exec.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /home/haplo/.config/firejail/disable-programs.local Reading profile /etc/firejail/whitelist-run-common.inc Reading profile /etc/firejail/whitelist-var-common.inc firejail version 0.9.76 Parent pid 35947, child pid 35951 Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set. Warning: not remounting /home/haplo/.ssh/authorized_keys Warning: not remounting /home/haplo/.gnupg/gpg.conf Warning: not remounting /home/haplo/.ssh/config Warning: not remounting /home/haplo/.ssh/config.d Warning: not remounting /run/user/1000/doc Base filesystem installed in 185.62 ms Child process initialized in 207.61 ms libEGL warning: failed to get driver name for fd -1 libEGL warning: MESA-LOADER: failed to retrieve device information libEGL warning: failed to get driver name for fd -1 MESA: error: ZINK: vkEnumeratePhysicalDevices failed (VK_ERROR_INITIALIZATION_FAILED) MESA: error: ZINK: failed to choose pdev libEGL warning: egl: failed to create dri2 screen org.kde.pim.akonadictl: done. Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) D-Bus session bus is not available! KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2 KCrash: Application Name = akonadiserver path = /usr/bin pid = 57 KCrash: Arguments: /usr/bin/akonadiserver KCrash: Attempting to start /usr/lib/drkonqi ``` </p> </details> <details> <summary>Output of <code>akonadictl --verbose start</code> <strong>with akonadi_control not under firejail control</strong></summary> <p> ``` org.kde.pim.akonadictl: Starting Akonadi Server... org.kde.pim.akonadictl: done. Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) org.kde.pim.akonadiserver: Starting up the Akonadi Server... org.kde.pim.akonadiserver: sqlite version is "3.50.4" org.kde.pim.akonadiserver: sqlite journal mode is "wal" org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: Running DB initializer org.kde.pim.akonadiserver: checking table "SchemaVersionTable" org.kde.pim.akonadiserver: checking table "ResourceTable" org.kde.pim.akonadiserver: checking table "CollectionTable" org.kde.pim.akonadiserver: checking table "MimeTypeTable" org.kde.pim.akonadiserver: checking table "PimItemTable" org.kde.pim.akonadiserver: checking table "FlagTable" org.kde.pim.akonadiserver: checking table "PartTypeTable" org.kde.pim.akonadiserver: checking table "PartTable" org.kde.pim.akonadiserver: checking table "CollectionAttributeTable" org.kde.pim.akonadiserver: checking table "TagTypeTable" org.kde.pim.akonadiserver: checking table "TagTable" org.kde.pim.akonadiserver: checking table "TagAttributeTable" org.kde.pim.akonadiserver: checking table "TagRemoteIdResourceRelationTable" org.kde.pim.akonadiserver: checking table "PimItemFlagRelation" org.kde.pim.akonadiserver: checking table "PimItemTagRelation" org.kde.pim.akonadiserver: checking table "CollectionMimeTypeRelation" org.kde.pim.akonadiserver: checking table "CollectionPimItemRelation" org.kde.pim.akonadiserver: DB initializer done org.kde.pim.akonadiserver: skipping update 2 org.kde.pim.akonadiserver: skipping update 3 org.kde.pim.akonadiserver: skipping update 4 org.kde.pim.akonadiserver: skipping update 8 org.kde.pim.akonadiserver: skipping update 10 org.kde.pim.akonadiserver: skipping update 12 org.kde.pim.akonadiserver: skipping update 13 org.kde.pim.akonadiserver: skipping update 14 org.kde.pim.akonadiserver: skipping update 15 org.kde.pim.akonadiserver: skipping update 16 org.kde.pim.akonadiserver: skipping update 17 org.kde.pim.akonadiserver: skipping update 18 org.kde.pim.akonadiserver: skipping update 19 org.kde.pim.akonadiserver: skipping update 20 org.kde.pim.akonadiserver: skipping update 21 org.kde.pim.akonadiserver: skipping update 22 org.kde.pim.akonadiserver: skipping update 23 org.kde.pim.akonadiserver: skipping update 24 org.kde.pim.akonadiserver: skipping update 25 org.kde.pim.akonadiserver: skipping update 26 org.kde.pim.akonadiserver: skipping update 28 org.kde.pim.akonadiserver: skipping update 30 org.kde.pim.akonadiserver: skipping update 31 org.kde.pim.akonadiserver: skipping update 33 org.kde.pim.akonadiserver: skipping update 35 org.kde.pim.akonadiserver: skipping update 36 org.kde.pim.akonadiserver: skipping update 37 org.kde.pim.akonadiserver: skipping update 39 org.kde.pim.akonadiserver: skipping update 41 org.kde.pim.akonadiserver: Indexes successfully created Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: DataStore::unhideAllPimItems() org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi" owner changed from "" to ":1.400" org.kde.pim.akonadicontrol: PLUGINS: "/usr/share/akonadi/agents" org.kde.pim.akonadicontrol: PLUGINS: QList("akonadiindexingagent.desktop", "birthdaysresource.desktop", "contactsresource.desktop", "davgroupwareresource.desktop", "etesyncresource.desktop", "ewsmtaresource.desktop", "ewsresource.desktop", "googleresource.desktop", "icaldirresource.desktop", "icalresource.desktop", "imapresource.desktop", "knutresource.desktop", "kolabresource.desktop", "maildirresource.desktop", "maildispatcheragent.desktop", "mboxresource.desktop", "migrationagent.desktop", "mixedmaildirresource.desktop", "newmailnotifieragent.desktop", "openxchangeresource.desktop", "pop3resource.desktop", "vcarddirresource.desktop", "vcardresource.desktop") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_indexing_agent" 0 QList("Unique", "Autostart") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_birthdays_resource" 0 QList("Resource", "Unique") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_contacts_resource" 36 QList("Resource") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_davgroupware_resource" 2 QList("Resource", "FreeBusyProvider") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_etesync_resource" 0 QList("Resource") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_ewsmta_resource" 0 QList("NeedsNetwork", "MailTransport") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_ews_resource" 0 QList("Resource", "NeedsNetwork", "X-EwsMailTransport") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_google_resource" 0 QList("Resource", "FreeBusyProvider") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_icaldir_resource" 0 QList("Resource") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_ical_resource" 36 QList("Resource") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_imap_resource" 0 QList("Resource") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_knut_resource" 0 QList("Resource") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_kolab_resource" 0 QList("Resource") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_maildir_resource" 1 QList("Resource") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_maildispatcher_agent" 0 QList("Unique", "Autostart") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_mbox_resource" 0 QList("Resource") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_migration_agent" 0 QList("Unique", "Autostart") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_mixedmaildir_resource" 0 QList("Resource") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_newmailnotifier_agent" 0 QList("Unique", "Autostart") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_openxchange_resource" 0 QList("Resource") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_pop3_resource" 0 QList("Resource", "NeedsNetwork") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_vcarddir_resource" 0 QList("Resource") org.kde.pim.akonadicontrol: PLUGINS inserting: "akonadi_vcard_resource" 0 QList("Resource") org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Janitor" owner changed from "" to ":1.400" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_33" owner changed from "" to ":1.404" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_34" owner changed from "" to ":1.405" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_33" owner changed from "" to ":1.404" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_31" owner changed from "" to ":1.401" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_34" owner changed from "" to ":1.405" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_31" owner changed from "" to ":1.401" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_35" owner changed from "" to ":1.402" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_35" owner changed from "" to ":1.402" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_30" owner changed from "" to ":1.406" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_30" owner changed from "" to ":1.406" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_32" owner changed from "" to ":1.409" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_32" owner changed from "" to ":1.409" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_29" owner changed from "" to ":1.403" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_28" owner changed from "" to ":1.407" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_29" owner changed from "" to ":1.403" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_28" owner changed from "" to ":1.407" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_26" owner changed from "" to ":1.408" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_26" owner changed from "" to ":1.408" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_27" owner changed from "" to ":1.410" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_27" owner changed from "" to ":1.410" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_ical_resource_35" owner changed from "" to ":1.413" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_ical_resource_35" owner changed from "" to ":1.413" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_birthdays_resource" owner changed from "" to ":1.411" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_birthdays_resource" owner changed from "" to ":1.411" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_ical_resource_34" owner changed from "" to ":1.414" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_ical_resource_34" owner changed from "" to ":1.414" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_davgroupware_resource_1" owner changed from "" to ":1.412" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_davgroupware_resource_1" owner changed from "" to ":1.412" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Resource.akonadi_maildir_resource_0" owner changed from "" to ":1.416" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_maildir_resource_0" owner changed from "" to ":1.416" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_indexing_agent" owner changed from "" to ":1.418" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_migration_agent" owner changed from "" to ":1.415" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_maildispatcher_agent" owner changed from "" to ":1.417" org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Agent.akonadi_newmailnotifier_agent" owner changed from "" to ":1.419" org.kde.pim.akonadicontrol: Akonadi server is now operational. org.kde.pim.akonadicontrol: Service "org.freedesktop.Akonadi.Control" owner changed from "" to ":1.398" org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c002260) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c002260) identified as "ETMCalendarMonitor - 93974341694656" org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0545a0) ) org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c04f5f0) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0545a0) identified as "AgentBaseChangeRecorder - 94830181054800" org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c04f5f0) identified as "AgentBaseChangeRecorder - 94065722644816" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c08ba70) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c08cd10) ) org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c08ba70) identified as "AgentBaseChangeRecorder - 94134086756288" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c08cd10) identified as "AgentBaseChangeRecorder - 94781792921936" org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0b3310) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0b4590) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0b5a10) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0b3310) identified as "AgentBaseChangeRecorder - 94693197130064" org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0b7580) ) org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0b87a0) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0b4590) identified as "AgentBaseChangeRecorder - 94326952900624" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0b5a10) identified as "AgentBaseChangeRecorder - 94435605636640" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0e24f0) ) org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0e3700) ) org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c0e4db0) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c116500) ) org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c117780) ) org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0b7580) identified as "AgentBaseChangeRecorder - 94170708333536" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0b87a0) identified as "AgentBaseChangeRecorder - 93856444169104" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c11a210) ) org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c11b670) ) org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c144ab0) ) org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c1460f0) ) org.kde.pim.akonadiserver: Database "/home/fidel/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c147580) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c148780) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c169d10) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f580c16b3b0) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0e24f0) identified as "AgentBaseChangeRecorder - 94470175525200" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0e3700) identified as "AgentBaseChangeRecorder - 94724144619536" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c0e4db0) identified as "AgentBaseChangeRecorder - 94758258030928" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c116500) identified as "AgentBaseChangeRecorder - 94271628589392" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c117780) identified as "AgentBaseChangeRecorder - 94369898903888" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c11a210) identified as "AgentBaseChangeRecorder - 94188627225856" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c11b670) identified as "AgentBaseChangeRecorder - 94078108658000" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c144ab0) identified as "akonadi_birthdays_resource - 94188627253424" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c1460f0) identified as "AgentBaseChangeRecorder - 94134970074064" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c147580) identified as "akonadi_maildispatcher_agent - 94134970113872" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c148780) identified as "SpecialCollectionsMonitor - 94134970034992" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c169d10) identified as "AgentBaseChangeRecorder - 94552796744016" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f580c16b3b0) identified as "AgentBaseChangeRecorder - 94479524443344" org.kde.pim.akonadicontrol: Service "org.kde.pim.SpecialCollections" owner changed from "" to ":1.417" org.kde.pim.akonadicontrol: Service "org.kde.pim.SpecialCollections" owner changed from ":1.417" to "" ``` </p> </details>
gitea-mirror added the
needinfo
label 2026-05-05 09:59:46 -06:00
Author
Owner

@haplo commented on GitHub (Oct 21, 2025):

I have tried blanking akonadi_control.profileand it still failed, although with a shorter log:

org.kde.pim.akonadictl: Starting Akonadi Server...
Reading profile /etc/firejail/akonadi_control.profile
Reading profile /home/fidel/.config/firejail/globals.local
firejail version 0.9.76

Parent pid 44047, child pid 44048
Base filesystem installed in 0.04 ms
Child process initialized in 6.51 ms
org.kde.pim.akonadictl:    done.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
D-Bus session bus is not available!
KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2
KCrash: Application Name = akonadiserver path = /usr/bin pid = 20
KCrash: Arguments: /usr/bin/akonadiserver --verbose
KCrash: Attempting to start /usr/lib/drkonqi

What else can I do in this situation?

<!-- gh-comment-id:3425909413 --> @haplo commented on GitHub (Oct 21, 2025): I have tried blanking `akonadi_control.profile`and it still failed, although with a shorter log: ``` org.kde.pim.akonadictl: Starting Akonadi Server... Reading profile /etc/firejail/akonadi_control.profile Reading profile /home/fidel/.config/firejail/globals.local firejail version 0.9.76 Parent pid 44047, child pid 44048 Base filesystem installed in 0.04 ms Child process initialized in 6.51 ms org.kde.pim.akonadictl: done. Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) D-Bus session bus is not available! KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2 KCrash: Application Name = akonadiserver path = /usr/bin pid = 20 KCrash: Arguments: /usr/bin/akonadiserver --verbose KCrash: Attempting to start /usr/lib/drkonqi ``` What else can I do in this situation?
Author
Owner

@kmk3 commented on GitHub (Oct 27, 2025):

Behavior without a profile

Fails but logs are different:

$ LC_ALL=C firejail --noprofile akonadictl start
firejail version 0.9.76

Parent pid 36616, child pid 36617
[...]

Always use the absolute path to avoid firejail-in-firejail bugs:

What happens with the following command?

LC_ALL=C firejail --noprofile /usr/bin/akonadictl start

And the following command?

LC_ALL=C firejail --profile=noprofile /usr/bin/akonadictl start
<!-- gh-comment-id:3451307837 --> @kmk3 commented on GitHub (Oct 27, 2025): > Behavior without a profile > > Fails but logs are different: > > ``` > $ LC_ALL=C firejail --noprofile akonadictl start > firejail version 0.9.76 > > Parent pid 36616, child pid 36617 > [...] > ``` Always use the absolute path to avoid firejail-in-firejail bugs: * #2877 What happens with the following command? ``` LC_ALL=C firejail --noprofile /usr/bin/akonadictl start ``` And the following command? ``` LC_ALL=C firejail --profile=noprofile /usr/bin/akonadictl start ```
Author
Owner

@haplo commented on GitHub (Oct 27, 2025):

Thank you @kmk3 for the help!

Always use the absolute path to avoid firejail-in-firejail bugs:

It's obvious when you mention it. 🤦

What happens with the following command?

LC_ALL=C firejail --noprofile /usr/bin/akonadictl start

I deleted the symlink at /usr/local/bin/akonadi_server, and interestingly it also fails:

$ LC_ALL=C firejail --noprofile /usr/bin/akonadictl start
firejail version 0.9.76

Parent pid 35274, child pid 35275
Base filesystem installed in 0.03 ms
Child process initialized in 5.94 ms
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
org.kde.pim.akonadictl: Starting Akonadi Server...
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
org.kde.pim.akonadictl:    done.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
D-Bus session bus is not available!
KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2
KCrash: Application Name = akonadiserver path = /usr/bin pid = 23
KCrash: Arguments: /usr/bin/akonadiserver
KCrash: Attempting to start /usr/lib/drkonqi
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
qrc:/ui/MainPage.qml:71:9: QML MainPageButton: Binding loop detected for property "icon.height":
qrc:/ui/MainPageButton.qml:15:5
qrc:/ui/MainPage.qml:53:9: QML MainPageButton: Binding loop detected for property "icon.height":
qrc:/ui/MainPageButton.qml:15:5

And the following command?

LC_ALL=C firejail --profile=noprofile /usr/bin/akonadictl start

Also fails:

$ LC_ALL=C firejail --profile=noprofile /usr/bin/akonadictl start
Reading profile /etc/firejail/noprofile.profile
firejail version 0.9.76

Parent pid 35791, child pid 35792
Warning: cannot open source file /usr/lib/firejail/seccomp.debug32, file not copied
Base filesystem installed in 0.01 ms
Child process initialized in 11.38 ms
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
org.kde.pim.akonadictl: Starting Akonadi Server...
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
org.kde.pim.akonadictl:    done.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
D-Bus session bus is not available!
KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2
KCrash: Application Name = akonadiserver path = /usr/bin pid = 23
KCrash: Arguments: /usr/bin/akonadiserver
KCrash: Attempting to start /usr/lib/drkonqi
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
qrc:/ui/MainPage.qml:71:9: QML MainPageButton: Binding loop detected for property "icon.height":
qrc:/ui/MainPageButton.qml:15:5
qrc:/ui/MainPage.qml:53:9: QML MainPageButton: Binding loop detected for property "icon.height":
qrc:/ui/MainPageButton.qml:15:5
org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error)
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
D-Bus session bus is not available!
KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2
KCrash: Application Name = akonadiserver path = /usr/bin pid = 78
KCrash: Arguments: /usr/bin/akonadiserver
KCrash: Attempting to start /usr/lib/drkonqi
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
qrc:/ui/MainPage.qml:71:9: QML MainPageButton: Binding loop detected for property "icon.height":
qrc:/ui/MainPageButton.qml:15:5
qrc:/ui/MainPage.qml:53:9: QML MainPageButton: Binding loop detected for property "icon.height":
qrc:/ui/MainPageButton.qml:15:5
org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error)
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
D-Bus session bus is not available!
KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2
KCrash: Application Name = akonadiserver path = /usr/bin pid = 130
KCrash: Arguments: /usr/bin/akonadiserver
KCrash: Attempting to start /usr/lib/drkonqi
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
qrc:/ui/MainPage.qml:71:9: QML MainPageButton: Binding loop detected for property "icon.height":
qrc:/ui/MainPageButton.qml:15:5
qrc:/ui/MainPage.qml:53:9: QML MainPageButton: Binding loop detected for property "icon.height":
qrc:/ui/MainPageButton.qml:15:5
org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error)
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
D-Bus session bus is not available!
KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2
KCrash: Application Name = akonadiserver path = /usr/bin pid = 182
KCrash: Arguments: /usr/bin/akonadiserver
KCrash: Attempting to start /usr/lib/drkonqi
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
qrc:/ui/MainPage.qml:71:9: QML MainPageButton: Binding loop detected for property "icon.height":
qrc:/ui/MainPageButton.qml:15:5
qrc:/ui/MainPage.qml:53:9: QML MainPageButton: Binding loop detected for property "icon.height":
qrc:/ui/MainPageButton.qml:15:5
org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error)
org.kde.pim.akonadicontrol: "/usr/bin/akonadiserver" crashed too often and will not be restarted!

Parent is shutting down, bye...
<!-- gh-comment-id:3452130540 --> @haplo commented on GitHub (Oct 27, 2025): Thank you @kmk3 for the help! > Always use the absolute path to avoid firejail-in-firejail bugs: > > * [firejail inside firejail broken #2877](https://github.com/netblue30/firejail/issues/2877) It's obvious when you mention it. 🤦 > What happens with the following command? > > ``` > LC_ALL=C firejail --noprofile /usr/bin/akonadictl start > ``` I deleted the symlink at `/usr/local/bin/akonadi_server`, and interestingly it also fails: ``` $ LC_ALL=C firejail --noprofile /usr/bin/akonadictl start firejail version 0.9.76 Parent pid 35274, child pid 35275 Base filesystem installed in 0.03 ms Child process initialized in 5.94 ms Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. org.kde.pim.akonadictl: Starting Akonadi Server... Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. org.kde.pim.akonadictl: done. Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. D-Bus session bus is not available! KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2 KCrash: Application Name = akonadiserver path = /usr/bin pid = 23 KCrash: Arguments: /usr/bin/akonadiserver KCrash: Attempting to start /usr/lib/drkonqi Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. qrc:/ui/MainPage.qml:71:9: QML MainPageButton: Binding loop detected for property "icon.height": qrc:/ui/MainPageButton.qml:15:5 qrc:/ui/MainPage.qml:53:9: QML MainPageButton: Binding loop detected for property "icon.height": qrc:/ui/MainPageButton.qml:15:5 ``` > > And the following command? > > ``` > LC_ALL=C firejail --profile=noprofile /usr/bin/akonadictl start > ``` Also fails: ``` $ LC_ALL=C firejail --profile=noprofile /usr/bin/akonadictl start Reading profile /etc/firejail/noprofile.profile firejail version 0.9.76 Parent pid 35791, child pid 35792 Warning: cannot open source file /usr/lib/firejail/seccomp.debug32, file not copied Base filesystem installed in 0.01 ms Child process initialized in 11.38 ms Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. org.kde.pim.akonadictl: Starting Akonadi Server... Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. org.kde.pim.akonadictl: done. Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. D-Bus session bus is not available! KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2 KCrash: Application Name = akonadiserver path = /usr/bin pid = 23 KCrash: Arguments: /usr/bin/akonadiserver KCrash: Attempting to start /usr/lib/drkonqi Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. qrc:/ui/MainPage.qml:71:9: QML MainPageButton: Binding loop detected for property "icon.height": qrc:/ui/MainPageButton.qml:15:5 qrc:/ui/MainPage.qml:53:9: QML MainPageButton: Binding loop detected for property "icon.height": qrc:/ui/MainPageButton.qml:15:5 org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error) Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. D-Bus session bus is not available! KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2 KCrash: Application Name = akonadiserver path = /usr/bin pid = 78 KCrash: Arguments: /usr/bin/akonadiserver KCrash: Attempting to start /usr/lib/drkonqi Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. qrc:/ui/MainPage.qml:71:9: QML MainPageButton: Binding loop detected for property "icon.height": qrc:/ui/MainPageButton.qml:15:5 qrc:/ui/MainPage.qml:53:9: QML MainPageButton: Binding loop detected for property "icon.height": qrc:/ui/MainPageButton.qml:15:5 org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error) Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. D-Bus session bus is not available! KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2 KCrash: Application Name = akonadiserver path = /usr/bin pid = 130 KCrash: Arguments: /usr/bin/akonadiserver KCrash: Attempting to start /usr/lib/drkonqi Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. qrc:/ui/MainPage.qml:71:9: QML MainPageButton: Binding loop detected for property "icon.height": qrc:/ui/MainPageButton.qml:15:5 qrc:/ui/MainPage.qml:53:9: QML MainPageButton: Binding loop detected for property "icon.height": qrc:/ui/MainPageButton.qml:15:5 org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error) Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. D-Bus session bus is not available! KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2 KCrash: Application Name = akonadiserver path = /usr/bin pid = 182 KCrash: Arguments: /usr/bin/akonadiserver KCrash: Attempting to start /usr/lib/drkonqi Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. qrc:/ui/MainPage.qml:71:9: QML MainPageButton: Binding loop detected for property "icon.height": qrc:/ui/MainPageButton.qml:15:5 qrc:/ui/MainPage.qml:53:9: QML MainPageButton: Binding loop detected for property "icon.height": qrc:/ui/MainPageButton.qml:15:5 org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error) org.kde.pim.akonadicontrol: "/usr/bin/akonadiserver" crashed too often and will not be restarted! Parent is shutting down, bye... ```
Author
Owner

@kmk3 commented on GitHub (Oct 27, 2025):

Thank you @kmk3 for the help!

No problem.

Also fails:

$ LC_ALL=C firejail --profile=noprofile /usr/bin/akonadictl start
Reading profile /etc/firejail/noprofile.profile
firejail version 0.9.76

Parent pid 35791, child pid 35792
Warning: cannot open source file /usr/lib/firejail/seccomp.debug32, file not copied
Base filesystem installed in 0.01 ms
Child process initialized in 11.38 ms
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
org.kde.pim.akonadictl: Starting Akonadi Server...
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
org.kde.pim.akonadictl:    done.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
D-Bus session bus is not available!
KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2
KCrash: Application Name = akonadiserver path = /usr/bin pid = 23
KCrash: Arguments: /usr/bin/akonadiserver
KCrash: Attempting to start /usr/lib/drkonqi
[...]

So it fails even with noprofile.profile.

Not sure how it could be made to work then.

Is there anything in dmesg with the following?

LC_ALL=C.UTF-8 firejail --seccomp-error-action=log --profile=noprofile \
  /usr/bin/akonadictl start

What is the output of the following?

stat /usr/bin/akonadi*
file /usr/bin/akonadi*
LC_ALL=C.UTF-8 firejail --quiet --profile=noprofile --trace=/tmp/trace_akonadi.txt \
  /usr/bin/akonadictl start
cat /tmp/trace_akonadi.txt
LC_ALL=C.UTF-8 firejail --quiet --profile=noprofile strace -f --trace=%file \
  /usr/bin/akonadictl start
LC_ALL=C.UTF-8 firejail --quiet --profile=noprofile strace -f \
  /usr/bin/akonadictl start
<!-- gh-comment-id:3453600275 --> @kmk3 commented on GitHub (Oct 27, 2025): > Thank you @kmk3 for the help! No problem. > Also fails: > > ``` > $ LC_ALL=C firejail --profile=noprofile /usr/bin/akonadictl start > Reading profile /etc/firejail/noprofile.profile > firejail version 0.9.76 > > Parent pid 35791, child pid 35792 > Warning: cannot open source file /usr/lib/firejail/seccomp.debug32, file not copied > Base filesystem installed in 0.01 ms > Child process initialized in 11.38 ms > Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. > Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. > If this causes problems, reconfigure your locale. See the locale(1) manual > for more information. > org.kde.pim.akonadictl: Starting Akonadi Server... > Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. > Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. > If this causes problems, reconfigure your locale. See the locale(1) manual > for more information. > org.kde.pim.akonadictl: done. > Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) > Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. > Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. > If this causes problems, reconfigure your locale. See the locale(1) manual > for more information. > D-Bus session bus is not available! > KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2 > KCrash: Application Name = akonadiserver path = /usr/bin pid = 23 > KCrash: Arguments: /usr/bin/akonadiserver > KCrash: Attempting to start /usr/lib/drkonqi > [...] > ``` So it fails even with noprofile.profile. Not sure how it could be made to work then. Is there anything in `dmesg` with the following? ```sh LC_ALL=C.UTF-8 firejail --seccomp-error-action=log --profile=noprofile \ /usr/bin/akonadictl start ``` What is the output of the following? ```sh stat /usr/bin/akonadi* file /usr/bin/akonadi* ``` ```sh LC_ALL=C.UTF-8 firejail --quiet --profile=noprofile --trace=/tmp/trace_akonadi.txt \ /usr/bin/akonadictl start cat /tmp/trace_akonadi.txt ``` ```sh LC_ALL=C.UTF-8 firejail --quiet --profile=noprofile strace -f --trace=%file \ /usr/bin/akonadictl start ``` ```sh LC_ALL=C.UTF-8 firejail --quiet --profile=noprofile strace -f \ /usr/bin/akonadictl start ```
Author
Owner

@rusty-snake commented on GitHub (Oct 28, 2025):

So it fails even with noprofile.profile.
Not sure how it could be made to work then.

From OP:

Removing /usr/local/bin/akonadi_control symlink fixes the problem,

akonadictl is the wrong program to noprofile.

<!-- gh-comment-id:3457075336 --> @rusty-snake commented on GitHub (Oct 28, 2025): > So it fails even with noprofile.profile. Not sure how it could be made to work then. From OP: > Removing /usr/local/bin/akonadi_control symlink fixes the problem, akonadictl is the wrong program to noprofile.
Author
Owner

@kmk3 commented on GitHub (Oct 28, 2025):

So it fails even with noprofile.profile. Not sure how it could be made to
work then.

From OP:

Removing /usr/local/bin/akonadi_control symlink fixes the problem,

akonadictl is the wrong program to noprofile.

Good catch, thanks.

@haplo

For debugging, you can try commenting lines in akonadi_control.profile until
akonadictl works to find out which lines are causing issues and then post the
lines in here.

<!-- gh-comment-id:3457272115 --> @kmk3 commented on GitHub (Oct 28, 2025): > > So it fails even with noprofile.profile. Not sure how it could be made to > > work then. > > From OP: > > > Removing /usr/local/bin/akonadi_control symlink fixes the problem, > > akonadictl is the wrong program to noprofile. Good catch, thanks. @haplo For debugging, you can try commenting lines in `akonadi_control.profile` until `akonadictl` works to find out which lines are causing issues and then post the lines in here.
Author
Owner

@witchent commented on GitHub (Oct 29, 2025):

I have the same problem. Completely emptying/commenting the akonadi_control.profile does not help. I get

Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
D-Bus session bus is not available!

which made me look into the dbus stuff.
Adding

dbus-user filter
ignore dbus-user none

results in

org.kde.pim.akonadicontrol: Unable to register service as org.freedesktop.Akonadi.Control.lock due to an error: org.freedesktop.DBus.Error.ServiceUnknown

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 however

I 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.

<!-- gh-comment-id:3462662775 --> @witchent commented on GitHub (Oct 29, 2025): I have the same problem. Completely emptying/commenting the akonadi_control.profile does not help. I get ``` Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) D-Bus session bus is not available! ``` which made me look into the dbus stuff. Adding ``` dbus-user filter ignore dbus-user none ``` results in ``` org.kde.pim.akonadicontrol: Unable to register service as org.freedesktop.Akonadi.Control.lock due to an error: org.freedesktop.DBus.Error.ServiceUnknown ``` 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 however I 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.
Author
Owner

@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 start without firejail works, but running under firejail with noprofile fails:

$ firejail --profile=noprofile /usr/bin/akonadi_control start
Reading profile /etc/firejail/noprofile.profile
firejail version 0.9.78

Parent pid 116506, child pid 116507
Warning: cannot open source file /usr/lib/firejail/seccomp.debug32, file not copied
Base filesystem installed in 0.01 ms
Child process initialized in 5.67 ms
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.akonadi_control'")
D-Bus session bus is not available!
KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2
KCrash: Application Name = akonadiserver path = /usr/bin pid = 20
KCrash: Arguments: /usr/bin/akonadiserver
KCrash: Attempting to start /usr/lib/drkonqi
KCrash failed to exec(), errno = 13
org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error)
D-Bus session bus is not available!
KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2
KCrash: Application Name = akonadiserver path = /usr/bin pid = 26
KCrash: Arguments: /usr/bin/akonadiserver
KCrash: Attempting to start /usr/lib/drkonqi
KCrash failed to exec(), errno = 13
org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error)
D-Bus session bus is not available!
KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2
KCrash: Application Name = akonadiserver path = /usr/bin pid = 29
KCrash: Arguments: /usr/bin/akonadiserver
KCrash: Attempting to start /usr/lib/drkonqi
KCrash failed to exec(), errno = 13
org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error)
D-Bus session bus is not available!
KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2
KCrash: Application Name = akonadiserver path = /usr/bin pid = 32
KCrash: Arguments: /usr/bin/akonadiserver
KCrash: Attempting to start /usr/lib/drkonqi
KCrash failed to exec(), errno = 13
org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error)
org.kde.pim.akonadicontrol: "/usr/bin/akonadiserver" crashed too often and will not be restarted!

Parent is shutting down, bye...

I believe this might be the issue, and the rest to be red herrings:

D-Bus session bus is not available!

Does this issue deserve getting the broken-noprofile tag back? Anything else I can try to debug the situation?

Thank you for your support!

<!-- gh-comment-id:4016069976 --> @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 start` without firejail **works**, but running under firejail with `noprofile` fails: ``` $ firejail --profile=noprofile /usr/bin/akonadi_control start Reading profile /etc/firejail/noprofile.profile firejail version 0.9.78 Parent pid 116506, child pid 116507 Warning: cannot open source file /usr/lib/firejail/seccomp.debug32, file not copied Base filesystem installed in 0.01 ms Child process initialized in 5.67 ms Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.akonadi_control'") D-Bus session bus is not available! KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2 KCrash: Application Name = akonadiserver path = /usr/bin pid = 20 KCrash: Arguments: /usr/bin/akonadiserver KCrash: Attempting to start /usr/lib/drkonqi KCrash failed to exec(), errno = 13 org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error) D-Bus session bus is not available! KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2 KCrash: Application Name = akonadiserver path = /usr/bin pid = 26 KCrash: Arguments: /usr/bin/akonadiserver KCrash: Attempting to start /usr/lib/drkonqi KCrash failed to exec(), errno = 13 org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error) D-Bus session bus is not available! KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2 KCrash: Application Name = akonadiserver path = /usr/bin pid = 29 KCrash: Arguments: /usr/bin/akonadiserver KCrash: Attempting to start /usr/lib/drkonqi KCrash failed to exec(), errno = 13 org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error) D-Bus session bus is not available! KCrash: Application 'akonadiserver' crashing... crashRecursionCounter = 2 KCrash: Application Name = akonadiserver path = /usr/bin pid = 32 KCrash: Arguments: /usr/bin/akonadiserver KCrash: Attempting to start /usr/lib/drkonqi KCrash failed to exec(), errno = 13 org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error) org.kde.pim.akonadicontrol: "/usr/bin/akonadiserver" crashed too often and will not be restarted! Parent is shutting down, bye... ``` I believe this might be the issue, and the rest to be red herrings: ``` D-Bus session bus is not available! ``` Does this issue deserve getting the `broken-noprofile` tag back? Anything else I can try to debug the situation? Thank you for your support!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#3432
No description provided.