Bug 175550

Summary: cvt_cyrusdb_all misidentifies skiplist files
Product: [Fedora] Fedora Reporter: Neal Groothuis <ngroot>
Component: cyrus-imapdAssignee: Petr Rockai <prockai>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-12 11:14:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Neal Groothuis 2005-12-12 18:16:13 UTC
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 11:14:31 UTC

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