TECHNICAL INFORMATION DOCUMENT TITLE: PTF604 - FIPS 151-2 (Posix 2003.1) for UW 1.1 DOCUMENT ID: TID300036 DOCUMENT REVISION: B DATE: 25JAN95 ALERT STATUS: Yellow INFORMATION TYPE: Symptom Solution README FOR: PTF604 PRODUCT and VERSION: UnixWare 1.1 ABSTRACT: The ptf604 file contains PTF604 patch for UnixWare 1.1.1 (UnixWare 1.1 plus the UnixWare Update 1.1.1 package). PTF604 makes UnixWare 1.1.1 FIPS 151-2 (Posix 2003.1) conformant. PTF604 modifies kernel routines that deal with the removal of directories, and adds support for a POSIX locale that is similar to the C locale. This patch requires update 1.1.1 SYMPTOM Prior to this PTF UnixWare v1.1 was not POSIX comformant SOLUTION Apply the ptf604 file. Installation Instructions: DATATYPE: datastream 1. Download the ptf604.Z and ptf604.txt files to the /tmp directory on your machine. 2. Read the release notes contained in this file. 3. Now become root, uncompress the file and add the package to your system using the following commands: $ su # uncompress /tmp/ptf604.Z # pkgadd -d /tmp/ptf604 ptf604 Solution Specifics General Description These release notes acquaint you with the contents of the UnixWare PTF604 patch for UnixWare 1.1.1 (UnixWare 1.1 plus the UnixWare Update 1.1.1 package). PTF604 makes UnixWare 1.1.1 FIPS 151-2 (Posix 2003.1) conformant. PTF604 modifies kernel routines that deal with the removal of directories, and adds support for a POSIX locale that is similar to the C locale. New Features When it fails to remove the current directory of a processs, the rmdir(2) system call will now fail and return the EBUSY error number instead of EINVAL. A new locale, named 'POSIX', is added to the system. This locale is identical to the 'C' locale already present on the system. Software Notes and Recommendations For a system to install PTF604, it must have either the UnixWare 1.1 Application Server (AS) or Personal Edition (PE) installed. The system must also have the UnixWare Update 1.1.1 package installed. Hardware Notes and Recommendations No specific hardware is required for the installation of this PTF. Installation instructions Place the diskette in the drive, and at the shell prompt type: # pkgadd -d diskette1 Or use the desktop installation procedure. After the package has been successfully installed, reboot the machine by executing: # cd / # shutdown -i6 -y -g0 Troubleshooting To verify that the modified kernel drivers are working, do the following: $ cd /var/tmp $ mkdir TEST $ cd TEST $ truss -t rmdir rmdir /var/tmp/TEST rmdir("/var/tmp/TEST") Err#16 EBUSY $ You should see truss(1) reporting that the rmdir() system call returns EBUSY. If you do not have the truss command on your system, compile a C program that executes the rmdir(2) system call and prints out the error number upon failure and run it with the current directory of a process as an argument. To verify that the POSIX locale has been added to the system, run: $ cd /usr/lib/locale $ dircmp C POSIX |pg The dircmp(1) command should output that all the files that have the same name between the two directories, namely: LC_COLATE LC_CTYPE LC_MESSAGES LC_MESSAGES/open_info LC_MONETARY LC_NUMERIC LC_TIME ctype.c are the same.