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

 
 

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

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

Add a New Comment Rich Markup
   

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>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-4448.
    Corresponding source code