[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to treat config file removals on upgrades

On Thu, Feb 13, 2003 at 11:54:51PM +0100, Santiago Garcia Mantinan wrote:
> Hi!
> In versions of bridge-utils since 0.9.2-3 and up to 0.9.6-1 I used to put
> this 3 config files:
> /etc/network/if-pre-up.d/bridge
> /etc/network/if-post-down.d/bridge
> /etc/network/if-up.d/bridge
> But since 0.9.6-2 I just have:
> /etc/network/if-pre-up.d/bridge
> /etc/network/if-post-down.d/bridge
> The thing is that I have realised today that while upgrading the old config
> file that I removed does not get removed and is thus still being run on ifup
> What should I do to solve this on -3 version of the package?

Use the maintainer scripts to check that the package you are upgrading from
(the old-version entry, see 6.4 in debian policy) is one of the ones which
included that file. Check it with [ -f /path/to/file ] and move to a place,
informing the root that you performed such change (just in case the file was
modified by root).


PS: I believe this belongs to debian-mentors.

Jesus Climent | Unix SysAdm | Helsinki, Finland | pumuki.hispalinux.es
GPG: 1024D/86946D69 BB64 2339 1CAA 7064 E429  7E18 66FC 1D7F 8694 6D69
 Registered Linux user #66350 proudly using Debian Sid & Linux 2.4.20

Where are you going, Starfish and Friends?
		--Chad (Charlie's Angels)

Attachment: pgph40xcuKhQW.pgp
Description: PGP signature

Reply to: