IBM Support

PI73132: OPENING A FILE IN MVFS WITH O_CLOEXEC FAILS WITH AN EINVAL ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Opening a file from a IBM Rational ClearCase dynamic view with
    O_CLOEXEC fails with an EINVAL error on IBM AIX 7.1 TL4 Service
    Pack 2.
    This is caused by the new O_CLOEXEC flag requiring 64-bit open
    flags and returning an EINVAL error for filesystems that do not
    support these flags.
    As MVFS doesn't inform the OS it can support 64-bit open flags
    the EINVAL error is received when opening a file with this flag.
    
    WORKAROUND:
    None.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of ClearCase on AIX 7.1                                *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * On AIX 7.1, using the open() system call with the O_CLOEXEC  *
    * flag to open a file/dir in the ClearCase MVFS returns        *
    * EINVAL.  Applications making this system call will fail.     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • On AIX 7.1 (and later) the O_CLOEXEC flag can now be used to
    open a file/dir in the ClearCase MVFS.  This problem is fixed in
    ClearCase fixpacks 8.0.1.14 and 9.0.0.4.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI73132

  • Reported component name

    CC&CC MSITE WIN

  • Reported component ID

    5724G3300

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-12-02

  • Closed date

    2017-03-16

  • Last modified date

    2017-03-16

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    CC&CC MSITE WIN

  • Fixed component ID

    5724G3300

Applicable component levels

  • R801 PSY

       UP

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSH3S","label":"Rational ClearCase MultiSite"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"801","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
18 October 2021