Actions
Bug #48583
closednautilus: Log files are created with rights root:root
% Done:
0%
Source:
Support
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
On 7148b7c3ae254fbc7796ae63d86ea681c68e0d88
Add 'log_to_file = true' to ceph.conf # /ceph/build/bin/ceph-mon -i a --setuser ceph --setgroup ceph -c /ceph/build/ceph.conf 2020-12-14 01:15:26.041 7fcd5be541c0 -1 WARNING: all dangerous and experimental features are enabled. 2020-12-14 01:15:26.041 7fcd5be541c0 -1 WARNING: all dangerous and experimental features are enabled. 2020-12-14 01:15:26.077 7fcd5be541c0 -1 WARNING: all dangerous and experimental features are enabled. 2020-12-14 01:15:26.077 7fcd5be541c0 -1 asok(0x557ef94d6000) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: failed to bind the UNIX domain socket to '/tmp/ceph-asok.vXyP1B/mon.a.asok': (13) Permission denied # ls -l out/mon.a.log -rw-r--r-- 1 ceph ceph 205342 Dec 14 01:20 out/mon.a.log Start the mon as root to get around the socket permission problem so the manager will start. # /ceph/build/bin/ceph-mon -i a -c /ceph/build/ceph.conf 2020-12-14 01:19:31.513 7f9d681091c0 -1 WARNING: all dangerous and experimental features are enabled. 2020-12-14 01:19:31.513 7f9d681091c0 -1 WARNING: all dangerous and experimental features are enabled. 2020-12-14 01:19:31.548 7f9d681091c0 -1 WARNING: all dangerous and experimental features are enabled. # /ceph/build/bin/ceph-mgr -i x --setuser ceph --setgroup ceph -c /ceph/build/ceph.conf 2020-12-14 01:20:07.886 7f92821c2e40 -1 WARNING: all dangerous and experimental features are enabled. 2020-12-14 01:20:07.925 7f92821c2e40 -1 WARNING: all dangerous and experimental features are enabled. # ls -l out/mgr.x.log -rw-r--r-- 1 root root 4685 Dec 14 01:20 out/mgr.x.log
This was resolved in octopus by accident with https://github.com/ceph/ceph/commit/02c0a20a09fc8f678d0f9caf7f580b3dbc1f0f91
Updated by Brad Hubbard over 3 years ago
- Status changed from New to In Progress
- Pull request ID set to 38558
Updated by Yuri Weinstein over 3 years ago
Updated by Brad Hubbard over 3 years ago
- Status changed from In Progress to Resolved
Updated by Nathan Cutler about 3 years ago
- Status changed from Resolved to Pending Backport
- Backport set to nautilus
Updated by Nathan Cutler about 3 years ago
- Status changed from Pending Backport to Resolved
- Backport deleted (
nautilus)
Actions