tag 640451 moreinfo
thanks

Hello John,

John Darrah [2011-09-04 16:32 -0700]:
> In order to be able edit pg_hba.conf and postgresql.conf 
> from PgadminIII you need to make several changes to the 
> default install.
> 
> First make the following symlinks:
> 
> ln -s /etc/postgresql/9.0/main/pg_hba.conf /var/lib/postgresql/9.0/main/
> ln -s /etc/postgresql/9.0/main/postgresql.conf /var/lib/postgresql/9.0/main/
> 
> Then edit /etc/postgresql/9.0/main/postgresql.conf and change:
> 
> hba_file = '/etc/postgresql/9.0/main/pg_hba.conf'
> 
> To:
> 
> hba_file = '/var/lib/postgresql/9.0/main/pg_hba.conf'

Why is this necessary? What is the actual error message that you get?
Can't you specify /etc/postgresql/9.0/main/ as the cluster directory,
and pgadmin will then see the "datadir = /var/lib/..." in
postgresql.conf?

> If this change is a problem with security or file policy, 

It's not a "problem", it's how configuration and data files should be
laid out in an Unix system. This won't change.

> please add the above instructions to a README.Debian in the 
> documentation folder.

This merely sounds like a workaround. For updating the documentation
I need more information what the actual error message is, and what you
did in pgadmin.

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to