Patch Name: PHCO_25065 Patch Description: s700_800 11.04 (VVOS) cumulative patch for /sbin/init Creation Date: 01/10/08 Post Date: 01/11/05 Hardware Platforms - OS Releases: s700: 11.04 s800: 11.04 Products: N/A Filesets: OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No (superseded patches were critical) PHCO_18674: HANG Based on HP-UX Patch PHCO_14105: OTHER Previous patch was critical. Based on HP-UX Patch PHCO_13213: OTHER booting to single_user mode causes init to hang, resulting in unusable system. It was a critical defect. Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHCO_25065 Symptoms: PHCO_25065: Ported HP-UX patch PHCO_22664 to VVOS Based on HP-UX patch PHCO_22664: 1. Boot records are not getting added if /var is a mounted filesystem. 2. Console hangs in single-user mode. 3. init(1m) should execle non-login shell to prevent problems with profiles. 4. init(1m) writes error message into utmpx file, preventing further logins PHCO_18674: Ported HP-UX patch PHCO_14105 to VVOS Based on HP-UX patch PHCO_14105: 1. Missing "critical" tag in the Category Tags field of the previous patch PHCO_13213. Based on HP-UX patch PHCO_13213: 1. If shared library is missing or /etc/pam.conf wrong, booting system into single user will cause /sbin/init to go into infinite loop. Defect Description: PHCO_25065: Ported HP-UX patch PHCO_22664 to VVOS Based on HP-UX patch PHCO_22664: 1. init is not able to add boot records to /var/adm/wtmp when /var is a mounted file system which will not be available initially during boot time. Resolution: Now init(1m) forks a child which checks every 20 seconds that /var is available(mounted) or not. Whenever it is available it writes the boot records in /var/adm/wtmp. Child checks for availability of /var/adm/wtmp upto maximum 50 times. 2. Console hangs in single-user mode.This is because init(1m) applies bad termios. Problem is due to an unset CREAD termio control flag in the /etc/ioctl.syscon. Resolution: Now the code is changed to address this issue. 3. init(1m) should execle non-login shell to prevent problems with profiles. Resolution: Changed the shell structure "-sh" to "sh". 4. init(1) deamon writes error messages to stderr. The message written to perror goes to one of the open files. For example. The init(1m) may write to utmpx file. This will disallow the rlogin or telnet. Resolution: Now the code is changed to address this issue. Now all the error messages will be written to syslogd(1m) log file. PHCO_18674: Ported HP-UX patch PHCO_14105 to VVOS Based on HP-UX patch PHCO_14105: 1. Missing "critical" tag in the Category Tags field of the previous patch PHCO_13213. Based on HP-UX patch PHCO_13213: 1. Under some conditions, /usr/bin/su fails. This is the first shell tried by /sbin/init when booted into single user mode, and failure of su in some situations results in /sbin/init entering into an infinite loop, rendering the system unusable. Resolution: Now the code is changed to address this issue. SR: 4701374371 8606146517 8606112360 8606110998 5003415802 Patch Files: OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /sbin/init what(1) Output: OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /sbin/init: $Revision: Hewlett-Packard ISSL Level vvos_rose42 $ $Header: Hewlett-Packard ISSL Release vvos_r ose $ $Date: Mon Oct 22 09:37:15 EDT 2001 $ $Source: cmd/init/init.c, hpuxcmdcntl, vvos_rose, ro se0255 $ $Date: 01/10/19 01:04:24 $ $Revisio n: 1.26 PATCH_11.04 (PHCO_25065) $ $Revision: 82.3.1.5 $ $Source: lib/libsecurity/auditdb.c, libsecurity_audi t, vvos_rose, rose0227 $ $Date: 01/08/23 16: 33:10 $ $Revision: 1.14.2.2 PATCH_11.04 (PHC O_24852) $ $ PATCH/11.00:PHCO_24148 May 25 2001 08:04:43 $ cksum(1) Output: OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 3913282865 344064 /sbin/init Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_18674 Equivalent Patches: PHCO_22664: s700: 11.00 s800: 11.00 Patch Package Size: 370 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_25065 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_25065.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_25065. 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_25065.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_25065.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_25065.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_25065.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None