[Bug 199679] Review Request: pgpool - Connection pooling/replication server for PostgreSQL

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 28 06:01:30 UTC 2006


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: pgpool - Connection pooling/replication server for PostgreSQL


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=199679





------- Additional Comments From kevin at tummy.com  2006-11-28 01:01 EST -------
ok, I see what you are trying to do. Thats not going to work however. 

Setting '--sysconfdir=%{_docdir}/%{name}-%{version}' will cause the package not
to function correctly. It's going to be looking for the config file in that
location...ie, to configure the package a user will have to create a 
/usr/share/doc/postgresql-pgpool-3.1.1-6/pgpool.conf file. Thats not the desired
result. 

Possible solutions: 

- Change configure back to just %configure, then at the end of your %install
section 'rm -f %{buildroot}/%{_sysconfdir}/pgpool.conf.sample'

- Change configure back to just %configure, then at the end of your %install
section 'mv %{buildroot}/%{_sysconfdir}/pgpool.conf.sample
%{buildroot}/%{_sysconfdir}/pgpool.conf'

What does pgpool do when you don't have a pgpool.conf file? If it gives a
coherent error message, then option 1 should be fine, if it doesn't then perhaps
  option 2 would be better to provide more info for the user. 

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the package-review mailing list