8000 fix: ensure Vector retains perms to write to a file under the pg log dir · meliandam/postgres@bbb7d8c · GitHub
[go: up one dir, main page]

Skip to content

Commit bbb7d8c

Browse files
committed
fix: ensure Vector retains perms to write to a file under the pg log dir
1 parent 30b5568 commit bbb7d8c

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# unchanged from upstream package
2+
d /run/postgresql 2775 postgres postgres - -
3+
# Log directory - ensure that our logging setup gets preserved
4+
# and that vector can keep writing to a file here as well
5+
d /var/log/postgresql 1775 postgres postgres - -

ansible/tasks/setup-supabase-internal.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@
5656
src: files/vector.service.j2
5757
dest: /etc/systemd/system/vector.service
5858

59+
- name: configure tmpfiles for postgres - overwrites upstream package
60+
template:
61+
src: files/postgresql_config/tmpfiles.postgresql.conf
62+
dest: /etc/tmpfiles.d/postgresql-common.conf
63+
5964
- name: fix permissions for vector config to be managed
6065
shell:
6166
cmd: |

common.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.1.1.16"
1+
postgres-version = "15.1.1.17"

0 commit comments

Comments
 (0)
0