[pca] pca-proxy.conf question

Martin Paul martin at par.univie.ac.at
Tue Feb 10 10:43:36 CET 2009


Gurugunti, Mahesh wrote:
> My question is when is /etc/pca-proxy.conf needed ? Because, when I
> create a pca-proxy.conf on the client side & patch server side (with
> correct permissions). The pca download and install fails.

Some historical background: There was a time when both "pca" (the 
client) and "pca-proxy.cgi" (the server) only used pca.conf as the 
configuration file. This was fine, unless you used a setup where the 
server was a client as well. That's not uncommon, as you usually want to 
run pca on the server, too, to keep it up to date on patches.

Now this created some confusion, as e.g. the patchdir and patchurl 
settings had to be different for the pca client and the pca server.

So I made pca-proxy.cgi read pca-proxy.conf. To keep it downward 
compatible, it continued to read pca.conf, too. That's how you are using 
it right now. As this is confusing again, I added a note to the release 
notes so people would start to use pca-proxy.conf instead of pca.conf 
when configuring the proxy. That's what I recommend to you as well: Just 
renaming /etc/pca.conf to /etc/pca-proxy.conf on the server *only* will 
ensure that everything works as before.

In version 20081024-01 (which you don't seem to use) I've made the 
consequent last step, and changed pca to read only pca-proxy.conf when 
running as a server. If you upgrade pca-proxy.cgi to this or a later 
version on your server without moving pca.conf to pca-proxy.conf before, 
it won't work anymore.

So the recommended setup for you (and everybody else) is to use the most 
recent version of pca both as a client and as a server, and to use 
pca-proxy.conf to configure the server, and pca.conf for the client. 
It's no problem to have both pca.conf and pca-proxy.conf on the server, 
as one will be used by "pca" only and the other by "pca-proxy.cgi" only.

Hope that helps,

Martin.



More information about the pca mailing list