BU040223_EW02
HP Tru64 UNIX - file region locks (set via fcntl or flock) can be inadvertently released as a result of AIO processing

»

HP Tru64 UNIX

Tru64 UNIX

» Tru64 UNIX V5.1B-6
» Tru64 UNIX V5.1B-5
» Documentation
» Information library
» Software web index
» Software products library
» Patch database
» Services
» Developer & Solution Partner Program
» Send us your comments
» Support Statements

Evolving business value

» Tru64 UNIX to HP-UX 11i transition benefits calculator
» Alpha RetainTrust Program
» Transition

Related links

» Alpha systems
» HP-UX 11i
» Integrity servers
» Linux
» HP storage
» HP solutions
HP-UX 11i: measurably better TCO!
 Advisory Information
 

RELEASE DATE: 02 March 2004; updated 28-Sep-04 and 18 May 2005
(Rev. 3)

DESCRIPTION

Update of 18 MAY 2005

This Engineering Advisory (EA) is being revised to advise the reader that the V5.1A PK6 and V5.1B-1/PK3 Early Release Patches (ERPs) referenced in the earlier versions of this EA are superseded by newer ERPs identified in EA BU050110_EW02. The newer ERPs are referenced in this revision.

Applications that have code segments similar to the following example may experience the unintended release of the file lock.  A sample scenario:

  1. open file
  2. take file region lock
  3. initiate AIO
  4. release file region lock
  5. close file
  6. open same file
  7. take file region lock

Should the AIO operation complete after the subsequent close, then it would perform the final unref against the target file. Should the AIO operation complete after the subsequent re-open of that same file, then that final unref would also release any file region locks held by that process on that file. If the AIO completed after the final step of taking a file region lock, then that lock would be mistakenly released.

 

SCOPE

The following supported versions of Tru64 UNIX are affected:

  • HP Tru64 UNIX V5.1B-1/PK3
  • HP Tru64 UNIX V5.1A PK6
 

RESOLUTION
HP is releasing the following Early Release Patch kits (ERPs) publicly for use by any customer. The ERP kits use dupatch to install and will not install over any Customer Specific Patches (CSPs) that have file intersections with the ERP.

The fix contained in the ERP kits is available in the following mainstream release:

  • HP Tru64 UNIX V5.1B-2/PK4, which is already shipping 

Early Release Patch Kits

ERP kits are available for the following versions. The kits distribute the following file:
     ./sys/BINARY/std_kern.mod

HP Tru64 UNIX 5.1B
Prerequsite: HP Tru64 UNIX 5.1B-1/PK3
ERP Kit Name: T64KIT0025068-V51BB24-ES-20050303
ITRC Patch Page: http://www.itrc.hp.com/service/patch/mainPage.do
Kit Location:
http://www.itrc.hp.com/service/patch/patchDetail.do?patchid=T64KIT0025068-V51BB24-ES-20050303

HP Tru64 UNIX 5.1A
Prerequsite: HP Tru64 UNIX 5.1A PK6
ERP Kit Name: T64KIT0025017-V51AB24-ES-20050225
ITRC Patch Page: http://www.itrc.hp.com/service/patch/mainPage.do
Kit Location:
http://www.itrc.hp.com/service/patch/patchDetail.do?patchid=T64KIT0025017-V51AB24-ES-20050225