Ghost folders & imapd segfaults

Jukka Huhta jukka.huhta at helsinki.fi
Fri Jan 22 08:58:13 EST 2010


On Wed, 20 Jan 2010, Andrew Morgan wrote:

> I've seen this segfault happen to me in a similar situation where
> the mailbox was listed as created on the frontend.

Okay, this segfault seems to be caused by a missing authentication
mechanism the imapd is assuming to find -- it thinks it's connecting
to a backend.  But we don't support digest-md5 on frontends.

The imapd dies after passing xstrdup() a NULL pointer.  And the fix
(to the segfault, not to my issue) seems to be dead simple.  Attached.

> I think the question here is - does Cyrus allow a non-admin to create a new
> folder on whatever backend they want?  Only admins should be allowed to
> specify a partition.

Yes, and the question seems to remain unanswered.  Unfortunately I
still don't know how the folder got created.

> > (I must admit that cyradm is connecting to another frontend than p01
> > because I currently can't login to that one as admin without a
> > service break (don't ask).)
>
> I'm pretty sure you can only fix this by issuing "dm <folder>" on p01.

Me too -- I'm just waiting to the next service break to try it.

-- 
Jukka Huhta
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyrus-imapd-2.3.15-mechlist_verify.patch
Type: text/x-diff
Size: 565 bytes
Desc: 
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20100122/a1a234f9/attachment.bin 


More information about the Info-cyrus mailing list