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

Re: test -[fxe] in init scripts, removed-but-not-purged

On Fri, Mar 22, 2002 at 08:48:25AM -0800, Sean 'Shaleh' Perry wrote:

> > Do we need a more robust method for ensuring that a package is installed
> > in this situation?
> > 
> > (of course, this wouldn't help dhcp, but in the future...)
> why not use diversions?  When they want to test -3.x they divert to it,
> otherwise it goes to the 2.x package.  Seems simple and obvious.

The 3.x and 2.x packages currently conflict.  I guess we could remove that
conflict, but the init scripts would still be a problem.  We would either
have to not distribute an init script with dhcp3-server (in which case we
could not make changes to the init script for the differing requirements of
3.x) or mess with the old dhcp's rc.d links, which is a no-no.

The client should not be started from an init script at all anymore (it has
been removed in the latest packages, in favor of using ifupdown).  The
server should be started from an init script, but only once, and by the
right version of the init script.

 - mdz

Reply to: