Re: nfs emacs movemail and flock (was: ... selinux)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel J Walsh <dwalsh@xxxxxxxxxx> writes:
> Jens Petersen wrote:
>>Wolfgang S. Rupprecht wrote:
>>>A bit of gdb-ing after figuring out the SRPM magic, showed a problem
>>>with flock() failing.  Next step - figuring out why a linux client
>>>can't flock a file on an openbsd server.
>>The code is not dramatically different, but you could also try
>>the movemail.c in cvs emacs to see if that should make a difference.
> Are you getting avc messages.  Probably not allowed to lock a file on nfs_t.

Yes, that what it looks like to me too.  Linux flock() is documented
(!!!)  to not work on nfs filesystem type.

I don't see how movemail has much choice in fixing this.  It needs to
use the same type of locking as the server uses or else the two
programs won't see each other's locks.

Are industrial users of linux really not using nfs-ed mail servers?

-wolfgang
-- 
Wolfgang S. Rupprecht                http://www.wsrcc.com/wolfgang/


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux