On Fri, Feb 5, 2016 at 10:03 PM, Clayton Coleman <[email protected]>
wrote:

> I think we work around this in the Postgres image by using a subdir of the
> root dir and changing perms.
>

​yes, precisely:
https://github.com/openshift/postgresql/blob/master/9.4/root/usr/share/container-scripts/postgresql/common.sh#L166-L176


​


>
> On Feb 5, 2016, at 8:18 PM, Mateus Caruccio <
> [email protected]> wrote:
>
> Hi there.
>
> I'm facing an issue trying to use a pvc for postgresql-9.4 using ceph
> storage.
> By setting fsGroup on my template causes pvc to be mounted with perms
> g+rwx for that specific GID.
>
> The problem is postgresql refuses to start if PGDATA isn't 0700.
>
> Thoughts?
>
>
> *Mateus Caruccio*
> Master of Puppets
> +55 (51) 8298.0026
> gtalk:
>
>
> *[email protected] <[email protected]>twitter:
> @MateusCaruccio <https://twitter.com/MateusCaruccio>*
> This message and any attachment are solely for the intended
> recipient and may contain confidential or privileged information
> and it can not be forwarded or shared without permission.
> Thank you!
>
> _______________________________________________
> dev mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>
>
> _______________________________________________
> dev mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>
>


-- 
Ben Parees | OpenShift
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to