Bug #45169
closedtools: ceph-immutable-object-cache can start without root permission
0%
Description
Normal user(not root) cannot start the read only cache daemon process.
(virtualenv) ceph@ceph-S2600WFT:~$ ceph-immutable-object-cache -f
2020-04-22T21:21:36.181+0800 7f4971a25440 -1 asok(0x5648cbcacba0) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: failed to bind the UNIX domain socket to '/var/run/ceph/ceph-client.admin.12030.94870656712712.asok': (13) Permission denied
2020-04-22T21:21:36.185+0800 7f4971a25440 -1 ceph::cache::CacheController: 0x5648cbd15890 run: Exception: io serivce run error
Updated by Greg Farnum about 4 years ago
- Project changed from Ceph to rbd
- Category deleted (
ObjectCacher)
Updated by Jason Dillaman almost 4 years ago
- Status changed from New to In Progress
- Assignee set to Jason Dillaman
- Backport set to octopus
Updated by Jason Dillaman almost 4 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 36158
The linked PR will fix the crashes but you will still need to provide an appropriate "immutable_object_cache_sock" and "immutable_object_cache_path" for the daemon to utilize.
Updated by CONGMIN YIN almost 4 years ago
Jason Dillaman wrote:
The linked PR will fix the crashes but you will still need to provide an appropriate "immutable_object_cache_sock" and "immutable_object_cache_path" for the daemon to utilize.
Thanks Jason, I'm sorry you took the time to fix this bug.
Updated by Mykola Golub almost 4 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler almost 4 years ago
- Copied to Backport #46721: octopus: tools: ceph-immutable-object-cache can start without root permission added
Updated by Nathan Cutler over 3 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".