Skip site navigation (1) Skip section navigation (2)

Re: Help Me !

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
Cc: zhuge xiao <zhuge(at)Rinaix(dot)cn>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Help Me !
Date: 2005-12-21 21:25:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
On Wed, Dec 21, 2005 at 02:11:18PM -0600, Scott Marlowe wrote:
> On Wed, 2005-12-21 at 14:02, Jim C. Nasby wrote:
> > On Tue, Dec 20, 2005 at 05:44:44PM +0800, zhuge xiao wrote:
> > > Is the server running locally and accepting connections on Unix domain 
> > > socket "/tmp/.s.PGSQL.5432"?
> > 
> > So what are the permissions on /tmp/.s.PGSQL.5432? Can apache write to
> > it?
> > 
> > Actually, I think apache normally chroot's to ServerRoot (httpd.conf)
> > when it starts. So you probably need to create a symlink from
> > /tmp/.s.PGSQL.5432 to "ServerRoot"/tmp.
> My apache doesn't do this, and it's a pretty straight forward source
> compile of whatever the latest version of the 2.x branch was late this
> last summer.

A coworker just confirmed that it in fact does not chroot by default.
Which had I thought about it for 1/2 a second makes perfect sense,
otherwise it would often have a heck of a time getting to

> However, I could see SELinux getting in the way.

Jim C. Nasby, Sr. Engineering Consultant      jnasby(at)pervasive(dot)com
Pervasive Software    work: 512-231-6117
vcard:       cell: 512-569-9461

In response to

pgsql-admin by date

Next:From: Jim C. NasbyDate: 2005-12-21 22:12:07
Subject: Re: WITH SYSID feature dropped
Previous:From: Jim C. NasbyDate: 2005-12-21 20:31:23
Subject: Re: Users + Groups = Roles, duplicate name issue

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group