Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [Design] Bug: failing makefile target: uninstall

From: Paul Wouters <paul(at)xtdnet.nl>
Date: Mon Feb 24 2003 - 19:21:57 EST


On Mon, 24 Feb 2003, Michael Richardson wrote:

> okay, will this suffice?

Leaving the ipsec.secrets, but removing the ipsec.conf seems a bit odd to me. Those files should only be uninstalled if they had been installed by this version of the software. If they were already there, and not overwritten, they should also not be purged now.

Why not use the scheme that rpm uses? The install target moves or adds (depending on compatibility/security of the differences in configuration) the configuration file. When adding using the .new extension, when overwriting, keeping a copy with an .old extension. A subsequent uninstall can remove the configuration if it has not been changed from the original distribution, or when a .old file appears. In the later case, it can also move that back to the regular name.

I guess all of these schemes at some point break. But I think the best we can do is to try and either keep or remove the entire set of "ipsec.conf/ipsec.d" and "ipsec.secrets".

Paul



Design mailing list
Design@lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/design Received on Mon Feb 24 20:05:43 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:32 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library