From: | Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Steven Citron-Pousty <spousty(at)redhat(dot)com>, pgsql-hackers(at)postgresql(dot)org, "shifters\(at)redhat(dot)com shifters" <shifters(at)redhat(dot)com>, Matthew Hicks <mhicks(at)redhat(dot)com>, Hirotsugu Asari <hasari(at)redhat(dot)com>, Adam Miller <admiller(at)redhat(dot)com> |
Subject: | Re: Feature Request on Extensions |
Date: | 2013-08-18 20:20:47 |
Message-ID: | m2k3ji21k0.fsf@new-host-4.home |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
I had the chance to being at OSCON this year and had a chat with the
Open Shift team while there. Thanks for posting your use case!
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> Right offhand, it seems like you have or could grant a developer
> superuser/DBA privileges with respect to his own PG instance, so I'm not
> actually seeing why you have a problem. What exactly is stopping him
> from installing his extension in the normal way?
They use the same binary installation for everyone, and an OS packaged
one at that. Which means that there's a single `libdir` and `pkglibdir`
shared globally on the system. And no individual user has any privileges
down there as it's a global OS location.
What they want is to be able to run the same binary for every user, yet
have a personal `libdir` place where to load extension's .so files from,
and point that to a place owned by the initdb bootstrap superuser,
different each time.
The easiest way for them here would be for this parameter to be a fully
dynamic setting, second best an initdb option, IIUC.
The way they make that secure in their model is by using modern
approaches to security, or at least modern enough that we don't get to
envision those offerings when we usually talk about the idea of allowing
the backend to load non-root-owned binary modules: SElinux and CGroups.
Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2013-08-18 21:08:49 | Re: warning in code while building on windows |
Previous Message | Andrew Dunstan | 2013-08-18 17:02:57 | Re: Fix Windows socket error checking for MinGW |