IBM Support

PM50079: UNIX FIND AND DF FAIL GETCWD() WHEN USING LIBATRIAGETCWD_INTERPO SER.SO TO ADDRESS FILESYSTEM LIMITATIONS ON SOLARIS 10

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • UNIX find and df fail getcwd() when using
    libatriagetcwd_interposer.so to address filesystem limitations
    on Solaris 10
    
    
    ClearCase 7.1.2.3 or 7.1.2.4
    
    
    Solaris 10
    
    
    To reproduce:
    
    
    1)  Export the following environment variables:
           export
    LD_PRELOAD_64=/usr/atria/shlib/sparcv9/libatriagetcwd_interposer
    .so
           export
    LD_PRELOAD_32=/usr/atria/shlib/libatriagetcwd_interposer.so
    
    
    2)  Try and issue a ?find ../?  or  ?df -h .? while:
       a)  Set to a view or ?setview -exec?
       b)  Within an NFS mount point
       c)  NFS mount has many symlinks to many other directories
    within the same export
       d)  lofs filesystem is in use (non-global zone)
    
    A truss of the command shows the following:
    
    24584:  0.2398  0.2098 getcwd(0x00029478, 1024)   Err#13 EACCES
    [file_dac_search]
    24584:  0.2406  0.0008 stat64('.', 0xFFBFE3B8)    = 0
    24584:     d=0x05C40D60 i=26683539 m=0042776 l=6  u=7777 g=9999
    sz=4096
    24584:  at = Sep 26 13:41:32 CEST 2011  [ 1317037292 ]
    24584:  mt = Sep 26 14:24:02 CEST 2011  [ 1317039842 ]
    24584:  ct = Sep 26 14:24:02 CEST 2011  [ 1317039842 ]
    24584:     bsz=8192  blks=8     fs=nfs
    .
    .
    24584:  0.4979  0.2252 getcwd(0x0003B830, 1025)   Err#13 EACCES
    [file_dac_search]
    24584:  0.4983  0.0004 fstat64(2, 0xFFBFDD78)    = 0
    24584:     d=0x05D00003 i=266427 m=0020620 l=1  u=8888 g=6666
     rdev=0x0060016B
    24584:  at = Sep 26 14:24:15 CEST 2011  [ 1317039855 ]
    24584:  mt = Sep 26 14:24:15 CEST 2011  [ 1317039855 ]
    24584:  ct = Sep 26 13:37:47 CEST 2011  [ 1317037067 ]
    24584:     bsz=8192  blks=1     fs=lofs
    
    
    3)  Unsetting the environment variables above produces the
    'cannot determine the current working directory' error
    
    
    Workaround:  None
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using the shared library libatriagetcwd_interposer.so
    on Solaaris 10 as documented in Technote 1501830, some
    instances of the find and df commands would fail.
    

Problem conclusion

  • A patch to the Solaris operating system is now available
    which eliminates the need for the libatriagetcwd_interposer
    library.? This patch is 147440-24 for SPARC systems, or
    147441-24 for x86 systems.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM50079

  • Reported component name

    CLEARCASE UNIX

  • Reported component ID

    5724G2901

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-10-14

  • Closed date

    2012-11-16

  • Last modified date

    2012-11-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

    CLEARCASE UNIX

  • Fixed component ID

    5724G2901

Applicable component levels

  • R701 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.1","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
16 November 2012