[pkg-apparmor] Bug#1121255: usr.lib.libreoffice.program.* profiles are gone, it's now libreoffice-*
Rene Engelhard
rene at debian.org
Sun Nov 23 21:00:03 GMT 2025
Source: apparmor
Version: 4.1.0-1
Severity: important
Hi,
With libreoffice 4:26.2.0~alpha1-1 as from experimental apparmors
autopkgtests fail:
https://qa.debian.org/excuses.php?experimental=1&package=libreoffice:
Autopkgtest for apparmor/4.1.0-1: amd64: Regression ♻ (reference ♻), arm64: Regression ♻ (reference ♻), i386: Test triggered
Looking at it it seems the following is the problem:
https://ci.debian.net/data/autopkgtest/unstable/amd64/a/apparmor/66460842/log.gz:
103s Testing usr.lib.libreoffice.program.oosplash
103s Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
103s File /etc/apparmor.d/usr.lib.libreoffice.program.oosplash not found, skipping...
103s autopkgtest [06:28:38]: test compile-policy: -----------------------]
103s autopkgtest [06:28:38]: test compile-policy: - - - - - - - - - - results - - - - - - - - - -
103s compile-policy FAIL non-zero exit status 2
That is correct, those are gone. Libreoffice does have an autopkgtest
checking the syntax (see
https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/-/blob/master/tests/control.in?ref_type=heads#L109,
since
64470f1d6c (Rene Engelhard 2025-11-23 13:36:39 +0100 109) Test-Command: for i in /etc/apparmor.d/libreoffice-*; do /sbin/apparmor_parser --add --skip-cache --skip-kernel-load $i; done
50c55a8a06 (Rene Engelhard 2024-08-31 11:59:58 +0200 110) Features: test-name=apparmor-profiles-syntax-check
50c55a8a06 (Rene Engelhard 2024-08-31 11:59:58 +0200 111) Depends: libreoffice-common, apparmor
50c55a8a06 (Rene Engelhard 2024-08-31 11:59:58 +0200 112) Restrictions: allow-stderr, superficial
and does it during the build, too, see
e74893781c (Rene Engelhard 2021-11-07 20:47:20 +0100 517) CHECK_APPARMOR_PROFILES=true
together with
6a18e204a4 (Rene Engelhard 2017-11-06 21:52:37 +0100 4416) ./sysui/desktop/share/apparmor.sh /$(OODIR)/ sysui/desktop/apparmor/ \
8338071d2f (Rene Engelhard 2018-06-13 23:29:08 +0200 4417) $(PKGDIR)-common/etc/apparmor.d/ false $(CHECK_APPARMOR_PROFILES)
and
https://git.libreoffice.org/core/+/refs/heads/master/sysui/desktop/share/apparmor.sh#40
oes this do more than that? If not, I would suggest removing it. At
least it needs to be updated for the new location at some point in time
to not block LibreOffice 26.2 in February..
Regards,
Rene
More information about the pkg-apparmor-team
mailing list