Apparmor is blocking Libreoffice Base from opening
https://askubuntu.com/questions/1560578/apparmor-is-blocking-libreoffice-base-from-opening
Ubuntu 24.04 LTS
Linux fafnir 6.14.0-36-generic #36~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct 15 15:45:17 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
I installed LibreOffice Base and am attempting to open the app. It does not open, but syslog captures these messages:
2025-12-06T23:54:27.030367-05:00 fafnir dbus-daemon[4614]: [session uid=1000 pid=4614] Activating service name='org.gnome.seahorse.Application' requested by ':1.37' (uid=1000 pid=4951 comm="/usr/bin/gnome-shell" label="unconfined")
2025-12-06T23:54:27.045019-05:00 fafnir dbus-daemon[4614]: [session uid=1000 pid=4614] Successfully activated service 'org.gnome.seahorse.Application'
2025-12-06T23:54:28.053225-05:00 fafnir kernel: audit: type=1400 audit(1765083268.051:4367): apparmor="ALLOWED" operation="connect" class="file" profile="libreoffice-oosplash" name="/tmp/OSL_PIPE_1000_SingleOfficeIPC_61c0fc703470e8beb034cca46c34a1" pid=839157 comm="oosplash" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
2025-12-06T23:54:28.053243-05:00 fafnir kernel: audit: type=1400 audit(1765083268.051:4368): apparmor="ALLOWED" operation="file_perm" class="file" profile="libreoffice-oosplash" name="/tmp/OSL_PIPE_1000_SingleOfficeIPC_61c0fc703470e8beb034cca46c34a1" pid=839157 comm="oosplash" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
2025-12-06T23:54:28.053244-05:00 fafnir kernel: audit: type=1400 audit(1765083268.051:4369): apparmor="ALLOWED" operation="file_perm" class="file" profile="libreoffice-oosplash" name="/tmp/OSL_PIPE_1000_SingleOfficeIPC_61c0fc703470e8beb034cca46c34a1" pid=839157 comm="oosplash" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
2025-12-06T23:54:28.053245-05:00 fafnir kernel: audit: type=1400 audit(1765083268.051:4370): apparmor="ALLOWED" operation="file_perm" class="file" profile="libreoffice-oosplash" name="/tmp/OSL_PIPE_1000_SingleOfficeIPC_61c0fc703470e8beb034cca46c34a1" pid=839157 comm="oosplash" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000
2025-12-06T23:54:28.053245-05:00 fafnir kernel: audit: type=1400 audit(1765083268.051:4371): apparmor="ALLOWED" operation="file_perm" class="file" profile="libreoffice-oosplash" name="/tmp/OSL_PIPE_1000_SingleOfficeIPC_61c0fc703470e8beb034cca46c34a1" pid=839157 comm="oosplash" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000
2025-12-06T23:54:28.053246-05:00 fafnir kernel: audit: type=1400 audit(1765083268.051:4372): apparmor="ALLOWED" operation="file_perm" class="file" profile="libreoffice-oosplash" name="/tmp/OSL_PIPE_1000_SingleOfficeIPC_61c0fc703470e8beb034cca46c34a1" pid=839157 comm="oosplash" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
2025-12-06T23:54:28.053246-05:00 fafnir kernel: audit: type=1400 audit(1765083268.051:4373): apparmor="ALLOWED" operation="file_perm" class="file" profile="libreoffice-oosplash" name="/tmp/OSL_PIPE_1000_SingleOfficeIPC_61c0fc703470e8beb034cca46c34a1" pid=839157 comm="oosplash" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
2025-12-06T23:54:28.139488-05:00 fafnir gnome-shell[4951]: Could not create transient scope for PID 839157: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Failed to set unit properties: No such process
/etc/apparmor.d/usr.lib.libreoffice.program.oosplash contents:
# ------------------------------------------------------------------
#
# Copyright (C) 2016 Canonical Ltd.
# Copyright (C) 2018 Software in the Public Interest, Inc.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Author: Bryan Quigley <bryan.quigley@canonical.com>
# Rene Engelhard <rene@debian.org>
#
# ------------------------------------------------------------------
#include <tunables/global>
profile libreoffice-oosplash /usr/lib/libreoffice/program/oosplash flags=(complain) {
#include <abstractions/base>
#include <abstractions/X>
/etc/libreoffice/ r,
/etc/libreoffice/** r,
/etc/passwd r,
/etc/nsswitch.conf r,
/run/nscd/passwd r,
/sys/devices/{virtual,pci[0-9]*}/**/queue/rotational r, # for isRotational() in desktop/unx/source/pagein.c
/usr/lib{,32,64}/ure/bin/javaldx rmpux,
/usr/share/libreoffice/program/* r,
/usr/lib/libreoffice/program/** r,
/usr/lib/libreoffice/program/soffice.bin rmpx,
/usr/lib/libreoffice/program/javaldx rmpux,
owner @{HOME}/.Xauthority r,
owner @{HOME}/.config/libreoffice{,dev}/?/user/uno_packages/cache/log.txt rw,
unix peer=(addr=@/tmp/.ICE-unix/* label=unconfined),
unix peer=(addr=@/tmp/.X11-unix/* label=unconfined),
}
How can I resolve this?
apt search libreoffice | grep installed
Installed packages:
fonts-opensymbol/noble-updates,noble-security,now 4:102.12+LibO24.2.7-0ubuntu0.24.04.4 all [installed,automatic]
hunspell-en-us/noble,now 1:2020.12.07-2 all [installed,automatic]
liblibreoffice-java/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 all [installed,automatic]
libreoffice-base/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed]
libreoffice-base-core/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libreoffice-base-drivers/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libreoffice-calc/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libreoffice-common/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 all [installed,automatic]
libreoffice-core/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libreoffice-draw/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libreoffice-gnome/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libreoffice-gtk3/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libreoffice-impress/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libreoffice-java-common/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 all [installed,automatic]
libreoffice-math/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libreoffice-sdbc-firebird/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libreoffice-sdbc-hsqldb/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libreoffice-style-colibre/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 all [installed,automatic]
libreoffice-style-elementary/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 all [installed,automatic]
libreoffice-style-yaru/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 all [installed,automatic]
libreoffice-uiconfig-base/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 all [installed,automatic]
libreoffice-uiconfig-calc/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 all [installed,automatic]
libreoffice-uiconfig-common/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 all [installed,automatic]
libreoffice-uiconfig-draw/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 all [installed,automatic]
libreoffice-uiconfig-impress/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 all [installed,automatic]
libreoffice-uiconfig-math/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 all [installed,automatic]
libreoffice-uiconfig-writer/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 all [installed,automatic]
libreoffice-writer/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libuno-cppu3t64/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libuno-cppuhelpergcc3-3t64/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libuno-purpenvhelpergcc3-3t64/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libuno-sal3t64/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libuno-salhelpergcc3-3t64/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
libunoloader-java/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 all [installed,automatic]
python3-uno/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
uno-libs-private/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]
ure/noble-updates,noble-security,now 4:24.2.7-0ubuntu0.24.04.4 amd64 [installed,automatic]