diff --git a/ceph-mon-create-start b/ceph-mon-create-start index a435c57..ab4d7a8 100755 --- a/ceph-mon-create-start +++ b/ceph-mon-create-start @@ -10,6 +10,9 @@ fname=$1 ceph-mon --mkfs -i $(hostname) --keyring "$fname" --setuser ceph --setgroup ceph touch /var/lib/ceph/mon/ceph-$(hostname)/sysvinit +# Fix broken permissions +chown ceph:ceph /var/run/ceph/ + # Starting with monit, if available if [ -e /etc/monit ]; then /opt/ungleich-tools/monit-ceph-create-start mon.$(hostname)