Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 164362 - Misleading logfile message on index filesystem full
Misleading logfile message on index filesystem full
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: dovecot (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Michal Hlavinka
Depends On:
  Show dependency treegraph
Reported: 2005-07-27 05:09 EDT by Andrew Meredith
Modified: 2010-03-05 09:38 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-03-05 09:38:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Andrew Meredith 2005-07-27 05:09:40 EDT
Description of problem:

When the filesystem containing the index files fills up, the log message:

Jul 27 09:01:13 chaven imap(meredith): Error rewriting mbox file
/var/spool/mail/meredith: No space left on device
Jul 27 09:01:13 chaven imap(meredith): write() failed with mbox file
/var/spool/mail/meredith: No space left on device

Incorrectly identifies the Inbox filesystem as the culprit.

The FC3 version of Dovecot also implicates locking:

Jul 27 09:01:13 chaven imap(meredith): mbox file /var/spool/mail/meredith was
modified while we had it read-locked, make sure all your software accessing
mboxes uses the same locking methods (fcntl, flock, dotlock)

Version-Release number of selected component (if applicable):


How reproducible:

Every time

Steps to Reproduce:
1. Set dovecot up with the mailbox filesystem on one filesystem and the index
files on another
2. Fill up the index filesystem
3. Try and read your mail
4. Check /var/log/maillog

Actual results:

The log entries seen above

Expected results:

Log entries referencing the filled filesystem.

Additional info:
Comment 1 Dan Horák 2008-06-12 04:29:53 EDT
I have probably identified the change between 0.99.11 and 0.99.13 that makes the
difference in the logs and will be testing it now.

Precise steps to reproduce the faulty behavior:
 S enable pop3 and set "default_mail_env =
mbox:~/mail/:INBOX=/var/mail/%u:INDEX=/var/indexes/%u" in the dovecot.conf
 S mount /second/device /var/indexes
 S service dovecot start
 C telnet localhost 110; USER foo, PASS bar, LIST, QUIT (it creates initial
structures under /var/indexes/dan/.imap/INBOX)
 S dd if=/dev/zero of=/var/indexes/big_file
 S/C mail foo
 C telnet localhost 110; USER foo, PASS bar => ERR no inbox + messages on the server
Comment 2 Dan Horák 2008-06-12 05:55:22 EDT
I can't get the messages you were seeing on FC-3, but the main issue is
Comment 3 Michal Hlavinka 2010-03-05 09:38:05 EST
I'm sorry for not addressing the issue in RHEL-4. As dovecot
is not scheduled for update in RHEL-4.9, I'm closing that bugzilla WONTFIX. If
you are still experiencing the issue with RHEL-5, feel free to reopen it
against RHEL-5.

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