[Dovecot] dovecot 2.0rc2 [SERVERBUG] When trying to remove a folder which contains a subfolder
I'm going to risk to report something stupid again and waste resources... but [SERVERBUG] sounds like it should not happen. :)
g create test g OK Create completed. h create test/test2 h OK Create completed. i list "test" "*"
- LIST (\HasChildren) "/" "test"
- LIST (\HasNoChildren) "/" "test/test2" i OK List completed. j delete "test" j NO [SERVERBUG] Internal error occurred. Refer to server log for more information. [2010-07-17 22:57:48]
The log has the following entry: Jul 17 22:57:48 azati dovecot: [ID 583609 mail.error] imap(ski): Error: rmdir(/l/dovecot/ski/dbox/mailboxes/test) failed: File exists
Which is correct $ ls /l/dovecot/ski/dbox/mailboxes/test/ test2
Deleting the mailboxes in sync does work.
k delete "test/test2" k OK Delete completed. l delete "test" l OK Delete completed. m list "test" "*" m OK List completed.
$ dovecot -n # 2.0.rc2: /etc/opt/dovecot/dovecot/dovecot.conf # OS: SunOS 5.10 i86pc zfs first_valid_uid = 100 mail_location = mdbox:/l/dovecot/%u/dbox passdb { driver = pam } protocols = imap service imap-login { inet_listener imap { port = 0 } } service imap { vsz_limit = 1073741824 } ssl = required ssl_cert =
On 17.7.2010, at 22.03, Sven Kirmess wrote:
Jul 17 22:57:48 azati dovecot: [ID 583609 mail.error] imap(ski): Error: rmdir(/l/dovecot/ski/dbox/mailboxes/test) failed: File exists
Probably fixed by: http://hg.dovecot.org/dovecot-2.0/rev/6ebe8d8fd1fd
On Sat, Jul 17, 2010 at 23:07, Timo Sirainen tss@iki.fi wrote:
On 17.7.2010, at 22.03, Sven Kirmess wrote:
Jul 17 22:57:48 azati dovecot: [ID 583609 mail.error] imap(ski): Error: rmdir(/l/dovecot/ski/dbox/mailboxes/test) failed: File exists
Probably fixed by: http://hg.dovecot.org/dovecot-2.0/rev/6ebe8d8fd1fd
Fix confirmed with rc3. Thanks. :)
g create test g OK Create completed. h create test/test2 h OK Create completed. l list "test" "*"
- LIST (\HasChildren) "/" "test"
- LIST (\HasNoChildren) "/" "test/test2" l OK List completed. j delete "test" j NO [ALREADYEXISTS] Mailbox has children, delete them first
participants (2)
-
Sven Kirmess
-
Timo Sirainen