Trouble with symlinked conffiles
Jan-Pascal van Best
janpascal at vanbest.org
Fri Feb 20 15:00:56 UTC 2009
Thanks for your reply.
> On Feb 20, 2009 at 13:42, Jan-Pascal van Best praised the llamas by saying:
>> Hi all,
>> I'm having a bit of trouble with bug# 515945. The bug is caused by this:
>> Does any of you have any ideas about:
>> - how to deal with packages placing configuration items into other
>> package's configuration directories properly?
>> - how to proceed in the case of solr, including providing a proper
>> upgrade path?
> Why can't you just put the file in /etc/tomcat5.5/policy?
I could, but it's configuration for the solr web application, so it
should be placed in /etc/solr/ for the system administrator to find.
Also, the upgrade path would still be broken.
I'm now testing the solution to create and remove the symlink in the
package's postinst and postrm scripts. Haven't checked all the corner
cases yet, but at least straightforward concurrent install of tomcat5.5
and solr-tomcat5.5 and update from Lenny seem to work.
More information about the pkg-java-maintainers