RadosGW can't bind to port below 1024 with Infernalis
Since the RadosGW is running as ceph user, civetweb can't bind to a port below 1024 with 9.1.0.
There is a way to allow an unprivileged user to bind to port below 1024 - see setcap(8) and capabilities(7) - but I'm not sure whether that's something we want to do or not.
rgw: instruct civetweb to drop permissions
Get uid set in g_ceph_context and pass to civetweb where setuid()/setgid()
will be invoked. This Allows for starting civetweb under privileged port
Signed-off-by: Karol Mroz <email@example.com>
- Assignee set to Anonymous
- Status changed from New to Resolved
Also available in: Atom