Re: Scott Kitterman 2013-04-10 <4760683.lmcPC93o9i@scott-latitude-e6320>
> On Tuesday, April 09, 2013 07:29:24 PM you wrote:
> > Tags: patch
> > 
> > The following patch to pgpool2's init script makes
> > sure /var/run/postgresql exists and sets proper permissions so it works
> > with and without PostgreSQL coexisting on the same machine.
> 
> If postgresql isn't installed, how does the postgresql user get created for 
> the chown in the patch to work?

pgpool2 depends on postgresql-common which creates the user.

> Unless there's some specific reason to put the pgpool2 pid file in 
> /var/run/postgresql, don't do that.

Iirc it needs a writable directory, which /var/run isn't (owned by
root). I'd also rather not change the pid location at that point in
the freeze.

Fixes are on the way, thanks for spotting.

Christoph
-- 
[email protected] | http://www.df7cb.de/


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to