]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Add chown ceph:ceph for /tmp/ceph.mon.keyring 31452/head
authoroneoneonepig <peihuachu1112@gmail.com>
Thu, 7 Nov 2019 05:01:53 +0000 (13:01 +0800)
committerJeffrey Chu <peihuachu1112@gmail.com>
Mon, 11 Nov 2019 04:50:49 +0000 (04:50 +0000)
commitef0f78971d39ebbcd7be57eaaafe7c69e014bf0f
tree1583604adf13f2697f58a66e4c5054ed36b3f69a
parent8cb1f6bddb5f7f6f90da337659c2d2dcd3d8b469
Add chown ceph:ceph for /tmp/ceph.mon.keyring

The keyring will be 600 by default with the owner of the current user who issues the command, which will make command "sudo -u ceph ceph-mon --mkfs" fail since the user "ceph" don't have access to the keyring file.
Because of that, the mon data directory won't have keyring and when "sudo systemctl start ceph-mon" it will show error "unable to read magic from mon data"

Signed-off-by: Jeffrey Chu <peihuachu1112@gmail.com>
doc/install/manual-deployment.rst