Patch Name: PHCO_13719 Patch Description: s700_800 11.00 comsec (ttsyncd) patch Creation Date: 98/01/07 Post Date: 98/01/23 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: SecurityMon.SECURITY,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_13719 Symptoms: PHCO_13719: The /sbin/init.d/comsec script does not correctly start ttsyncd when both /usr/sbin/rpc.nisd and /usr/sbin/rpc.nisd_resolv are running. If both daemons are running the ttsyncd daemon will not be launched and the NIS+ trusted tables will either not be initially created or not be kept in sync with the passwd table. Defect Description: PHCO_13719: The /sbin/init.d/comsec script contains a function called findproc() to determine if the rpc.nisd daemon is running. This function does not gracefully handle the case where multiple daemons match the search criteria. For example, on this system both rpc.nisd and rpc.nisd_resolv are running: # ps -e | grep rpc.nisd 788 ? 0:00 rpc.nisd_resolv 779 ? 0:00 rpc.nisd When comsec script is used to start the ttsyncd here is what happens: # /sbin/init.d/comsec start starting the Trusted Table Sync Daemon (ttsyncd) /sbin/init.d/comsec.orig[95]: 788^J779: Syntax error rpc.nisd not running SR: 5003396549 Patch Files: SecurityMon.SECURITY,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /sbin/init.d/comsec /sbin/rc1.d/K560comsec /sbin/rc2.d/S440comsec what(1) Output: SecurityMon.SECURITY,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /sbin/init.d/comsec: None SecurityMon.SECURITY,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /sbin/rc1.d/K560comsec: None SecurityMon.SECURITY,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /sbin/rc2.d/S440comsec: None cksum(1) Output: SecurityMon.SECURITY,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 4258047522 3717 /sbin/init.d/comsec SecurityMon.SECURITY,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 4258047522 3717 /sbin/rc1.d/K560comsec SecurityMon.SECURITY,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 4258047522 3717 /sbin/rc2.d/S440comsec Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHCO_13807: s700: 10.30 s800: 10.30 Patch Package Size: 20 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. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHCO_13719 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_13719.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_13719. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHCO_13719.depot WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHCO_13719.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_13719.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_13719.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None