Browse Source

DevStack: Explicitly install libcap2-bin and don't fail without AA

Change-Id: I2806041fc798f17c49671143cfa63ac3780a1450
tags/2.0.0.0rc1^2
Kiall Mac Innes 3 years ago
parent
commit
6211b7d2e1
2 changed files with 3 additions and 1 deletions
  1. 1
    1
      devstack/designate_plugins/backend-bind9
  2. 2
    0
      devstack/plugin.sh

+ 1
- 1
devstack/designate_plugins/backend-bind9 View File

@@ -68,7 +68,7 @@ function install_designate_backend {
68 68
         sudo tee /etc/apparmor.d/local/usr.sbin.named > /dev/null << EOF
69 69
 $DESIGNATE_STATE_PATH/bind9/** rw,
70 70
 EOF
71
-        restart_service apparmor
71
+        restart_service apparmor || :
72 72
     fi
73 73
 }
74 74
 

+ 2
- 0
devstack/plugin.sh View File

@@ -225,6 +225,8 @@ function init_designate {
225 225
 
226 226
 # install_designate - Collect source and prepare
227 227
 function install_designate {
228
+    install_package libcap2-bin
229
+
228 230
     if is_fedora; then
229 231
         # This package provides `dig`
230 232
         install_package bind-utils

Loading…
Cancel
Save