Patch Name: PHCO_24637 Patch Description: s700_800 10.20 dhcpdb2conf(1M) patch Creation Date: 01/07/12 Post Date: 01/07/17 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: OS-Core.UX-CORE Automatic Reboot?: No Status: General Release Critical: Yes PHCO_24637: CORRUPTION Path Name: /hp-ux_patches/s700_800/10.X/PHCO_24637 Symptoms: PHCO_24637: SR:8606201556 DTS:JAGad70732 SR:8606200352 DTS:JAGad69533 When the 10.20 system boots up and there is no dhcp server or there is no DHCP data for DNS, /etc/resolv.conf gets corrupted. The resolv.conf file has only one word in it which is "domain". Defect Description: PHCO_24637: SR:8606201556 DTS:JAGad70732 SR:8606200352 DTS:JAGad69533 In 10.20 the DHCP_ENABLE variable in /etc/rc.config.d/netconf is set to 1 (enabled) by default. When the system boots up and /sbin/auto_parms calls dhcpdb2conf -a, if there is no DHCP server or there is no DHCP data for DNS, /etc/resolv.conf will be corrupted by dhcpdb2conf and data will be lost. SR: 8606201556 8606200352 Patch Files: /usr/lbin/dhcpdb2conf what(1) Output: /usr/lbin/dhcpdb2conf: $Date: 1996/10/01 10:31:40 $ $Revision: 10.7 $ cksum(1) Output: 1781868388 49152 /usr/lbin/dhcpdb2conf Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 100 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_24637 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_24637.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_24637. 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 PHCO_24637.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/PHCO_24637.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None