Use correct permissions for haproxy log mount

With [1] a regression was introduced, where incorrect permissions were
applied to a bind mount corrupting access to /dev/log globally on hosts
where haproxy was running.
Default permissions are 0666 for /dev/log when it's managed by journald.
[1] https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/888143
Closes-Bug: #2055178
Change-Id: Ib8b9e4dea0ecd5d35f0e872dfaa0f2ec837a98f8
(cherry picked from commit ed981ce09a)
This commit is contained in:
Dmitriy Rabotyagov
2024年02月27日 19:46:08 +01:00
committed by Dmitriy Rabotyagov
parent baf11a22fb
commit 399a1d50b5

View File

@@ -77,7 +77,7 @@
path:"{{ haproxy_log_mount_point }}"
access_time:preserve
modification_time:preserve
mode:"0755"
mode:"0666"
- name:Make log socket available to chrooted filesystem
mount:
Reference in New Issue
openstack/openstack-ansible-haproxy_server
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.