Patch Name: PHSS_1429 Patch Description: Fixes for NetLS 2.01.08. NetLS error text This patch includes a new version of stcode.db, which contains the NetLS and NCS error codes. This allows error text to be displayed, when an error occurs. In NetLS version 2.01, the stcode.db file did not contain the NetLS and NCS error codes. Therefore, when a NetLS error occurred, a numeric error code (with no associated text) was displayed to the user. Startup of the LSSERVER daemon (netlsd) This patch fixes bugs that prevented the netlsd daemon from starting in certain situations. In this patch, the LSSERVER installation process has been fixed to include creation of the /usr/netls directory. (The netlsd requires this directory in order to run.) In version 2.01, the LSLOCK installation process created the /usr/netls directory, but the LSSERVER installation process did not. Therefore, netlsd could not run in environments that did not have LSLOCK. In addition, this patch contains a change to the netlsd startup process. Now, the startup process tests for the existence of an active llbd daemon. (The netlsd daemon requires the llbd daemon in order to run.) In version 2.01, the netlsd startup checked for the existence of the file llbdbase.dat, instead of checking for the actual llbd process. This caused the netlsd startup to fail at times when it should have succeeded. Size of the current license database file (cur_db) This patch contains a fix that reduces the size the license database file (/usr/netls/cur_db). This patch contains a new algorithm for calculating the space needed for the cur_db file and for storing information within the file. In version 2.01, the size of the cur_db file was too large. Changes to ls_targetid This patch includes a new version of the ls_targetid utility. This version changes the way output is displayed and also contains the following bug fixes: o Permissions for the /dev/ls_targetid file have been changed to allow access by everyone o The ls_targetid utility can now derive target ids for HP 9000 832 computers. The new ls_targetid output displays the node's target ID, now called a permanent target ID, in the following way: Permanent Target ID: (target id displayed here) The Permanent Target ID is derived from a permanent hardware source on the system from which the ls_targetid program is executed. Current sources for a permanent target id are: - SPU ID number - LAN link level address (LLA) If a system has an external, removable hardware device such as an HP HIL (pod) device, the ls_targetid output displays the machine's permanent target ID, plus a second ID, called a portable target ID. The portable ID is derived from the external device. On these systems, you can use either the permanent or portable target ID for license generation, depending on your usage needs and your product's sales agreement. In most cases, the permanent target ID is the correct ID to use for generating a license. However, you can use the portable target ID to generate a password for a nodelocked license that can be transferred to a different machine by moving the external device. The ls_targetid command also has the following new options: -h or -usage Gives usage information -q Runs in quiet mode and omits the Permanent/Portable headings -v Runs in verbose mode and displays descriptive information about permanent and portable target IDs, in addition to displaying the IDs Installation of expired compound passwords The ls_admin utility no longer allows expired compound passwords to be installed. Corruption of cur_db when adding a new license This patch contains a fix that allows you to add a license while a license is checked out, without corrupting the current license database file (/usr/netls/cur_db). If you added a license under these conditions in version 2.01, the cur_db file became corrupted and grew without bounds. Path Name: /hp-ux_patches/s700/8.X/PHSS_1429 Effective Date: 9208175 Patch Files: lsadmin.hlp lsstat.hlp ls_admin ls_rpt ls_stat netlsd ls_tv ls_targetid netlsrc XLs_Admin XLs_Stat stcode.db ls_admin.1m ls_stat.1m ls_rpt.1m ls_stat.1m ls_tv.1m netlsd.1m SR#: 5003036665 "what" string/timestamp: $Revision: 2.01.08 $ "sum" output: 7497 12 lsadmin.hlp 52684 2 lsstat.hlp 59275 728 ls_admin 58923 416 ls_rpt 32443 768 ls_stat 56401 1200 netlsd 25236 536 ls_tv 51484 44 ls_targetid 22662 5 netlsrc 64831 2 XLs_Admin 61533 2 XLs_Stat 46117 27 stcode.db 35701 11 ls_admin.1m 29794 7 ls_stat.1m 10092 4 ls_rpt.1m 29794 7 ls_stat.1m 2580 3 ls_tv.1m 34399 3 netlsd.1m 45164 4 ls_targetid.1m Dependencies: none. Supersedes: None. Patch Package Size: 1977 Kbytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. Note: Please back up your system before you patch. --------------------------------------------------------------------------- After getting the patch onto your machine, unshar the patch (sh PHSS_1429). To install this patch do the following: 1) Run the update program (Note: you must be logged in as root to update a system). 2) Once in the update "Main Menu" move the highlighted line to "Change Source or Destination ->" and press "Return" or "Select Item". 3) Make sure the highlighted item in the "Change Source or Destination" window is "From Tape Device to Local System ...", then press "Return" or "Select Item". 4) You should now be in the "From Tape Device to Local System" window. Change the "Source: /dev/rmt/0m" to "Source: /tmp/PHSS_1429.updt" (this assumes that you are in the /tmp directory where PHSS_1429.updt has been placed). Note: You must enter the complete path name. 5) Press "Done". 6) From here on follow the standard directions for update. The customized script that update runs will move the original software to /system/PHSS_1429/orig. HP recommends keeping this software there in order to recover from any potential problems. It is also recommended that you move the PHSS_1429.text file to /system/PHSS_1429 to be retained for future reference. If you wish to put this patch on a magnetic tape and update from the tape drive, dd a copy of the patch to the tape drive. As an example the following will create a copy of the patch that update can read: dd if=PHSS_1429.updt of=/dev/rmt/0m bs=2048