Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15138 - cyrus-imapd ebuild error on remerge
Summary: cyrus-imapd ebuild error on remerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-04 18:22 UTC by Anders Bruun Olsen
Modified: 2003-02-05 22:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Bruun Olsen 2003-02-04 18:22:07 UTC
When remerging cyrus-imapd-2.1.11 all empty dirs in /var/spool/imap/* and
/var/imap/* are removed, which causes cyrus to mallfunction!
These dirs should perhaps be cfg protected so users emails aren't deleted by
mistake if cyrus-imapd is unmerged?
Comment 1 Nick Hadaway 2003-02-05 14:51:24 UTC
If only the empty directories are removed, then it shouldn't remove anything harmful right?

Also, if you re-merge while the server is running you WILL have problems...

Please show me some log information if you would for further troubleshooting.
Comment 2 Anders Bruun Olsen 2003-02-05 15:06:53 UTC
The problem is that cyrus expects these empty dirs to be there as it is there it puts it's data. If no dirs are there it won't start correctly. So if you stop the daemon, remerge (or update I expect) you will run into problems with the dirs that have yet to be populated with data.
For me there is not really a problem right now as I just unmerged Cyrus completely and emerged it again (I had not yet set it up completely), but I dread updating after having had it running for a while.
Comment 3 Nick Hadaway 2003-02-05 22:47:06 UTC
cyrus-imapd-2.1.11-r1 is now in portage which keeps the /var/* directories.