bugThe nmh Mail Handling System - Bugs: bug #14977, dot locking model broken

 
 

bug #14977: dot locking model broken

Submitter:  Jeffrey C Honig <jchonig>
Submitted:  Mon 14 Nov 2005 03:31:09 PM UTC
   
 
Category:  compatibility Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 19 Nov 2005 04:26:16 PM UTC, comment #1: 

I've committed the patch that special-cases /dev/null, because that's clearly better than the current state of CVS, and fixes this bug.

Peter Maydell <pm215>
Group administrator
Mon 14 Nov 2005 03:31:09 PM UTC, original submission:  

When running under mh-e, I set the MHCONTEXT environment variable to
/dev/null.  This prevents my mh-e context from confusing my command line
context.

With 1.1 this breaks things.  With the default dot locking, this causes
lkopen_dot() to call lockit() which tries to mkstemp() a file in /dev
which I'm sure fails due to permission problems.  This results in
lkopen_dot() sleeping and looping.

I understand why this was done, but I think that the ability to set the
context to /dev/null is a useful and not unknown feature.  Any ideas on
how we can insure this continues to work?

Jeffrey C Honig <jchonig>
Group Member

 

(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

 

CC list is empty

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-11-19 pm215 StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code