IBM Support

PM42062: cleartool ls spuriously returns Error: Pathname is not within a VOB when resolving symlinks

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • cleartool ls spuriously returns Error: Pathname is not within a
    VOB when resolving symlinks
    
    ClearCase 7.1.2.2
    
    
    Solaris 10
    
    
    To reproduce:
    
    
    1)  Make a VOB and a View
    
    2)  Set to the View and cd into the VOB
    
    3)  Check out the root of the VOB
    
    4)  cleartool ln -s /etc etc
    
    5)  cleartool mkelem -eltype directory dir1
    
    6)  cd dir1
    
    7)  cleartool mkelem foo
    
    8)  cleartool mkelem -eltype directory dir2
    
    9)  cd dir2
    
    10)  cleartool ln -s ../../dir1 dir1
    
    11)  checkin all of the directories and the element foo
    
    12)  cd /
    
    bash-3.00$ cleartool ls /vob/symlink/dir1/dir2/dir1/foo
    /vob/symlink/etc
    /vob/symlink/dir1/foo@@/main/1                        Rule:
    /main/LATEST
    cleartool: Error: Pathname is not within a VOB: '/etc'
    
    However:
    bash-3.00$ cleartool ls /vob/symlink/etc
    /vob/symlink/etc --? /etc
    
    and:
    
    bash-3.00$ cleartool ls /vob/symlink/etc
    /vob/symlink/dir1/dir2/dir1/foobar
    /vob/symlink/etc --? /etc
    /vob/symlink/dir1/foobar@@/main/1                        Rule:
    /main/LATEST
    
    
    Workaround:  Set environment variable
    CCASE_LS_RELATIVE_SYMLINK_PATH to 1
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    cleartool ls spuriously returns Error: Pathname is not
    within a VOB when resolving symlinks
    
    ClearCase 7.1.2.2
    
    
    Solaris 10
    
    
    To reproduce:
    
    
    1)  Make a VOB and a View
    
    2)  Set to the View and cd into the VOB
    
    3)  Check out the root of the VOB
    
    4)  cleartool ln -s /etc etc
    
    5)  cleartool mkelem -eltype directory dir1
    
    6)  cd dir1
    
    7)  cleartool mkelem foo
    
    8)  cleartool mkelem -eltype directory dir2
    
    9)  cd dir2
    
    10)  cleartool ln -s ../../dir1 dir1
    
    11)  checkin all of the directories and the element foo
    
    12)  cd /
    
    bash-3.00$ cleartool ls /vob/symlink/dir1/dir2/dir1/foo
    /vob/symlink/etc
    /vob/symlink/dir1/foo@@/main/1         Rule:
    /main/LATEST
    cleartool: Error: Pathname is not within a VOB: "/etc"
    
    However:
    bash-3.00$ cleartool ls /vob/symlink/etc
    /vob/symlink/etc --? /etc
    
    and:
    
    bash-3.00$ cleartool ls /vob/symlink/etc
    /vob/symlink/dir1/dir2/dir1/foobar
    /vob/symlink/etc --? /etc
    /vob/symlink/dir1/foobar@@/main/1
    Rule: /main/LATEST
    
    
    Workaround:  Set environment variable
    CCASE_LS_RELATIVE_SYMLINK_PATH to 1
    

Problem conclusion

  • A fix is available in ClearCase versions 7.1.1.8, 7.1.2.5
    and 8.0.0.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM42062

  • Reported component name

    CC&CC MSITE UNI

  • Reported component ID

    5724G3301

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-20

  • Closed date

    2011-12-16

  • Last modified date

    2011-12-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 UNI

  • Fixed component ID

    5724G3301

Applicable component levels

  • R710 PSN

       UP

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

Document Information

Modified date:
16 December 2011