Re: Help Me !

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Help Me !
Дата
Msg-id 20051221212525.GH72143@pervasive.com
обсуждение исходный текст
Ответ на Re: Help Me !  (Scott Marlowe <smarlowe@g2switchworks.com>)
Список 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
/home/*/public_html.

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

Definately.
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Users + Groups = Roles, duplicate name issue
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: WITH SYSID feature dropped