How did you install ceph and which version exactly? Running as ceph
should only happen with >= 9.2, which is available on Xenial.

If I install ceph=10.0.3-0ubuntu1 on a new machine, /var/lib/ceph and
/var/run/ceph have ceph:ceph as owner, which looks fine to me. One could
discuss the ownership of /etc/ceph, but as it may contain files like the
admin keyring which explictly should not be readable by the ceph user, I
would vote to keep /etc/ceph owned by root.

As a side note, though, maybe /var/lib/ceph does not need to contain all
these subdirs on a fresh install:

# ls -la /var/lib/ceph/ 
total 32
drwxr-x---  8 ceph ceph 4096 Mar 29 13:40 .
drwxr-xr-x 40 root root 4096 Mar 29 13:40 ..
drwxr-xr-x  2 ceph ceph 4096 Mar 18 12:17 bootstrap-mds
drwxr-xr-x  2 ceph ceph 4096 Mar 18 12:17 bootstrap-osd
drwxr-xr-x  2 ceph ceph 4096 Mar 18 12:17 bootstrap-rgw
drwxr-xr-x  2 ceph ceph 4096 Mar 18 12:17 mon
drwxr-xr-x  2 ceph ceph 4096 Mar 18 12:17 osd
drwxr-xr-x  2 ceph ceph 4096 Mar 18 12:17 tmp

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1562030

Title:
  Ceph directories not owned by Ceph user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1562030/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to