Re: BUG #9003: Hard-coding to localhost in postmaster

From: Paul Morie <pmorie(at)redhat(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #9003: Hard-coding to localhost in postmaster
Date: 2014-01-28 15:41:49
Message-ID: 1664800968.14386753.1390923709454.JavaMail.root@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Andres-

The challenge we have in openshift is that we have multiple users on a single node who all want to bind to the same port. To deal with this, we forbid the users from binding to 127.0.0.1 using selinux and allocate IPs for them to bind to.

Does that make sense?

Thanks,

Paul

----- Original Message -----
> From: "Andres Freund" <andres(at)2ndquadrant(dot)com>
> To: "Paul Morie" <pmorie(at)redhat(dot)com>
> Cc: pgsql-bugs(at)postgresql(dot)org
> Sent: Monday, January 27, 2014 7:12:21 PM
> Subject: Re: [BUGS] BUG #9003: Hard-coding to localhost in postmaster
>
> Hi,
>
> On 2014-01-27 19:06:21 -0500, Paul Morie wrote:
> > The specific use-case I'm trying to address is within OpenShift
> > (www.openshift.com) where users cannot bind to localhost of
> > 127.0.0.1. In this case, the user needs to be able to bind to another
> > interface.
>
> That's an odd restriction to make. You're running out of ports on
> 127.0.0.1?
>
> Greetings,
>
> Andres Freund
>
> --
> Andres Freund http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Training & Services
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2014-01-28 15:54:19 Re: BUG #9003: Hard-coding to localhost in postmaster
Previous Message Marti Raudsepp 2014-01-28 13:59:04 Re: BUG #9007: List comparison