Browse Source

Merge "Correct SELinux type for host openvswitch logs"

tags/11.2.0
Zuul 1 week ago
parent
commit
dcd2c5b339

+ 1
- 1
deployment/ovn/ovn-controller-container-puppet.yaml View File

@@ -210,7 +210,7 @@ outputs:
210 210
             setype: "{{ item.setype }}"
211 211
           with_items:
212 212
             - { 'path': /var/log/containers/openvswitch, 'setype': svirt_sandbox_file_t }
213
-            - { 'path': /var/log/openvswitch, 'setype': svirt_sandbox_file_t }
213
+            - { 'path': /var/log/openvswitch, 'setype': openvswitch_log_t }
214 214
         - name: openvswitch logs readme
215 215
           copy:
216 216
             dest: /var/log/openvswitch/readme.txt

+ 1
- 1
deployment/ovn/ovn-dbs-container-puppet.yaml View File

@@ -209,7 +209,7 @@ outputs:
209 209
           with_items:
210 210
             - { 'path': /var/log/containers/openvswitch, 'setype': svirt_sandbox_file_t }
211 211
             - { 'path': /var/lib/openvswitch/ovn, 'setype': svirt_sandbox_file_t }
212
-            - { 'path': /var/log/openvswitch, 'setype': svirt_sandbox_file_t }
212
+            - { 'path': /var/log/openvswitch, 'setype': openvswitch_log_t }
213 213
         - name: openvswitch logs readme
214 214
           copy:
215 215
             dest: /var/log/openvswitch/readme.txt

+ 1
- 1
deployment/ovn/ovn-dbs-pacemaker-puppet.yaml View File

@@ -185,7 +185,7 @@ outputs:
185 185
           with_items:
186 186
             - { 'path': /var/log/containers/openvswitch, 'setype': svirt_sandbox_file_t }
187 187
             - { 'path': /var/lib/openvswitch/ovn, 'setype': svirt_sandbox_file_t }
188
-            - { 'path': /var/log/openvswitch, 'setype': svirt_sandbox_file_t }
188
+            - { 'path': /var/log/openvswitch, 'setype': openvswitch_log_t }
189 189
         - name: openvswitch logs readme
190 190
           copy:
191 191
             dest: /var/log/openvswitch/readme.txt

Loading…
Cancel
Save