aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-01-06 11:14:32 +0000
committerChristopher Baines <mail@cbaines.net>2019-01-06 11:14:32 +0000
commit5c6222057042dea84231e8511647110abf11bf54 (patch)
tree001b7d235c7eb2b71c08297a4e37d43496e5d01d
parent3459059ed1f9332a9e71a4a7be5dc5e22e7f6bae (diff)
downloadgovuk-mini-environment-admin-5c6222057042dea84231e8511647110abf11bf54.tar
govuk-mini-environment-admin-5c6222057042dea84231e8511647110abf11bf54.tar.gz
Disable apparmor on the AWS backend
-rw-r--r--terraform/aws/backend/main.tf5
1 files changed, 5 insertions, 0 deletions
diff --git a/terraform/aws/backend/main.tf b/terraform/aws/backend/main.tf
index 5b1dc0b..23b2c3f 100644
--- a/terraform/aws/backend/main.tf
+++ b/terraform/aws/backend/main.tf
@@ -302,6 +302,11 @@ do
done
EOF
,
+ # Disable apparmor, as it seems to cause guile to segfault
+ # sometimes
+ "sudo systemctl stop apparmor",
+ "sudo service apparmor teardown",
+ "sudo systemctl disable apparmor",
"sudo systemctl daemon-reload",
"sudo systemctl enable guix-daemon.service",
"sudo systemctl start guix-daemon.service",