| Summary: | sys-cluster/ceph - files/ceph.initd-r1 tries to run daemons as a non-existent "ceph" user | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | frank <skunk> |
| Component: | [OLD] Server | Assignee: | Patrick McLean <chutzpah> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | cluster, dlan |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
frank
2016-03-16 17:47:01 UTC
The ebuild explictly creates the "ceph" user since at least 9.2.0:
user_setup() {
enewgroup ceph
enewuser ceph -1 -1 /var/lib/ceph ceph
}
pkg_setup() {
python_setup
check-reqs_export_vars
check-reqs_pkg_setup
user_setup
}
I don't see how ceph-9.2 could have been merged without this user being created.
sorry, i didn't specify i was merging sys-cluster/ceph-0.94.6 which doesn't create any ceph user (and there is no need to) however the /etc/init.d/ceph script tries (and fails) to start the daemons as ceph:
[...]
start-stop-daemon --start -exec ${command} --user ceph --group ceph -- ${command_args}
[...]
Fixed in ceph-0.94.6-r1 |