Re: [Evolution] Evo 0.8 & NFS



On Thu, 11 Jan 2001 16:50:44 James Ogley wrote:
| > Desktop machine is SuSE 7.0, server is SuSE 6.4, news on progress may
| > well follow (if it goes pear-shaped that is)
| 
| 
| Well, same as Don Duck, configure with --enable-file-locking=flock did
| the trick...
| 
| Since most people using Linux in an NFS environment are likely to be NFS
| mounting from a Linux box, might it not make sense to compile with this
| option by default for the RPMs?

No.  flock() doesn't actually lock the file over nfs.  From the man page:

NOTES
       flock(2) does not  lock  files  over  NFS.   Use  fcntl(2)
       instead:  that  does  work  over NFS, given a sufficiently
       recent version of Linux and a server which supports  lock­
       ing.

Isn't the fix to fix your NFS server/client?  Or make the NFS client
mount the server with the mount option '-nolock', which makes fcntl()
calls always succeed, in effect turning it into flock().
 
| -- 
| James Ogley, Network Manager, SuSE Linux Ltd - +44 (0) 20 8 387 4088
| @ Work: ogley suse co uk http://www.suse.co.uk
| @ Home: james rubberturnip org uk http://www.rubberturnip.org.uk
| @ Mobile: riggwelter sms genie co uk
| ICQ: 57374251 Slashdot: riggwelter (84180) asylum-mud.org: Riggwelter
| "I lift up my eyes to the hills, from where does my help come?"
| 
| 
| _______________________________________________
| evolution maillist  -  evolution helixcode com
| http://lists.helixcode.com/mailman/listinfo/evolution
| 

Kind regards,                             
Berend                                  

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berend De Schouwer, +27-11-712-1435, UCS





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