Your message dated Tue, 18 Apr 2023 13:17:02 +0200 with message-id <4455048.y56gxbJ10d@tuxin> and subject line Re: Bug#970450: akonadi-server: akonadi fails to start if the XDG variables point outside of $HOME has caused the Debian Bug report #970450, regarding akonadi-server: akonadi fails to start if the XDG variables point outside of $HOME to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 970450: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970450 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: akonadi-server Version: 4:20.04.1-2+b1 Severity: important Dear Maintainer, I have defined my XDG variables to point outside of $HOME since this lies in an NFS server with a small quota. The ones I have defined are XDG_CACHE_HOME, XDG_CONFIG_HOME and XDG_DATA_HOME. After I have upgraded my system to bullseye/testing akonadi cannot start, complaining that it cannot create $XDG_DATA_HOME/akonadi (although it get's eventually created) and that it cannot copy Akonadi.error to Akonadi.error.old. If I remove completely file /etc/apparmor.d/usr.bin.akonadiserver then akonadi seems to try to start, although then I get other mysql problems which probably should go in a different bug :) -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.8.0-1-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_FIRMWARE_WORKAROUND Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages akonadi-server depends on: ii akonadi-backend-mysql 4:20.04.1-2 ii libc6 2.31-3 ii libgcc-s1 10.2.0-7 ii libkf5akonadiprivate5abi2 [libkf5akonadiprivate5-20.04] 4:20.04.1-2+b1 ii libkf5akonadiwidgets5abi1 [libkf5akonadiwidgets5-20.04] 4:20.04.1-2+b1 ii libkf5configcore5 5.70.0-1 ii libkf5coreaddons5 5.70.0-2 ii libkf5crash5 5.70.0-1 ii libkf5i18n5 5.70.0-1 ii libqt5core5a 5.14.2+dfsg-6 ii libqt5dbus5 5.14.2+dfsg-6 ii libqt5gui5 5.14.2+dfsg-6 ii libqt5network5 5.14.2+dfsg-6 ii libqt5sql5 5.14.2+dfsg-6 ii libqt5widgets5 5.14.2+dfsg-6 ii libqt5xml5 5.14.2+dfsg-6 ii libstdc++6 10.2.0-7 akonadi-server recommends no packages. Versions of packages akonadi-server suggests: ii akonadi-backend-mysql 4:20.04.1-2 pn akonadi-backend-postgresql <none> pn akonadi-backend-sqlite <none> -- Configuration Files: /etc/apparmor.d/mysqld_akonadi [Errno 2] No such file or directory: '/etc/apparmor.d/mysqld_akonadi' /etc/apparmor.d/usr.bin.akonadiserver [Errno 2] No such file or directory: '/etc/apparmor.d/usr.bin.akonadiserver' -- no debconf information
--- End Message ---
--- Begin Message ---Hey, actually you havn't configured AppArmor correctly. You need to add all directories to @{HOMEDIRS} either by: dpkg-reconfigure apparmor or by uncommenting the @{HOMEDIR} in /etc/apparmor.d/tunables/home.d/ site.local and update it accordingly. see https://bugs.debian.org/1025162 for more information. If you are unhappy with this solution, please open an bugreport against AppArmor to support XDG variables. Regards, hefee -- On Montag, 5. April 2021 13:17:47 CEST Sandro Knauß wrote: > Hey, > > Apparmor does not know any environmental variables, so it cannot handle your > case. In your usecase you have to update the @{xdg_data_home} and > @{xdg_config_home} inside usr.bin.akonadiserver to point to the correct > directories, than Apparmor should be fine with your setup. Or update /etc/ > apparmor/tunables/home. > > As this is not a default setup and I see no way how Apparmor rules could be > better written to support your usecase. It seems it is more like a general > user request for Apparmor. > > Regards, > > hefeesignature.asc
Description: This is a digitally signed message part.
--- End Message ---