Patch Name: PHNE_16947 Patch Description: s700_800 10.26 multiple NIS fixes Creation Date: 98/12/04 Post Date: 98/12/20 Hardware Platforms - OS Releases: s700: 10.26 s800: 10.26 Products: N/A Filesets: BLS.BLS-CORE NFS.NIS-CLIENT Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHNE_16947 Symptoms: PHNE_16947: 1. Upon bootup, NIS client takes about 2 minutes to initialize. 2. ypbind not stopped when /sbin/init.d/nis.client stop issued. 3. WAIT_FOR_NIS_SERVER parameter does not function. 4. NIS prpasswd map not updated when yppasswd(1) is invoked. 5. "Update NIS Map" program does not display error messages. 6. ypbind(1) reports that it is bound when it is not. Defect Description: PHNE_16947: 1. ypwhich(1) did not all effective privileges, so at boot it was running with allownetaccess,etc. 2. ypbind was removed to fix another problem, but a better fix for that problem came. 3. Same as 1. 4. Order of arguments to yppasswdd in /sbin/init.d/ nis.server. 5. Standard error was not be caputured. 6. Same as 1. Resolution: 1. Drop all authorizations in ypwhich(1) 2. Add ypbind to list of processes to kill 3. see 1. 4. Changed order of arguements to yppasswdd 5. Updated program to catch error 6. see 1. SR: 0000000000 Patch Files: /sbin/init.d/nis.client.script /usr/bin/X11/XNISUpdate /usr/bin/ypwhich what(1) Output: /sbin/init.d/nis.client.script: $Revision: 1.13 services/NFS/scripts/nis.client.scri pt, hpux, hpux_10.26, ic5aj $ $Date: 98/12/1 6 15:16:38 $ Hewlett Packard Co. 98/12/17 services/NFS/scripts/nis.client.script, hpu x, hpux_10.26, ic5aj Revision 1.13 PATCH_10. 26 (PHNE_16947) /usr/bin/X11/XNISUpdate: $Revision: Hewlett-Packard 10.26 TOS Level ic5aj Bas e DAV17$$Date: Thu Dec 17 16:39:41 PST 1998$ seccmd/screens/xif/xnis/XGenMaps.c, hpux, hpux_10.26 , ic5aj $Date: 98/12/17 16:25:27 $ $Revision : 1.3 PATCH_10.26 (PHNE_16947) $ seccmd/screens/xif/xnis/XGenMapsPush.c, hpux, hpux_1 0.26, ic5aj $Date: 98/12/17 16:25:27 $ $Revi sion: 1.3 PATCH_10.26 (PHNE_16947) $ seccmd/screens/common/AuthUtils.c, hpux, hpux_10.26, ic5aj $Date: 98/12/17 16:09:05 $ $Revision: 1.19 PATCH_10.26 (PHNE_16979) $ /usr/bin/ypwhich: services/NFS/cmds/usr.bin/ypwhich.c, hpux, hpux_10.2 6, ic5aj $Date: 98/12/17 16:25:36 $ $Revisio n: 1.2 PATCH_10.26 (PHNE_16947) $ ypwhich: $Revision: 1.37.114.1 $ $Date: 95/10 /02 18:18:11 $ $Revision: Hewlett-Packard 10.26 TOS Level ic5aj Bas e DAV17$$Date: Thu Dec 17 16:39:41 PST 1998$ cksum(1) Output: 3266343288 8445 /sbin/init.d/nis.client.script 2853133984 720896 /usr/bin/X11/XNISUpdate 1870825052 20480 /usr/bin/ypwhich Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 790 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 PHNE_16947 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_16947.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHNE_16947.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_16947. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHNE_16947.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_16947.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None