pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Morie <pmorie@redhat.com>
To: Andres Freund <andres@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9003: Hard-coding to localhost in postmaster
Date: Tue, 28 Jan 2014 10:41:49 -0500 (EST)
Message-ID: <1664800968.14386753.1390923709454.JavaMail.root@redhat.com> (raw)
In-Reply-To: <20140128001221.GC25670@awork2.anarazel.de>
References: <20140127183125.26701.88068@wrigleys.postgresql.org>
	<20140127232050.GB25670@awork2.anarazel.de>
	<1274922501.13409952.1390867581243.JavaMail.root@redhat.com>
	<20140128001221.GC25670@awork2.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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@2ndquadrant.com>
> To: "Paul Morie" <pmorie@redhat.com>
> Cc: pgsql-bugs@postgresql.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
> 


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (16+ messages)  latest in thread

Message-ID: <1664800968.14386753.1390923709454.JavaMail.root@redhat.com>
Permalink:  ../1664800968.14386753.1390923709454.JavaMail.root@redhat.com/
Also on:    postgresql.org/message-id/1664800968.14386753.1390923709454.JavaMail.root@redhat.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: pmorie@redhat.com, andres@2ndquadrant.com
  Subject: Re: BUG #9003: Hard-coding to localhost in postmaster
  In-Reply-To: <1664800968.14386753.1390923709454.JavaMail.root@redhat.com>
  References: <20140127183125.26701.88068@wrigleys.postgresql.org> <20140127232050.GB25670@awork2.anarazel.de> <1274922501.13409952.1390867581243.JavaMail.root@redhat.com> <20140128001221.GC25670@awork2.anarazel.de> <1664800968.14386753.1390923709454.JavaMail.root@redhat.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox