Skip to content

Commit 70ab0de

Browse files
Merge pull request #12517 from rabbitmq/mk-disable-apparmor-v4.0.x
Actions: disable AppArmor (a manual backport of #12515)
2 parents 4bbe25e + 43805ca commit 70ab0de

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test-plugin-mixed.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ jobs:
9898
run: |
9999
sudo apt-get update && \
100100
sudo apt-get install -y \
101-
apparmor-utils \
102101
ldap-utils \
103102
slapd
104103
105-
sudo aa-complain `which slapd`
104+
sudo systemctl is-active --quiet apparmor.service && sudo systemctl stop apparmor.service
105+
sudo systemctl disable apparmor.service
106106
107107
cat << EOF >> user.bazelrc
108108
build --strategy=TestRunner=local

.github/workflows/test-plugin.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ jobs:
9595
run: |
9696
sudo apt-get update && \
9797
sudo apt-get install -y \
98-
apparmor-utils \
9998
ldap-utils \
10099
slapd
101100
102-
sudo aa-complain `which slapd`
101+
sudo systemctl is-active --quiet apparmor.service && sudo systemctl stop apparmor.service
102+
sudo systemctl disable apparmor.service
103103
104104
cat << EOF >> user.bazelrc
105105
build --strategy=TestRunner=local

0 commit comments

Comments
 (0)