TECHNICAL INFORMATION DOCUMENT TITLE: PTF2019 - pkgproto fix for soft links DOCUMENT ID: TID300207 DOCUMENT REVISION: B DATE: 11MAY95 ALERT STATUS: Yellow INFORMATION TYPE: Symptom Solution README FOR: tf2019 PRODUCT and VERSION: UnixWare 2.0 ABSTRACT: The function averify was using lstat for symbolic liks and stat for other files to get the status. While porting to 2.0, code was changed to use stat alone for all thfiles including symbolic link files. This causes the problem for symbolic links. SYMPTOM pkgproto on 2.0 systems produces the following error where x is a symbolic link to y: UX:pkgproto: WARNING: x pathname not symbolically linked to <> SOLUTION Apply the tf2019 file. Installation Instructions: DATATYPE: datastream 1. Download the tf2019.Z and tf2019.txt files to the /tmp directory on your machine. 2. Read the release notes contained in this file and follow the instuctions to add the packages to your system. 3. Now become root, uncompress the file and add the package to your system using the following commands: $ su # uncompress /tmp/tf2019.Z # pkgadd -d /tmp/tf2019 Solution Specifics Title ----- PTF2019 - Fix to pkgproto utility to work properly with symbolic links Product And Version ------------------- UnixWare 2.01 Symptom -------- pkgproto on 2.0 systems produces the following error where x is a symbolic link to y: UX:pkgproto: WARNING: x pathname not symbolically linked to <> General Description. ------------------- The function averify was using lstat for symbolic liks and stat for other files to get the status. While porting to 2.0, code was changed to use stat alone for all the files including symbolic link files. This causes the problem for symbolic links. Now the code is changed so that it uses lstat for symbolic link files. Software Notes and Recommendations. ---------------------------------- This ptf is meant for UnixWare2.01. Testing of the modified software contained in this package has been conducted only to the extent necessary to confirm that it resolves the problem(s) stated above ("Symptom"). Such testing consists of recreating the problem conditions and verifying that the problem no longer occurs. No other testing of this software has been done. Hardware Notes and Recommendations. ---------------------------------- This PTF is targeted for the i386, i486 and Pentium CPU's.