On Wed, Nov 23, 2005 at 10:50:47AM +0100, Willi Mann wrote: > Hi! > > I have no idea how to properly handle the following situation: My > package logwatch previously had all their configuration files in > /etc/logwatch/conf. They were marked as conffiles so dpkg was > responsible for policy-compliant upgrading. > > However, since version 7.0 logwatch has a very cool(TM) way to specify > the configuration. There is a directory default.conf, containing the > proposed upstream configuration, there is an optional dist.conf dir > containing the debian specific modifications (both in > /usr/share/logwatch/), and there is /etc/logwatch/conf, containing > optional site-specific modifications. (the ./conf is there because > upstream allows local scripts to be put in ./scripts ..) > > Now the issue is, that all the old files in /etc/logwatch/conf are no > longer needed, except if it was customized. If it was not customized, > they should be removed, because they will interfere with the > configuration by me and upstream, especially when some changes are needed. > > The question is: How should they be removed? You should look at dpkg.org, where there are some useful conffile examples, and maybe also play with udev, which I think helps to handle this type of situation.
-- Clear skies, Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

