IBM Support

PM77345: CHECKOUT FAILS WHEN VIEW-EXTENDED PATH EXCEEDS 255 CHARACTERS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • On UNIX and Linux, most client actions in an IBM Rational
    ClearCase view are limited by the filename and pathname lengths
    allowed by the host operating system and filesystem format.
    Another limitation is the total of 1024 characters in a
    version-extended path, as described in technote 1150854
    (http://www-01.ibm.com/support/docview.wss?uid=swg21150854 About
    the maximum character length of a version extended path).
    
    When the view storage path on UNIX or Linux approaches 255
    characters, the view/VOB extended path may cause problems with
    element operations such as checkout.
    
    [user@cchost1 ~]# cleartool mkview -tag abc
    /tmp/abcdefghijklmnopqrstuvwxyz/abcdefghijklmnopqrstuvwxyz/abcde
    fghijklmnopqrstuvwxyz/abcdefghijklmnopqrstuvwxyz/abcdefghijklmno
    pqrstuvwxyz/abcdefghijklmnopqrstuvwxyz/abcdefghijklmnopqrstuvwxy
    z/abcdefghijklmnopqrstuvwxyz/abcdefghijklmnopqrstuvwxyz/abc.vws
    (247 chars)
    
    [user@cchost1 ~]# cleartool mount /vobs/vob1
    [user@cchost1 ~]# cd /vobs/vob1/a
    [user@cchost1 a]# cleartool setview abc
    
    [user@cchost1 a]# cleartool checkout -nc .
    cleartool: Error: Unable to determine absolute pathname for '.'
    - Device not a stream
    cleartool: Warning: Checked-out version is not selected by view.
    Checked out '.' from version '/main/4'.
    
    The following errors will be logged on the view server:
    
    VIEW LOG:
    See vobrpc_server_log on host cchost1
    2012-11-09T17:17:04-05:00 view_server(11928): Error: Unexpected
    error in VOB 'cchost1:/vobstore/vob1.vbs' op
    vob_obj_get_view_info(0x30):File name too long
    
    VOBRPC LOG:
    2012-11-09T17:17:04-05:00 vobrpc_server(11938): Error: INTERNAL
    ERROR detected and logged in
    '/var/adm/rational/clearcase/log/error_log'.
    
    ERROR LOG:
    vobrpc_server(11938): Ok: Internal Error detected in
    '/vobs/atria/lib/vob/ob.c' line 161
    vobrpc_server(11938): Error: String buffer too small.
    
    Steps to reproduce:
    1. Create a view with a path so long that adding the path to the
    element in the VOB will exceed 255 characters
    2. Check out the element
    
    Workaround: Shorten the path to view storage as needed.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the view storage path on a ClearCase Unix or Linux
    system approached 255 characters in total length, some
    operations such as checkout could fail, even though the
    user-visible view tag and VOB tag are short enough for fully
    qualified pathnames to be within supported limits.
    

Problem conclusion

  • This problem is fixed in ClearCase 8.0.0.9 and 8.0.1.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM77345

  • Reported component name

    CLEARCASE UNIX

  • Reported component ID

    5724G2901

  • Reported release

    712

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-19

  • Closed date

    2013-12-13

  • Last modified date

    2013-12-13

  • 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

  • R712 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.1.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
13 December 2013