Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Set setgid mode bit for /var/lib/ironic"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Dec 11, 2020
2 parents af2852d + d582c09 commit 7b12da0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployment/ironic/ironic-conductor-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ outputs:
mode: "{{ item.mode|default(omit) }}"
with_items:
- { 'path': /var/log/containers/ironic, 'setype': container_file_t, 'mode': '0750' }
- { 'path': /var/lib/ironic, 'setype': container_file_t }
- { 'path': /var/lib/ironic, 'setype': container_file_t, 'mode': 'g+s' }
- name: stat /httpboot
stat: path=/httpboot
register: stat_httpboot
Expand Down
2 changes: 1 addition & 1 deletion deployment/ironic/ironic-pxe-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,6 @@ outputs:
setype: "{{ item.setype }}"
mode: "{{ item.mode|default(omit) }}"
with_items:
- { 'path': /var/lib/ironic, 'setype': container_file_t }
- { 'path': /var/lib/ironic, 'setype': container_file_t, 'mode': 'g+s' }
- { 'path': /var/log/containers/ironic, 'setype': container_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/ironic-pxe, 'setype': container_file_t, 'mode': '0750' }

0 comments on commit 7b12da0

Please sign in to comment.