Patch Name: PHSS_16349 Patch Description: s700_800 10.20 X11R6 Font Server Sep98 Cumulative Patch Creation Date: 98/09/02 Post Date: 98/09/03 Warning: 98/09/11 - This Non-Critical Warning has been issued by HP. - Patch PHSS_16349 supplies a version of the /etc/X11/fs/config file that introduces problems with MPower Fax. In addition, any local customizations made to this configuration file will be overwritten when the patch is installed. - It is recommended that PHSS_16349 be removed to avoid potential problems. If the changes implemented in PHSS_16349 are required, the following workaround can be used to restore the /etc/X11/fs/config file that was replaced by the patch: cp -p /var/adm/sw/patch/PHSS_16349/etc/X11/fs/config \ /etc/X11/fs/config - Until a replacement patch is available, superseded patch PHSS_15423 will be re-released. Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: X11.X11-FONTSRV Automatic Reboot?: No Status: General Superseded With Warnings Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_16349 Symptoms: PHSS_16349: Fixes the defect in PHSS_15423. The environment variable CONFIG_FILE_NAME is initialised in the file '/sbin/init.d/xfs'. PHSS_15423: Potential buffer overflow in /usr/bin/stmkfont. Man page for xfs does not say where the config file resides. Configure fontserver and the config file have to be edited to add CDE font path. When shutting down the system or going to single-user mode, the Font Server fails to shutdown. The stop font server script fails on shutdowns on my system. To specify xfs config file in /etc/rc.config.d/xfs. xfs failed when serving many clients (more than 1000). Core dump in alternate-server configuration. PHSS_15054: xfs does not support more than 256 clients. PHSS_14829: Core dump in alternate-server configuration. xfs (font server) failure when serving many clients (more than 1000). PHSS_11273: The xfs init.d script fails at shutdown. The fstobdf program fails with Japanese fonts. PHSS_10907: The font server dies when 33rd client connects. The font server can't handle more than 15 clients; should clone itself. PHSS_10403: The font server can't handle more than 15 clients; should clone itself. Defect Description: PHSS_16349: Fixes the defect in PHSS_15423. The environment variable CONFIG_FILE_NAME is initialised in the file '/sbin/init.d/xfs'. PHSS_15423: Potential buffer overflow in /usr/bin/stmkfont. Man page for xfs does not say where the config file resides. Font server catalog: add font path "/usr/dt/config/xfonts/C" to default. /sbin/int.d/xfs stop failed to kill the font server process. xfs script shutdown problem. Would like ability to specify xfs config file in /etc/rc.config.d/xfs. xfs (font server) failed when serving many clients (more than 1000). An access to a pointer was being tried while it was already freed. PHSS_15054: The limit on maximum number of clients was insufficient. PHSS_14829: An access to a pointer was being tried while it was already freed. The limit on maximum number of clients was insufficient. PHSS_11273: The xfs init.d script tries to kill the font server at shutdown, but also kills itself. The fstobdf program will dump core when trying to build a bdf for a Japanese font. The problem occurs because it references the charinfo data improperly. It does not sequence through the rows and columns, but assumes it is a large flat space, which it is not. PHSS_10907: An error in the font server code caused the font server to go into an infinite loop when the 33rd client connected, overwriting memory until a core dump occurred. PHSS_10403: After a specific number of connections (setable using the client-limit configuration parameter) the font server spawns off a new process which will listen on the socket for new connections. The old process will service the connections it has until they are all closed and then die. In going from R5 to R6 the X Consortium changed the default port number from 7000 to 7100. HP continued to use 7000 as the port number set when starting the process at boot time, since to change this would force customers to change the font paths of the font clients. Consequently, HP's R6 font server is not run at the default port number and this causes the problem to be seen. HP's font server is an R6 font server on systems beginning with 10.10. SR: 5003399055 5003400747 5003408583 5003413856 5003416370 5003414862 1653170092 1653213223 Patch Files: /usr/bin/X11/xfs /usr/bin/X11/fstobdf /sbin/init.d/xfs /usr/bin/stmkfont /usr/share/man/man1.Z/xfs.1 /usr/newconfig/etc/rc.config.d/xfs /etc/X11/fs/config what(1) Output: /usr/bin/X11/xfs: xfs: $Revision: 1.1 $ X Window System, Version 11 R6+ HP-UX B.10.20.00 May 1998 Patch Release (build date: Tue Jun 23 08:52:33 MDT 1998) /usr/bin/X11/fstobdf: X Window System, Version 11 R6+ HP-UX B.10.20.00 Jul y 1997 Patch Release (build date: Thu Jun 26 16:59:43 PDT 1997) /usr/bin/stmkfont: X Window System, Version 11 R6+ HP-UX B.10.20.00 May 1998 Patch Release (build date: Tue Jun 23 09:30:08 MDT 1998) /usr/share/man/man1.Z/xfs.1: None /usr/newconfig/etc/rc.config.d/xfs: None /sbin/init.d/xfs: None /etc/X11/fs/config: None cksum(1) Output: 152259056 147456 /usr/bin/X11/xfs 1355803268 61440 /usr/bin/X11/fstobdf 106628323 278528 /usr/bin/stmkfont 92535921 4496 /usr/share/man/man1.Z/xfs.1 1396697450 206 /usr/newconfig/etc/rc.config.d/xfs 299241108 1107 /sbin/init.d/xfs 4088557852 999 /etc/X11/fs/config Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_10403 PHSS_10907 PHSS_11273 PHSS_14829 PHSS_15054 PHSS_15423 Equivalent Patches: None Patch Package Size: 550 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 PHSS_16349 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_16349.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/PHSS_16349.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/PHSS_16349. 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 PHSS_16349.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/PHSS_16349.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: The /usr/newconfig/etc/rc.config.d/xfs needs to be merged with /etc/rc.config.d/xfs as there has been changes in /usr/newconfig/etc/rc.config.d/xfs.