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

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

History

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.16-2753.
Corresponding source code