Cyrus 2.1 and 2.2 init scripts

Ross Boylan ross at biostat.ucsf.edu
Mon Oct 16 20:57:16 UTC 2006


On Mon, 2006-10-16 at 17:41 -0300, Henrique de Moraes Holschuh wrote:
> On Mon, 16 Oct 2006, Ross Boylan wrote:
> > Since 2.1 and 2.2 basically do the same thing, invoking cyrmaster, I'm
> > not sure this is a problem, but it looks odd.
> 
> The problem is that the executables are named the same.  We can fix this
> only by adding a sentinel file to *both* packages and testing for that file.
> It must be a non-conffile.
> 
> > Is this behavior intended, have I misunderstood something, or is this
> > worth filing a bug about?
> 
> I'd say it is worth a bug report, yes.  The fix required for both packages
> is trivial.  We can either add a new sentinel file to /usr/lib/cyrus, or we
> can grep for a proper version for PACKAGE_VERSION in
> /usr/lib/cyrus/cyrus-hardwired-config.txt if that file is still there in
> 2.2.

OK.  I'll wait to see if there's any other discussion before filing a
bug.

I'm not sure there's any fix for people like me who have already removed
2.1; obviously I'm not going to get updated files or init scripts for
the 2.1 package.  Maybe a NEWS item would be appropriate?

For now, I stuck exit 0 at the top of init.d/cyrus21

-- 
Ross Boylan                                      wk:  (415) 514-8146
185 Berry St #5700                               ross at biostat.ucsf.edu
Dept of Epidemiology and Biostatistics           fax: (415) 514-8150
University of California, San Francisco
San Francisco, CA 94107-1739                     hm:  (415) 550-1062




More information about the Pkg-Cyrus-imapd-Debian-devel mailing list