bugWeeChat - Bugs: bug #20913, Problem with flock() when home is...


bug #20913: Problem with flock() when home is on NFS filesystem

Submitted by:  Sebastien Helleu <flashcode>
Submitted on:  Mon 27 Aug 2007 01:06:13 PM UTC  
Category:  other Severity:  3 - Normal
Item Group:  other Status:  Fixed
Privacy:  Public Assigned to:  Sebastien Helleu <flashcode>
Originator Name:  Open/Closed:  Closed
Release:  None IRC nick:  FlashCode

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 27 Aug 2007 01:06:13 PM UTC, original submission:  

When running WeeChat with NFS mounted home, WeeChat always fails with this message :

"WeeChat Error: unable to create/append to log file (weechat.log)
If another WeeChat process is using this file, try to run WeeChat with another home using "--dir" command line option."

As written in flock() manual, this function does not work with NFS filesystem. So WeeChat should check return code of flock() to see if there's a lock on weechat.log or other error, like flock impossible (in this case, we go on without locking file).

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-08-27 flashcode StatusIn Progress => Fixed
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.7