From 3938bda1222ef2bb0065b1ac1e93ed42ee9d4958 Mon Sep 17 00:00:00 2001 From: Emanuele Aina <emanuele.aina@collabora.com> Date: Tue, 2 Apr 2019 14:42:51 +0200 Subject: [PATCH] ospack-{minimal,target}: Put the Newport AppArmor profile in complain mode After the rebase to Buster, some AppArmor profiles have become problematic and prevent the components from working: this is the case for Newport, which currently fails to start. Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com> --- apertis-ospack-minimal.yaml | 5 +++++ apertis-ospack-target.yaml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/apertis-ospack-minimal.yaml b/apertis-ospack-minimal.yaml index 404646ce..fe7c4e40 100644 --- a/apertis-ospack-minimal.yaml +++ b/apertis-ospack-minimal.yaml @@ -172,6 +172,11 @@ actions: chroot: false script: scripts/apparmor-profile-switch-to-complain.sh ${ROOTDIR}/etc/apparmor.d/usr.*.ribchester* + - action: run + description: Switch the Newport AppArmor profile to complain mode + chroot: false + script: scripts/apparmor-profile-switch-to-complain.sh ${ROOTDIR}/etc/apparmor.d/usr.bin.newport + # work around the Debos isssue in https://phabricator.apertis.org/T4308 - action: run chroot: false diff --git a/apertis-ospack-target.yaml b/apertis-ospack-target.yaml index 32cfb517..edf733c0 100644 --- a/apertis-ospack-target.yaml +++ b/apertis-ospack-target.yaml @@ -289,6 +289,11 @@ actions: description: Switch the Ribchester AppArmor profile to complain mode chroot: false script: scripts/apparmor-profile-switch-to-complain.sh ${ROOTDIR}/etc/apparmor.d/usr.*.ribchester* + + - action: run + description: Switch the Newport AppArmor profile to complain mode + chroot: false + script: scripts/apparmor-profile-switch-to-complain.sh ${ROOTDIR}/etc/apparmor.d/usr.bin.newport {{ end }} # work around the Debos isssue in https://phabricator.apertis.org/T4308 -- GitLab