summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2024-09-30 17:23:10 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2024-10-01 10:31:20 +0200
commitf800d8e42b974b1a1e9408da4e96accfd6f26acf (patch)
treeeb786e58b64fa71a0e48c5b1734d234060b7c0ff /pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos
parent2ebffcc4c7e7b807d4e92c44f4037c4f3b4bee81 (diff)
nixos/postgresql: enable private /tmp & private mounts; fix wal-receiver test
The issue was that the old test-case used `/tmp` to share data. Using `JoinsNamespaceOf=` wasn't a real workaround since the private `/tmp` is recreated when a service gets stopped/started which is the case here, so the wals were still lost. To keep the test building with `PrivateTmp=yes`, create a dedicated directory in `/var/cache` with tmpfiles and allow the hardened `postgresql.service` to access it via `ReadWritePaths`.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos')
0 files changed, 0 insertions, 0 deletions