]> git.proxmox.com Git - ceph.git/commit
d/postinst: ensure all ceph state files/dirs have correct owner
authorMax Carrara <m.carrara@proxmox.com>
Tue, 5 Mar 2024 15:07:43 +0000 (16:07 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 11 Mar 2024 16:30:13 +0000 (17:30 +0100)
commit01e4a3cd84ed804450aa3c89e953d925e04d8278
tree37c8c943e67e8f6f6da9203519ade6017eed89c7
parente45d466e439c97e3f9783f826e6bfd381afaf5ee
d/postinst: ensure all ceph state files/dirs have correct owner

Ceph has a postinst hook that sets the ownership of '/var/lib/ceph/*'
to ceph:ceph (in our case), but misses out on the contents of
'/var/lib/ceph/crash'.

This patch therefore also recursively updates the permissions of
'/var/lib/ceph/crash'.

The change was also proposed upstream [0].

[0]: https://github.com/ceph/ceph/pull/55917

Signed-off-by: Max Carrara <m.carrara@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
patches/0016-debian-recursively-adjust-permissions-of-var-lib-cep.patch [new file with mode: 0644]
patches/series