Skip to content

Commit

Permalink
ceph: fix /var/lib/ceph insufficient permissions
Browse files Browse the repository at this point in the history
Directories created inside /var/lib/ceph must have ceph as group and
owner. If not, ceph monitor services will produce errors.

Signed-off-by: Tanguy Raufflet <[email protected]>
  • Loading branch information
Tanguy Raufflet authored and TanguyRaufflet committed Nov 28, 2024
1 parent f530e23 commit ef09e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes-extended/ceph/ceph_16.%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ do_install:append () {
for directory in mon osd mds tmp radosgw bootstrap-rgw bootstrap-mgr \
bootstrap-mds bootstrap-osd bootstrap-rbd bootstrap-rbd-mirror
do
install -m 0755 -d ${D}${localstatedir}/lib/ceph/${directory}
install -m 0755 -o ceph -g ceph -d ${D}${localstatedir}/lib/ceph/${directory}
done

install -m 0755 -d ${D}${localstatedir}/log/ceph
Expand Down

0 comments on commit ef09e7c

Please sign in to comment.