Bug 175550 - cvt_cyrusdb_all misidentifies skiplist files
cvt_cyrusdb_all misidentifies skiplist files
Status: CLOSED DUPLICATE of bug 163527
Product: Fedora
Classification: Fedora
Component: cyrus-imapd (Show other bugs)
3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Petr Rockai
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-12-12 13:16 EST by Neal Groothuis
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-05-12 07:14:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Neal Groothuis 2005-12-12 13:16:13 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

Description of problem:
Cyrus-imapd failed to start on our systems, reporting failure when "preparing databases".  I discovered that the problem was that /usr/lib/cyrus-imapd/cvt_cyrusdb_all misidentified skiplist files.  

Version-Release number of selected component (if applicable):
cyrus-imapd-2.2.12-1.1.fc3

How reproducible:
Always

Steps to Reproduce:
1.  Ensure that your system magic file contains the line:

4       string          skip            Apple QuickTime movie (modified)

2. Try to start cyrus-imapd using the init.d script (altnernatively, try to run /usr/lib/cyrus-imapd/cvt_cyrusdb_all).    

Actual Results:  cvt_cyrusdb_all fails, causing the startup script to fail.

Expected Results:  It should have realized that the "seen" files were skiplist files and moved on.

Additional info:

The fix is easy: change "$system_magic:$cyrus_magic" on line 144 to "$cyrus_magic:$system_magic" so that the cyrus magic file takes precedence and skiplist files are identified correctly.
Comment 1 Petr Rockai 2006-05-12 07:14:31 EDT

*** This bug has been marked as a duplicate of 163527 ***

Note You need to log in before you can comment on or make changes to this bug.