All of lore.kernel.org
 help / color / mirror / Atom feed
* radosgw socket dir
@ 2015-09-14 15:05 Sage Weil
  2015-09-14 16:00 ` Wido den Hollander
  0 siblings, 1 reply; 2+ messages in thread
From: Sage Weil @ 2015-09-14 15:05 UTC (permalink / raw)
  To: osynge; +Cc: ceph-devel

radosgw now runs as ceph:ceph under systemd.  /run/ceph-rgw is 755 owned 
as the web user.  I think this will break anybody using apache and 
fastcgi.  That's not the default, but I don't think that combo 
makes any sense anyway.

Should we...

 - make /run/ceph-rgw ceph:ceph 0755, make the sockets 770, and then make 
the user add the web user to the ceph group?

 - make /run/ceph-rgw ceph:www 0755 + group sticky bit and then make the 
sockets 770 so that the web user can open them?

 - get rid of /run/ceph-rgw entirely and let the admin do this on their 
own if they want to do fastcgi instead of civetweb?

I like of like the last option...
sage

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: radosgw socket dir
  2015-09-14 15:05 radosgw socket dir Sage Weil
@ 2015-09-14 16:00 ` Wido den Hollander
  0 siblings, 0 replies; 2+ messages in thread
From: Wido den Hollander @ 2015-09-14 16:00 UTC (permalink / raw)
  To: Sage Weil, osynge; +Cc: ceph-devel



On 14-09-15 17:05, Sage Weil wrote:
> radosgw now runs as ceph:ceph under systemd.  /run/ceph-rgw is 755 owned 
> as the web user.  I think this will break anybody using apache and 
> fastcgi.  That's not the default, but I don't think that combo 
> makes any sense anyway.
> 
> Should we...
> 
>  - make /run/ceph-rgw ceph:ceph 0755, make the sockets 770, and then make 
> the user add the web user to the ceph group?
> 
>  - make /run/ceph-rgw ceph:www 0755 + group sticky bit and then make the 
> sockets 770 so that the web user can open them?
> 
>  - get rid of /run/ceph-rgw entirely and let the admin do this on their 
> own if they want to do fastcgi instead of civetweb?
> 
> I like of like the last option...

I agree. I would not promote FastCGI in any way. Civetweb is easier and
faster.

So if anyone wants FastCGI, let them override the systemd service file
and add the socket.

> sage
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-14 16:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-14 15:05 radosgw socket dir Sage Weil
2015-09-14 16:00 ` Wido den Hollander

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.