pkgsrc-Bugs archive

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

Re: pkg/32738: db4 upgrade to 4.4 breaks 4.3-based apps like cyrus-imapd



The following reply was made to PR pkg/32738; it has been noted by GNATS.

From: Andreas_Hallmann <hallmann%ahatec.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/32738: db4 upgrade to 4.4 breaks 4.3-based apps like 
cyrus-imapd
Date: Wed, 14 Jun 2006 15:56:10 +0200

 Some investigate in this anoying issue result in the following:
 
 Default database formats used by cyrus:
 
 config param name      ! format        !
 ------------------------+---------------+-------------
 mboxlist_db:           ! skiplist      !
 quota_db:              ! quoatalegacy  !
 seenstate_db:          ! skiplist      !
 subscription_db:       ! flat          !
 tls_cache_db:          ! berkeley-nosync\ /var/imap/tls_session.db
 annotation_db:         ! skiplist       !
 duplicate_db:          ! berkeley-nosync! /var/imap/deliver.db
 ptscache_db:           ! berkeley      /
 ------------------------+---------------+-------------
 
 The pkg does not change defaults.
 
 Moreover there are berkeley_db's in /var/imap/db and /var/imap/db.backup1 and 
/var/imap/db.backup2.
 
 So the following line will help:
 
 rm /var/imap/tls_session.db 
 rm  /var/imap/deliver.db
 rm  /var/imap/db/*
 rm /var/imap/db.backup1/*
 rm /var/imap/db.backup2/*
 
 nukeing duplicate_db can result in getting a mail twice. Used for duplicate 
elimination.
 nukeing tls_cache_db should result in refetching CERTS. Certs for TLS auth. 
are cached in here. 
 nukeing ptscache_db ??? don't know, not in my installation.
 
 nuked /var/imap/db/* will be reconstructed. On the next start.
 during the next two backups you will be warned about problems in 
/var/imap/db.backup1/* /var/imap/db.backup2/*
 (We know why)
 The all will be back in duty.
 
 P.S.:
 You can convert between db formats using cvt_cyrus_db.
 I.e. cvt_cyrusdb /var/imap/deliver.db berkeley-nosync /tmp/x flat
 will convert deliver.db to a flat format.
 After upgrade you should be able convert it back.
 
 But this should not be worth the efford.
 
 
 -AHA
 -- 
 NetBSD: If you happen to have any problem with your uptime.
 



Home | Main Index | Thread Index | Old Index