Bug 55981 - NFS mailboxes won't unlock in imapd
NFS mailboxes won't unlock in imapd
Status: CLOSED ERRATA
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
7.1
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-11-09 15:35 EST by John Dalbec
Modified: 2007-04-18 12:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-11-09 17:06:29 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Dalbec 2001-11-09 15:35:28 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.9-6 i686)

Description of problem:
After imapd reads an NFS-mounted mailbox, it hangs trying to release the
fcntl() lock on it.  An strace -p shows data being read from the mailbox
and then the fcntl() call never returns.  A kill -9 is needed to terminate
the daemon, which then leaves .lock files behind.  The process is listed as
sleeping in ps.  At least it's not a 'D' wait!

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


How reproducible:
Always

Steps to Reproduce:
1. Mount IMAP mailbox over NFS.
2. Try to read messages.
3.
	

Actual Results:  IMAP server hangs trying to unlock mailbox.  Client
eventually times out but server processes hang around until killed -9.

Expected Results:  The lock should have been released.

Additional info:

NFS mounted filesystems here are ReiserFS, not sure what happens with
ext2/3.  Chris Mason of SuSE thinks it's not ReiserFS-specific.
Comment 1 John Dalbec 2001-11-09 15:58:46 EST
OK, I've reproduced this with the standalone flock.c from the IMAP source.  I've
also reproduced it with an NFS mount of an ext2 filesystem.  Kernel 2.4.9-6
i686-enterprise.
Comment 2 Arjan van de Ven 2001-11-09 17:06:24 EST
We've released an update for this several days ago; 2.4.9-12 has, appart from
the security fixes, also the NFS locking bug fixed. I recommend giving that a try.

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