Patch Name: PHSS_29963 Patch Description: s700_800 11.00 HP DCE/9000 1.7 Runtime cumulative patch Creation Date: 03/11/14 Post Date: 03/11/17 Repost: 04/02/19 The Special Installation Instructions of the patch documentation were modified to document the dependencies and proper installation order of the latest DCE/9000 1.7 Runtime, Server/DevTools and Domestic cumulative patches that make up the current set of DCE/9000 1.7 patches. Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: DCE-Core.DCE-JPN-E-MSG,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP DCE-Core.DCE-JPN-S-MSG,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP DCE-Core.DCEC-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP DCE-Core.DCE-CORE-SHLIB,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP DCE-Core.DCE-CORE-DTS,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP DCE-Core.DCE-CORE-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHSS_29963: ABORT PHSS_27962: MEMORY_LEAK ABORT Category Tags: defect_repair general_release critical halts_system memory_leak Path Name: /hp-ux_patches/s700_800/11.X/PHSS_29963 Symptoms: PHSS_29963: 1. JAGae96213 : The rpcd / dced daemon dumps core after receiving certain malformed RPC packets. 2. JAGae96555 : The rpcd / dced daemon dumps core after receiving certain invalid packets. 3. JAGae98657 : The rpcd / dced daemon dumps core due to an illegal state transition. PHSS_27962: 1. JAGad68498 : The passwd_override(5) man page refers users to the non supported chpass utility. 2. JAGad76765 : When a client machine in a dce setup is unconfigured the following error is displayed, though it is not a master: ERROR: Message from dcecp: Replica is the master 3. JAGad10682 : When the replica CDS server is unconfigured by running the dce_config script, the following error message is displayed: ERROR: Unable to find the name of the clearinghouse on this host. 4. JAGad66236 : kdestroy -e does not delete all the files that contain the expired creds. 5. JAGad89199 : Improper type for "status" in rpc__set_supported_netaddrs_from_string() 6. JAGad66256 : The rpc__dg_call_end() does not call RPC_UNLOCK(0) when it is canceled and hence the application results in deadlock. 7. JAGad72156 : ccall_binding_serialize() results in a deadlock for RPC client application. 8. JAGad86480 : The RPC server exits abnormally if it is repeatedly forked. 9. JAGae05084 : The C functions are not able to call C++ functions when linked to the libcma library. 10. JAGad43157 : When the "dcecp -c registry designate replica -master" command is executed, it displays the following error message: Error: Group member not found 11. JAGad85085 : The RPC application receives an assertion failure error in the network receiver thread due to retry_assoc_action_rtn() function. 12. JAGad96077 : The pthread_create() of cma returns success, but sets errno to EBADF. 13. JAGad71555 : A TRY-CATCH block does not catch synchronous terminating signals. Instead it dumps core when the signal is caught. 14. JAGae02583 : The rpccp/dcecp commands fail with an error message "Not an RPC tower" which occurs on NT endpoint maps. 15. JAGad88114 : Authentication request results in memory leak in secd. 16. JAGae06778 : 64-bit dce application dumps core as the buffer returned by malloc() is corrupted. 17. JAGae16799 : Japanese characters are displayed incorrectly. 18. JAGad26402 : When ilogin is configured and password entries are exported from DCE to /etc/passwd, /etc/group, the "id" unix command fails to report the group name. 19. JAGae31870 : If an application is linked with libcma.1, it causes an unexpected abort of the application under certain conditions. 20. JAGae37895 : A program getting SIGPIPE signal causes stack overflow, if the stderr is duped to pipe. 21. JAGad88128 : Password change in the /etc/opt/dce/passwd_override does not work if system date is changed backwards. 22. JAGad82749/JAGae29167 : when multiple client requests are canceled before completion, memory leak occurs in the rpcd/dced process. 23. JAGae39434 : dtsd logs error message when shutting down. 24. JAGae39251 : The core file generated when the synchronous signal is received, does not contain information about the function that caused the signal. 25. JAGaa39906 : The camigrate command on HP-UX 11.0 should be obsoleted. 26. JAGae02045 : The SIS rlogin & Ilogin combination does not work for "rlogin -F" command. PHSS_21614: 1. JAGad10196 : On 11.00 with Application release train configuring dce cell does not succeed. 2. JAGad13104 : RPC socket buffer can reduce transmission rate across WAN. 3. JAGad14546 : #ifdef __LP64__ inside a function prototype results in build failure. 4. JAGad15070 : 64 bit functional test fails. 5. JAGad14817 : The customer might not find some of the GSS-API 's man pages delivered from 11.11 onwards. 6. JAGad21662 : When an update is tried from 11.00 to 11.11, we get file size errors. 7. JAGad27398 : CMA dumps core as it doesn't check for condition EINPROGRESS. 8. JAGad37693 : getgrbymem() call hangs in libnss_dce.1. 9. JAGad26395 : Defining TRUE and FALSE, causes cyclical definition unresolved error. This happens if idlbase.h is included and aCC is used for compilation. 10. JAGad39828 : Some files from the DCE-Core product are leftover after an update. 11. JAGad38926 : Some files from the IntegratedLogin product are leftover after an update from 10.20 to 11.00 . All have a suffix of .auth and are not replaced by any command in 11.00. 12. JAGad24804 : When a program which makes use of cma_select is compiled, CC (C plusplus) compiler fails with error while cc just displays warning message. 13. JAGad30100 : Unregistering rpc server fails. handling information of a group that has large number of members. 14. JAGad38604 : The output of a dcecp command: dcecp>acl show /.:/ -entry changes unexpectedly though the acl is not modified. 15. JAGad54035 : cdsadv core dumps in intercell environment. 16. JAGad53376 : When vfork() is called in threaded environment in some cases the application aborts due to lack of memory. 17. JAGad45932 :(Rework of JAGaa35843) As some of the historical links are missing, some of the files will not be accessible from a particular path and can only be accessed from its original path. 18. JAGad40128 : Need configurable parameter to set rpc_g_ns_exp_age. PHSS_20444: 1. JAGaa94793 : aCC compilation error when dce/cma_ux.h gets included twice. (Error 19: "./dce/cma_ux.h", line 319 # Unexpected '}'). 2. JAGaa60133 : DMS observer thread hangs Encina ENM process. 3. JAGaa93171 : cdsadv memory management fails if the host has more than nine network interfaces. 4. JAGab20711 : prototype for ptdexc_create() in /usr/include/dce/pthread_exc_kt.h is incorrect. 5. JAGab12221 : klist does not report the year info in 4 digits. 6. JAGab11206 : CDS client does not failover correctly to alternate clearinghouses once the preferred clearinghouse goes down. (It gives an Error message "Unable to communicate with any CDS server."). 7. JAGab16279 : RPC application memory management fails and results in RPC_MEM_ALLOC failures. 8. JAGab16672,JAGab69558,JAGab69562 : Writing to a broken pipe in a threaded appl consumes CPU. for eg: following command would "swlist -l file | more" consume CPU. 9. JAGaa62517 :"dcecp -c directory list /.:" ,fails with an error message: "No currently established network identity for which context exist". 10. JAGaa35813 : nanosleep() does not work if both struct timespec * parameters point to the same structure, ie nanosleep(x,x) does not work with cma. 11. JAGab84972 : cma_poll() consumes most of CPU time. 12. JAGab72675 : /sbin/init.d/dce - config script does not remove temporary files. 13. JAGaa35337 : A threaded application(using CMA threads) fails with the following error from C++ (CC): bad argument 2 type for cma_send The same application without threads works fine. 14. JAGac39722 : "dcecp -c regi dump" on 11.0 does not show the attributes of all of the registry replicas. It lists one replica multiple times. 15. JAGab69557 : inq_id test aborts with signal 6. 16. JAGab70124 : DTS API in 64bit mode fails, while access- ing 32bit shared memory created by 32 bit dtsd server. 17. JAGab70121 : zonevt test fails with incorrect time conv- ersion and utc_mkasctime failures. 18. JAGaa35855 : rpcd at 11.0 produces unwanted ICMP source quench messages. 19. JAGab69595 : Synchronous signals only cancel the thread and do not terminate the process.Signal handler does not terminate the process correctly. 20. JAGaa44318 : writev() on a socket does not write comple- tely, if the writev buffer (nbyte) is more than the soc- ket/pipe buffer. The largest buffer that can be written is the maximum buffer size on the socket. 21. JAGab44337 : Communication between 64bit dce library and cdsadv fails. 22. JAGac68811 : An application built with libdcekt.sl or libdce.2 with "-Bimmediate - Wl,+vshlibunsats" LD flags gives the following messages: /usr/ccs/bin/ld: Unsatisfied shared library symbols: d2p_d01_bin_to_str_psap (code) d2p_p01_str_to_bin_psap (code). 23. JAGab84224 : When /sbin/init.d/Rpcd stop is executed it does not terminate rpcd. 24. JAGaa35832 : The dce configuration scripts were doing a improper check for any process that had dce daemon as its substring, due to which some un-intended processes got killed. 25. JAGab76304 : dced not able to start more than 26 RPC application servers. 26. JAGab83406 : cdsd dumps core, with 9 LAN interface on N-class server. 27. JAGab76301 : libdcekt.a in 64bit mode would be corrup- ted as it was not created properly. 27. JAGab76554 : dced daemon needs restriction for interf- aces on port 135. 29. JAGad00513 : Following header files with 64 bit changes required: cdsclerk.h,dce64.h,gssapi.h,idlddefs.h, rpcbase.h, stubbase.h, dce.h,dce_error.h,idl_es.h, ndrtypes.h, rpcbase.idl. PHSS_17810: 1. CHFts21563 CHFts21892 CHFts22819 : Remote login sessions would get terminated if the shell exits. 2. CHFts24014 : dced hangs on startup when "starton boot" servers are configured. 3. CHFts24249 : The man of 'dcecp_cdsalias' hangs, with no output. 4. CHFts23381 : Enhancement request for uuidgen to select the hardware address of lan card, in case of host with multiple lan cards. 5. CHFts23975 CHFts24258 : dcecp dumps core when modifying acls of dced objects in local mode. 6. CHFts24288 : Problems with secd when client requests authentication but with wrong password. 7. CHFts22822 : 'select' returns wrong bits settings. 8. CHFts24354 : cdsadv dumps core with segmentation violation if the user's authenticated request is canceled before servicing the callback of the request. 9. CHFts14102 : acl_edit attempts to write to the ACL, even if no change is made to the ACL. acl_edit should accept quit as an alias for exit. 10. CHFts23794 : 'dce_login -r' does not have mechanism to refresh DFS credentials. This will not allow access to DFS once the TGT has expired. If the user's home directory is on DFS, then access to home directory is denied. This may happen after CDE screen lock also. 11. CHFts24088 : Locking an uninitialized mutex dumps core.(Threaded FORTRAN 77 applications using CMA threads dumped core.) 12. CHFts23113 : Occasionally DCE Application dumps core when compiled with -z option. 13. CHFts24327 : The application aborts (system panic in case of DFS) during the occurrence of valid exception due to mismatch in the TRY/CATCH exception blocks. 14. CHFts20416 : All occurrences of include in DCE source code is changed to include . 15. Enhancement request to enable the user to set the Timer Signal, Interval, Quanta of his/her choice. 16. CHFts24449 : cdsadv intermittently goes into loop and may result in timeouts for CDS requests. 17. CHFts19923 : The 'errtext' command core dumps when displaying certain error text. 18. CHFts24281 : Performance of an application calling cma_poll() degrades. The same is seen in cma_msgsnd(), cma_msgrcv() and cma_semop(). 19. CHFts23777 CHFts23614 CHFts24186 : write() on a socket does not write completely, if the write buffer(nbyte) is more than the socket/pipe buffer. 20. CHFts24451 : pthread_mutex_trylock dumps core if the mutex is not initialized. 21. CHFts24454 : pthread_mutex_unlock dumps core if the mutex is not initialized. 22. CHFts24303 : "dcecp> cdscache discard" command causes cdsadv abort if user is logged in as a normal user with dce_login as cell_admin. 23. CHFts24435 : Zoneinfo files for Australia (NSW & Victoria) are not showing the correct EST & DST. So it will show the wrong time. 24. CHFts24477 : An authenticated RPC that comes from a client with the different architecture (eg. little- endian) using CN protocol results in error. 25. CHFts25596 : close() in child after fork in threaded process leads to deadlock. 26. CHFts24485 : Changing DCE identity while using DFS ( by performing dce_login as another principal ), results in DFS error. 27. CHFts19600 : If a principal is given pre_auth_req attribute value 2, this results in an error message "Invalid password" during validation. 28. CHFts24414 : dcecp memory leaks while modifying acls. 29. CHFts24476 CHFts24492 : A program that sends bad packets to the rpcd kills rpcd. 30. CHFts24505 : dcecp commands core dump on some international locales .ie (LANG!=C). 31. CHFts24512 CHFts24489 CHFts23544 : If password expiry time is set for a server, multiple keys are generated. 32. CHFts24508 : Enhancement Request to link libdcecp with libcdsutil and libcdscache. 33. CHFts24509 : dced dumps core with NCS application. 34. CHFts24506 CHFts20743 : dcecp reports internal disaster if LANG != C . 35. CHFts24471 : Request for credentials in sec_key_mgmt_manage_key() and dced every 10 minutes increases network traffic and affects performance. 36. CHFts15577 : Unnecessary log statement "mismatched seal". 37. CHFts24419 : cdsd keeps the IP address in CDS_CHLastAddress even after it is removed. 38. CHFts24501 CHFts24497 : Memory leak in RPC DG runtime due to the struct rpc_dg_pkt_pool_elt_t. 39. CHFts24379 : Need option for changing frequency of spawning ep_scavenger. 40. CHFts24238 : An Application using hsearch() dumps core when built archived with libdce.a and libc. 41. CHFts24522 : DCE rpcd at 11.0 produces unwanted source quench when ICMP message traffic is high. 42. JAGaa35742 : dce_config fails to configure cds client if nodename exists in two different DNS domains. 43. CHFts24505 : error commands in dcecp lead to core dump in international locales. 44. JAGaa46080 : Swtools are experiencing the hang due to DMS. 45. JAGaa35854 : UDP entries in the endpoint database gets deleted for servers running at well-known endpoints. 46. JAGaa46651 : The "rpccp" command used in pwd_config fails with "unsupported protocol" error message 47. JAGaa45926 : CCM servers dump core while communicating with MS-RPC applications. 48. JAGaa47108 : If the client makes a call on an interface supported by the server before the server registers the interface, an error status of rpc_s_unknown_if is reported. 49. JAGaa68656 : RPC connections via TCP/IP from a UNIX to a NT box stay open for 5 minutes rather than closing down within 10 seconds. Defect Description: PHSS_29963: 1. JAGae96213: The rpcd / dced daemon dumps core after receiving certain malformed RPC packets. Resolution: The RPC runtime code has been modified to handle the malformed RPC packets correctly. 2. JAGae96555: The rpcd / dced daemon dumps core after receiving certain invalid packets. Resolution: The RPC runtime code has now been changed with a proper error return value to handle certain invalid packets. 3. JAGae98657: The rpcd / dced daemon dumps core due to an illegal state transition. Resolution: The RPC runtime code has now been modified to handle the illegal state transitions properly. PHSS_27962: 1. JAGad68498: passwd_override man page refers users to non-existent chpass utility. Resolution : Manpage modified to remove references to chpass utility. 2. JAGad76765 : dce.unconfig fails to unconfigure a node if that client node name is a substring of the secd master node name. Resolution: To overcome the problem of matching the substring for clients, exact matching is done by appending $ at the end of the client machine name. 3. JAGad10682 : The dce.unconfig script exits when it does not find the name of the clearinghouse, and displays the error message. Resolution: The code has been modified not to exit from the script. Instead, the code now checks whether the clearinghouse related files exists and then continues. 4. JAGad66236: kdestroy -e does not remove expired credential files as expected. Resolution: Modified kdestroy to remove the expired files. 5. JAGad89199 : The function rpc__set_supported_netaddrs_ from_string() uses the variable 'status' as an unsigned integer, which is actually a pointer to an unsigned integer. This results in undesirable behavior. Resolution: The data type of status has now been changed to an unsigned integer pointer. 6. JAGad66256 : A threaded application gets into a dead lock condition as the global mutex rpc_g_global_mutex is not released. Resolution: The pthread_cleanup() routine is implemented in rpc__dg_call_end(). Now, when the thread gets canceled, pthread_cleanup() will call RPC_UNLOCK to unlock the global mutex. 7. JAGad72156 : An Encina client (RPC client) application may encounter a problem when the server aborts. This is due to the RPC client stub routine blocked on a condition variable in ccall_binding_serialize(), and never returning from the function. Resolution: When the variable, calls_in_progress, gets decremented to 0 in rpc__dg_call_end(), then a call to RPC_BINDING_COND_BROADCAST() is made. This will convert any other threads that are waiting on this condition variable to ready state. 8. JAGad86480 : In a RPC server application, a repeated fork makes the application receive unhandled exception and exits abnormally. Resolution: The do/while loop is now changed to while loop in the listener thread call, so that the loop is executed at least once. 9. JAGae05084 : This _main() of libCsup is not called by the initialization routine of libcma() to enable the C++ runtime. Resolution: Now, the C++ runtime library is initialized when a program is linked to libcma. 10. JAGad43157 : In the absence of the master replica, when user tries to convert the slave replica to master using the following command : "dcecp -c registry designate replica -master", an error message is displayed. This is because -master option tries to remove the earlier master from the security rpc groups, which is non-existent. Resolution: Code has been modified appropriately. 11. JAGad85085: If the user has DCE clients of the older OSF version, 1.0, packets from that version of are returned to the server. Hence, association between the client and server is maintained as a static object while it should have been a dynamic object. Thus, resulting in an assertion failure. Resolution: The association is now maintained as a dynamic object. 12. JAGad96077 : The pthread_create() of cma sets errno to EBADF even it is a success, as the last fcntl() in the thread returns EBADF. This errno is carried back to pthread_create() return value. Resolution: Clear errno after initialization of cma fd table 13. JAGad71555 : The exception handling code was not being executed even if the code was enclosed in TRY-CATCH block. Resolution: The code is fixed handle the TRY-CATCH block. The function cma___sig_sync_term is modified to make the if - else condition effective. 14. JAGae02583 : rpccp/dcecp commands do not recognize the NT protocol towers. Subsequently, these commands do not display the other valid tower binding handles. Resolution: The unknown(NT) protocol tower versions are bypassed, and rpccp/dcecp continue to display the other binding handle information. 15. JAGad88114 : The memory leak in secd is due to the improper passing of parameters to the hash function. Resolution: The memory leak is now fixed. 16. JAGae06778 : Buffer returned by malloc is getting truncated to 32 bits causing this unexpected behavior in 64 bit environment. Resolution: Code has now been modified to accept the return value for malloc() as "long" instead of "int". 17. JAGae16799 : cma_system() uses /sbin/sh instead of /usr/bin/sh. As /sbin/sh does not support multibyte character set, Japanese characters are displayed incorrectly. Resolution: Code has been modified in cma_system() to use /usr/bin/sh if present. 18. JAGad26402 : The id, ll (any name request command) fail to show the group name, because passwd_export program generates /etc/group file with lines that are > 2048 characters long when number of users in a group are large. Resolution:passwd_export program is fixed in such a way, if the members of a group spawns beyond LINE_MAX(2048), then they are written in the next successive lines with the same group information. This solves the "id" command problem also. Now all the getgrXbyY calls will pass. 19. JAGae31870 : Unexpected abort of the applications that are linked to libcma is due to inappropriate environment variable handling. Resolution: The code is fixed to handle the environment variable correctly. 20. JAGae37895 : When pipe to stderr is broken, the process of writing error message onto stderr causes a recursive SIGPIPE which ultimately leads to stack overflow. Resolution : When SIGPIPE is handled, the error message is not reported. 21. JAGad88128 : Password change does not work as dced does not update override files if the system date is changed backwards. Resolution: The code has been fixed so that the override password list is updated everytime the password is changed. 22. JAGad82749/JAGae29167 : The stub code of the call executor fails to free the memory in the case when the client has been abnormally terminated. Thus resulting in a memory leak. Resolution: If memory has not been freed by the stub code in the call executor then it is freed in the call executor stub. 23. JAGae39434 : dtsd logs error messages since credential files are removed before the dts daemon is stopped. Resolution : All the processes are stopped before removing all the credential files. 24. JAGae39251 : The TRY-CATCH exception handling code that is executed when a synchronous signal is received will overwrite the stack. Resolution : Introduced environment variable 'HP_CMA_CATCH_SYNC'. Only when this variable is set, synchronous signal handling via TRY-CATCH will be enabled. 25. JAGaa39906 : The camigrate utility should not be delivered on HP-UX 11.0 as the update path for the KingKong CDS is not supported anymore. Resolution : The camigrate utility is removed through the postinstall script. 26. JAGae02045 : SIS enabled rlogin with -F option fails in integrated login environment. This is due to the '*' character in the password field of /etc/passwd file which is uploaded by passwd_export program. Resolution: Instead of '*', the passwd_export program puts 'D' in the password field of /etc/passwd file. PHSS_21614: 1. JAGad10196 : Configuring dce cell during the 11.11 integration cycle did not succeed as dce_config looks for klist and klist points to /usr/bin/klist which is not linked to /opt/dce/bin/klist as before and hence fails. Resolution: Changes need to be made in the script files to include the complete path of klist, kinit and kdestroy. 2. JAGad13104 : The socket buffer size is limited to a Max of 32k.This will reduce transmission rate in a WAN environment. Resolution: Provide environment variables to tune the SNDBUFANDRCVBUF sizes. 3. JAGad14546 : When the stub code is compiled with ANSI CC compiler #ifdef __LP64__ inside the function prototype resulted in build failures. Resolution: Move the #ifdef LP64 changes outside the scope of prototype. 4. JAGad15070 : Files from dce_kt_64 need to be merged to mainline to avoid 64 bit warnings. Resolution: ifdef __LP64__ need to be added. 5. JAGad14817 : When the 11.0/11.11 version of DCE-CoreTools product is installed on a 11.11 machine, some of the gss_* manpages of the GSS-API product are removed from the /usr/share/man/man3.Z directory. This was done because the 10.20 version of DCE-CoreTools was having the DCE gssapi man pages under the /usr/share/man/man3.Z and was later moved to /opt/dce/share/man/man3.Z directory. And the preinstall script in 11.0 was removing it since it was no more required there. But the new GSS-API product in 11.11 needs that in /usr/share/man/man3.Z directory and hence it should not be removed. Resolution: The entries of those files that were getting deleted from the filesystem (/usr/share/man/man3.Z/) are deleted from the preinstall script (DCE-Core-Tools.DCEP-ENG-A-MAN.preinstall). 6. JAGad21662 : In 10.20 and 11.00 the files /opt/dce/bin/kinit, /opt/dce/bin/klist, /opt/dce/bin/kdestroy are having links from /usr/bin/kinit, /usr/bin/klist, /usr/bin/kdestroy respectively. This link is provided by "tlinstall". These files are from DCE-Core.DCE-CORE-RUN fileset. Resolution: The change would be to have a preinstall script for KRB5-Client.KRB5-RUN fileset. Here check for the link and if it exists just remove the file. It is also necessary to add the same set of commands in the preinstall script of DCE-Core.DCE-CORE-RUN fileset as it is mentioned in the release notes of DCE 1.8 that the links will no longer exist in 11.11 or 11.00 7. JAGad27398 : fstat64() returns errno EINPROGRESS which is not being checked by cma__open_general and hence dumps core. Resolution: Add a condition to check for EINPROGRESS and EWOULDBLOCK before returning from the function. 8. JAGad37693 : Login session hangs if there is no account in DCE Registry but exists in /etc/passwd.This is because after an error is returned from ilogind getgrbymem() is not setting the result to FAILURE. Resolution: When the error is returned from ilogind if the read reply status is wrong in getgrbymem() of libnss_dce.1 set the result status to FAILURE. 9. JAGad26395 : When using aCC with Rogue Wave including idlbase.h, there after trying to define TRUE/FALSE causes a cyclical definition unresolved by the preprocessor. Resolution: Do not define true / false in idlbase.h if the compilation is done using ANSI C++ compiler. 10. JAGad39828 : No preinstall script was written to remove these files. Problem can be reproduced by updating a 10.20 machine with complete DCE-Core to 11.00. Resolution: CRunSwpackagePatch_funcs.ksh has to be modified to create a preinstall script which, when run will remove the unnecessary files. 11. JAGad38926 : No preinstall script was written to remove these files. Problem can be reproduced by updating a 10.20 machine with IntegratedLogin installed to 11.00. Resolution: To take care of the patch release to 10.20, To take care of future releases of DCE, preinstall script has to be added in the path: /vob/dce/src/release/control_scripts/ILOGIN-COMMON 12. JAGad24804 : The type of the second, third, and fourth arguments for cma_select() that is declared in cma_ux.h needs to be fd_set * rather than int *. Resolution: The definition and declaration of cma_select should be changed The existing declaration is : cma_select (int, int*, int*, int*, struct timeval *) This should be changed to : cma_select (int, fd_set*, fd_set*, fd_set*, struct timeval *) 13. JAGad30100 : The DCESX test of the DCE - CDS functional test suite results in SIGSEGV and dumps core. This was a test case for customer filed defect. Resolution: Avoid freeing the memory allocation in the text region, by copying the contents to the data region. Previously the reference to the text region was copied to a pointer. free() was called with this pointer as a parameter. free() fails to free the text region. Now the same text region data is copied to data region by using memcpy(). 14. JAGad38604 : Given the following command, dcecp>acl show /.:/ -entry # -entry is the key which gives unexpected output. acls are displayed right/wrong alternatively. Resolution: A pointer variable ("residual") is initialized to NULL, which prevents the previous iteration's stack value to be used, which has caused the wrong behavior. 15. JAGad54035 : cdsadv core dumps due to a memory corruption in sec_login_db_search_and_store_entry() which goes into libdce.2 Resolution: The problem is due to "malloc". A malloc'ed pointer was freed by rpc_ss_free.So, now rpc_ss_allocate is used to memory alloc so that rpc_ss_allocate & rpc_ss_free() are in sync. This avoids the memory corruption. 16. JAGad53376 : The expected behavior of vfork is that the child process does not inherit the parent data but only shares it. But in the case of a threaded application each time that the vfork is used, the required memory doubles even though the forked process will not use it. This is because in the threaded environment vfork() is wrapped to cma_fork() which just calls fork(). Resolution: A new environment variable called '_VFORK_NO_CMA' needs to be set by the user which would be used by libc. If this variable is set, then the vfork() stub in libc will directly call the actual vfork system call and won't go through the cma wrapper 'cma_fork'. We retained the default(previous) behavior as it is in order, to avoid the risk of breaking any existing customer applications that assume fork semantics for vfork. So, the applications will get the new behavior for vfork() only if they set this environment variable. The exec wrapper in libcma has been changed not to modify any data, if the child was created as a result of vfork(). This is needed as both parent & child share the same data segment and we could possibly corrupt the parent data space. 17. JAGad45932 :(rework of JAGaa35843) The following links will not be seen in 11x :- /opt/dcelocal/hptools -> /opt/dce/hptools /usr/lib/libbb.a -> /opt/dce/lib/libbb.a /usr/include/dce/trace_log.h -> /opt/dce/hptools/share/include/dce/trace_log.h These links are historical and need to exist. Resolution: A postinstall script file for the fileset "DCE-C-Tools.DCE-TOOLS-LIB" needs to be there which creates the above historical links. 18. JAGad40128 : Because clerk cache persists 8 through 12 hours, they tend to get stale cache and RPC fails especially on Encina environment. Resolution: Add a configurable parameter "cdsclerk.ns_exp_age" in /etc/opt/dce/cds.conf. Added a variable "ns_exp_age" to tune the rpc_g_ns_exp_age. If ns_exp_age is defined in conf file then rpc_g_ns_exp_age will get the value of ns_exp_age , otherwise it will get the default value. PHSS_20444: 1. JAGaa94793 : In a C++ program, dce/cma_ux.h getting inc- luded twice would result in a error. The problem was be- cause of the mismatch of #ifdef/#endif for __cplusplus and CMA_UX. Resolution: Move the #endif corresponding to CMA_UX to the end of the file. 2. JAGaa60133 :The hang was caused due to the multiple DMS threads starting because of the fork in the ENM process. This does not happen frequently but does happen in a race condition. Resolution:The routine which creates the observer thread was checking earlier only one condition whether the observer thread is running or not. Now we check for one more condition whether the observer thread is stopped because of fork in the dms process and if so we will not create the observer thread. 3. JAGaa93171 : RPC queries the network interfaces for IP address and network mask, using ioctl calls.The buffer allocated for the above operation when the host had more than 9 network interfaces,was not freed after successful queries. Resolution: Freed the buffer memory allocated for ioctl calls corr- ectly in rpc runtime. 4. JAGab20711 : If pthread_exc.h is included and _POSIX_D10_THREADS is defined when compiling a C++ prog- ram, the compiler comes out with the following error:CC: "t.C", line 20: error: bad argument 3 type for ptdexc_create(): void *(*)(void *) (void *(*)() expected) (1264) *** Error exit code 1 Resolution: Change the third parameter in the ptdexc_create() proto- type from : void *(*start_routine)(), to : void *(*start_routine)(void *). 5. JAGab12221: Executing klist displays ticket expiry date which has year displayed in 2 digits. Resolution: Display year in 4 digits. 6. JAGab11206 : This is due to the way in which CDS client is designed to access the clearinghouses. When a preferred clearinghouse is specified, then the clerk instead of doing a Walk-Tree for the clearinghouses just looks for that particular clearinghouse to resolve a name. If that clearinghouse is down/not found,it breaks out of the loop and gives an Error without actually doing the Walk-Tree. Resolution: The cds clerk is now made to do a normal Walk-Tree once it fails to resolve a name from the preferred clearinghouse. 7. JAGab16279 : When authenticated RPC calls are made from a client running on host with different NDR representation (Ex. NT client) to a server running on HP-UX it results in memory problems.This is observed in cases when the principal is member of 10 or more number of groups. Such a principal results in big PAC size, and so RPC sends fragmented packet to server (i.e.when RPC packet size exceeds 1432 bytes). The RPC runtime at server allocated a buffer to receive and append these fragment to get the complete packet .After the server processes the packet, the runtime did not free the memory of the buffer. Resolution: Freed the memory allocated for buffer used to receive the fragmented RPC packet after processing the packet successfully. 8. JAGab16672,JAGab69558,JAGab69562 : After Installing PHSS_16429 or PHSS_17596, swlist -l file | pg and then exit pg by ctrl c or q will consumes the cpu. The pr- oblem is with cma_write(), which does not detect broken pipes. Resolution: Change cma_write() to detect broken pipes. 9. JAGaa62517 : Only the owner of the credential file had the permission to read it. This prevented even the root user to read the credential file. Resolution: The root user is also permitted to access the credential file. 10. JAGaa35813 : Whenever nanosleep() is used and both the timespecs structures point to the same structure in a multithreaded process it does not work. The same works if the process is single threaded. The problem can be easily reproduced by writing any multithreaded applic- ation which uses nanosleep(x,x). Resolution: Added a check to find out whether both the pointers point to the same structure. In this case the second pointer is not initialized. 11. JAGab84972 : Installing PHSS-19739/40 and a poll() call in threaded applications would consume CPU, When poll() is called under following conditions: - a. pthread.h is included by the application b. cma_init() is not called. c. The application is not multithreaded yet(i.e. there are no threads created). Resolution: The polling interval is now initialized before the application becomes multithreaded. 12. JAGab72675 : DCE configuration was not removing the temporary files /tmp/ip_addrs & /tmp/dced, once the operation is over. Resolution: Remove the temporary files /tmp/ip_addrs & /tmp/dced, once the operation is over. 13. JAGaa35337 : Header file containing extern declaration for cma_send is incorrect. This is especially noticeable and problematic when building with C++, due to its stro- nger typing. Resolution: Modified the declaration for cma_send in header file from : extern int cma_send (int , void *, int, int ); to: extern int cma_send (int , const void *, int, int ); 14. JAGac39722 : "dcecp -c regi dump" at 11.0 does not show the attributes of all of the registry replicas. It lists one replica multiple times. Resolution: Backout the dess merges. 15. JAGab69557 :inq_id test for 64 bit aborts with signal 6. Resolution: Do proper type conversion while passing paramet- er in the unmarshalling routine. 16. JAGab70124 :32 bit dts server and 64 bit application use the same shared memory to get time related information. Since dts daemon saves data structure in IL32 format in shared memory but a 64 bit application reads in LP64 format which results in incorrect data communication be- tween 32 bit and 64 bit application. Resolution:Use wrappers in 64 bit application when it writes and reads a shared memory segment created by 32 bit ser- ver. 17. JAGab70121 : The problem was because of incorrect data shifting and overflow in 64 bit. Resolution: Adjust the big endian data correctly. Avoid tr- uncation during shifting by typecasting. Modify utc_t structure to size of 128 bits. 18. JAGaa35855 : A rpcd/dced thread processes ICMP packets, wakes up every 30 secs. If the ICMP traffic on the host is high there is a possibility of the socket buffer get- ting full and resulting in ICMP source quench messages. Resolution: An environment variable HPDCE_ICMP_MONITOR_TIME is provided to allow the customer to tune the frequency of rpcd thread that process the ICMP packets. The vari- able is specified in seconds and can be tuned in the range from 1 to 50 seconds (default is 30 secs).Export- ing a value lower than the default will increase the rate of processing of ICMP packets. NOTE: Exporting a low value (< 10 ) will impose high load on rpcd. 19. JAGab69595 : libdcekt establishes signal handlers for some signals like SIGBUS, SIGSEGV. This signal handler did not abort the process if such a signal did arrive. Instead it only canceled and killed only the thread that got the signal. Resolution: The libdcekt code has been changed to exit the process in case the exception is not handled.In the sig- nal handler we examine if there is a cleanup handler pushed. If there is none, we exit the process. 20. JAGaa44318 : In order to reproduce the problem. Try to write using writev more than the maximum size of the bu- ffer and it will only be able to write the maximum buff- er size. Resolution: The code for cma_write has been used here with the modification to include more than one buffer. 21. JAGab44337 :GET64 macro is wrong and it is returning a wrong address. This affects the 64bit library - 32bit cdsadv communication. Resolution: Fix the GET64 macro , so that it returns the correct address. 22. JAGac68811 :The two functions "d2p_d01_bin_to_str_psap() and d2p_p01_str_to_bin_psap()" were defined in the gds source directory and since gds is no more supported on 11.x was commented out in the libdce Makefile. Thus the libdce build did not build these functions and hence the symbols were un-resolved. Resolution: Add to the Makefile of libdce the object files of functions d2p_d01_bin_to_str_psap() and d2p_p01_str_to_bin_psap(). 23. JAGab84224 : /sbin/init.d/Rpcd stop does not terminate rpcd. The script uses "ps -e" to check rpcd running. Since rpcd is a link to dced "ps -e" returns dced and not the rpcd. So the script incorrectly reports that it stopped rpcd when it actually does nothing. Resolution: rpcd daemon may be running as one of the follows: /usr/bin/rpcd /usr/bin/rpcd rpcd rpcd Their can be some other daemon/process which may have same substring To grep exactly one of the above four conditions we use: ps -ef | grep -e '\/rpcd' -e '\/rpcd ' -e ' rpcd' -e\ ' rpcd ' grep -v grep |awk '{print $2}'` 24. JAGaa35832 : Start some dummy process which have dce daemon name as its substring name eg. junkrpcd, junkcdsd etc. Use the old scripts to configure and unconfigure dce start and stop dce daemons The scripts will only check for the substring name of dce daemon and may stop unin- tended process similarly the required dce daemon may not start up if any other process with that substring name is already running. Resolution:There can be some other process, which may have dce daemon name as its substring name. To grep exactly we use: ps -ef | grep -e '\/$' -e '\/ ' -e 'i\ $' -e ' ' grep -v grep |awk \ '{print $2}'`. 25. JAGab76304 : When more than 26 RPC application servers are started using dcecp command simultaneously, server instance after 26th fails to start resulting in follow- ing logs: "The fopen() call failed during srvrconf_start, errno = 2" in error.log file. A dced internal routine failed to get a temporary unique file name to store the state of RPC application after the 26th instance.This is because of a limitation of mktemp() which cannot generate a unique filename beyond 26th instance when called by the same process. Resolution: The unique file name generating call mktemp() was changed to tempnam() call in the dced internal routine. 26. JAGab83406 : CDSD dumps core while configuring N-class server having 9 lan cards. This does not happen when RPC_SUPPORTED_NETADDRS variable is set to upto 6 lan interfaces. Resolution: The macro which is used to allocate buffer for advertiser message is increased. 27. JAGab76301 : ranlib which runs over libdcekt.a corrupts the library and makes it unusable. Resolution:The Makefile is picking the native system's "ar" command. Change was made to pick the correct "ar" in the vob. 28. JAGab76554 : Enhancement request: make dced bind to a particular interface. DCED daemon listens on all interfaces(on multihomed system) always on port 135. This is not desirable where firewall is implemented. So customer wants to have facility where DCED listens on selected interfaces rather than on all interfaces. Resolution: Provided a new environment variable "RPCD_BIND_ADDRS" to make DCED daemon register with the desired interfaces. This new environment variable sho- uld be set with a value "true" or "1" and it takes into effect only when other environment variable "RPC_SUPPORTED_NETADDRS" is also set. This make dced daemon to bind to only interfaces exported in the envi- ronment variable "RPC_SUPPORTED_NETADDRS". IMPORTANT NOTE: If DCED is started with the environment variables "RPCD_BIND_ADDRS" and RPC_SUPPORTED_NETADDRS exported then all DCE application servers should also export the environment variable "RPC_SUPPORTED_NETADDRS" with the values set to the interfaces which are subset of the interfaces exported while configuring dced. 29. JAGad00513: Following header files with 64 bit changes needed: cdsclerk.h,dce64.h,gssapi.h,idlddefs.h, rpcbase.h, stubbase.h, dce.h,dce_error.h,idl_es.h, ndrtypes.h, rpcbase.idl. Resolution: Added these header files to the product. PHSS_17810: 1. CHFts21563 CHFts21892 CHFts22819 : Remote login sessions would get terminated if the shell exits. Resolution: Thread I/O wrappers leave file descriptors in O_NONBLOCK mode at exit. If the file-descriptor(stdin) is left in non-blocking mode at exit, the shell inherits this and exits. 2. CHFts24014 : dced is deadlocking in it's main thread when it attempts to start servers that are to be started at boot time. Resolution: Modified the locking mechanism during dced bootup. 3. CHFts24249 : Bad manpage for dcecp_cdsalias. Resolution: Fixed manpage of dcecp_cdsalias. 4. CHFts23381 : Currently the uuidgen gets the address of the card with lowest NMID. Resolution: Additional option (-l) provided for uuidgen to select the hardware address of lan card, in case of host with multiple lan cards. Usage available in the manpage of uuidgen. 5. CHFts23975 CHFts24258 : When dcecp and dced are in local mode, using the 'acl modify' command on dced objects results in a core dump or hang. 6. CHFts24288 : A memory leak related problem with secd. Resolution: Fixed the memory leaks. 7. CHFts22822 : cma_select() when timed out returns the bits (fd_mask) passed by the user without changing them. 8. CHFts24354 : After the request is canceled, all the data structures cdsadv was using will be freed up but the AUTH-callback request will be still hanging around in the conversation queue(convq). 9. CHFts14102 : acl_edit attempts to write to the ACL, even if no change is made to the ACL. acl_edit should accept quit as an alias for exit. 10. CHFts23794 : 'dce_login -r' does not have mechanism to refresh DFS credentials. This will not allow access to DFS once the TGT has expired. If the user's home directory is on DFS, then access to home directory is denied. This may happen after CDE screen lock also. 11. CHFts24088 : Locking an uninitialized mutex dumps core.(Threaded FORTRAN 77 applications using CMA threads dumped core.) Resolution: Solved by checking if the mutex has been initialized by the user or not before locking. If it has not been initialized return -1 and set errno to EINVAL. 12. CHFts23113 : This problem occurs only when the application is compiled with -z option which is used for detecting null references. When the DCE client application receives a local cancel it forwards it to the server and sets a timeout value. If the timeout expires before a response to the cancel reaches the client the client program(call thread ) cleans up the data structures including the call-rep. The call rep will also be referenced by the receiver thread. When the receiver thread references the call-rep which already cleaned-up, it dumps core. 13. CHFts24327 : Unmarshalling the IDL pipe data type does not cause the exception to be popped off the stack as done during the normal unmarshalling. 14. CHFts20416 : All occurrences of include in DCE source code is changed to include . 15. There is a new function added cma__hp_sched_opt(): int cma__hp_sched_opt(int timer, long timer_interval, int timeslice_quanta, long rt_timer_interval) This function enables the user to set the Timer Signal, Interval, Quanta of his/her choice. This also enables the user to set the real time signal SIGALRM for a desired interval.Timer Q is checked at regular intervals specified by rt_timer_interval.A signal handler is established for SIGALRM if rt_timer_interval is specified. timer : ITIMER_VIRTUAL | ITIMER_PROF timer_interval : Interval for timer-signal corresponding to 'timer'. (in microsecs) timeslice_quanta : Quanta for each thread. rt_timer_interval : The interval for the real-time signal(SIGALRM). (in microsecs) 0 => real-time timer not set. Before calling this function the CMA would have set the defaults as: timer = ITIMER_VIRTUAL; timer_interval = 100ms; timeslice_quanta = 2; rt_timer_interval = 0; There are also 3 new environment variables added: CMA_HP_SCHED_OPT : This provides the same functionality as cma__hp_sched_opt(). Format is: export CMA_HP_SCHED_OPT="timer timer_interval timeslice_quanta rt_timer_interval" eg: export CMA_HP_SCHED_OPT="1 100000 2 0" would set the timer to ITIMER_VIRTUAL, interval to 100ms, quanta to 2 and does not set the real time signal. CMA_HP_CHECK_TIMERS_AT_YIELD: Setting this variable would result in checking the timer Q at yield. This would help to put threads from the timer Q to the ready Q if their time has already expired when we do a yield. CMA_CRASH_ON_FORCED_SWITCH: Setting this variable would result in the application exiting with bug check if the quanta of a thread expired and it was forced to context switch. This can be used for some debugging purposes and it is advised not to set this variable in the normal case. 16. CHFts24449 : Corrupted credential files results in looping while reading the creds. Resolution: cdsadv returns an error if the credential file is found to be incorrect. 17. CHFts19923 : For certain error codes, formatting of error messages didn't account for the right number of parameters. 18. CHFts24281 : In cma_poll(), cma_msgsnd(), cma_msgrcv() & cma_semop() we poll for data at an interval of 200 millisec which is a long interval for some applications. Resolution: A new environment variable called CMA_HP_POLLWAIT is added. We first wait for 10 millisec. Subsequently we poll at an interval of CMA_HP_POLLWAIT, if the user has set this environment variable.If the user has not exported this Environment variable, we poll at an interval of timer interval(default 100ms). CMA_HP_POLLWAIT is to be exported in microsecs. eg: export CMA_HP_POLLWAIT=50000 implies CMA_HP_POLLWAIT is 50 millisecs. 19. CHFts23777 CHFts23614 CHFts24186 : cma_write does not have the retry logic within itself. 20. CHFts24451 : The pointer field of the mutex points to null if the mutex is not initialized. When this is dereferenced the application dumps core. 21. CHFts24454 : The pointer field of the mutex points to null if the mutex is not initialized. When this is dereferenced the application dumps core. 22. CHFts24303 : A normal user trying to run "dcecp>cdscache discard" with dce_login as cell_admin instead of root. (you need to login as root to execute this dcecp command ) 23. CHFts24435 : Zoneinfo files are not updated with the new EST & DST. 24. CHFts24477 : The client was using an authentication service protocol which is not supported by the server and that resulted in problems. This happens only with the server that uses CN protocol. When such data is received, an error message gets logged in /opt/dcelocal/var/svc/error.log . 25. CHFts25596 : Lock and Unlock of the mutex (cma__g_close_select_mutex) is not done before and after fork respectively. So when a thread calls close/select and before this thread comes out of it some other thread calls fork which results in deadlock. 26. CHFts24485 : Changing euid while login results in incorrect caching of euid in dfsbind. 27. CHFts19600 : The preauth_subtype has no bearing on whether or not the user key needed to be transformed to DES format. 28. CHFts24414 : libdcecp and libdce acl modify code did not free memory allocated for the purpose of ACL modification. 29. CHFts24476 CHFts24492 : The RPC runtime expects the authentication trailer to be four byte aligned and the bad data which is sent by the program does not follow this specification. Resolution: A message will be logged in the error log file /opt/dcelocal/var/svc/error.log when such a data is received. 30. CHFts24505 : The japanese catalog files were out-of-date with the new/enhanced sams compiler which went with the previous patch. Resolution: Update the japanese catalog files. 31. CHFts24512 CHFts24489 CHFts23544 : The algorithm for generating the keys was incorrect. Resolution: The algorithm for generating the keys has been changed to correct this. 32. CHFts24508 : Applications linked with libdcecp.sl library fail to execute CDS commands. Resolution: Change link libraries in the makefile for dcecp. 33. CHFts24509 : When there are lots of unique clients to a server, the server connection table elements keep growing and finally dced dumps core. Resolution: Reduce the server connection table elements to be uncached sooner than the default value. An environment variable SCTE_UNCACHE_TIME is provided for tuning this parameter eg., export SCTE_UNCACHE_TIME=60. The value should be set between 45 and 600. 34. CHFts24506 CHFts20743 : On a japanese locale, typing an error command results in "internal disaster" error within dcecp. Resolution: Include code for wide-character initialization required for intl locales. 35. CHFts24471 : sec_key_mgmt_manage_key() of libdce and dced forces login for each 10 minutes to check the password expiration. Resolution: Import an environment variable (KEY_MGMT_WAKEUP_INTERVAL). Depending on the variable, set the wakeup time and force the login. 36. CHFts15577 : Unnecessary "mismatched seal" printf statement. Resolution: Removed the "mismatched seal" printf statement. 37. CHFts24419 : Since the CHLastAddress contains the old IP address, the DCE configuration Manager (DCM) Failed to startup. Resolution: Update the CHLastAddress when IP address is removed. 38. CHFts24501 CHFts24497 : The packets used by the private local socket of the server in DG runtime, for transmission of the data were not being freed which causes the process size increase and finally dump core. The problem shows up only when the server and the clients are on the same machine. Resolution: Free the packet of the private local socket which was being added to the global packet pool. 39. CHFts24379 : Enhancement request to provide option for dced/rpcd to tune ep_scavenger frequency. Resolution: Provide new option -t with dced/rpcd. dced/rpcd uses this value to run ep_scavenger with the specified interval. 40. CHFts24238 : The libdce.a has got an object module for hsearch() function having the same prototype as the hsearch() in libc. So when an application using hsearch() is built with libdce.a in the library list, it first gets linked to hsearch() of libdce.a (which is having a different behavior compared to libc version) and thus dumps core. Resolution: The hsearch() routine was used for an example called phone_db and it was provided in libdce for that purpose only. This example is not shipped for the new releases and hence hsearch() is removed from libdce. 41. CHFts24522 : rpcd/dced opens a raw socket to receive ICMP error messages on the host. In 11.0 a raw socket also receives in addition to error packets,ICMP echo request because of changes in network stack from 10.20 or earlier; wherein the ICMP echo were filtered off before it reached the socket. In earlier design expecting low icmp traffic the recv was done at a low frequency and was now resulted in unhandling high icmp traffic. Resolution: Increase the socket buffer and reduce the sleep duration for faster processing of data from the socket buffer. 42. JAGaa35742 : Since dce_config removes the domain part of the server name, it is causing problem if there exists another node with the same name in the client domain. Resolution: Get the ip address of the node name in a variable before the domain name is removed from that , and use that variable which contains the IP address. 43. CHFts24505 : in-core tables contain error messages in incompatible format. Resolution: Modify code appropriately in order to handle messages in older format. 44. JAGaa46080 : The DMS thread is creating problems in swtools causing the process to hang. The DMS was "on" by default in any DCE process running with the root privilege. It could be made "off" by exporting the environment variable DMS_FORCEOFF. Now the change has been made so that DMS is "off" by default and will be "on", only when the environment variable DMS_FORCEON is exported. So now, if the performance monitoring has to be done on the DCE processes running with root privileges, DMS_FORCEON=1 has to be exported prior to running the DCE process. Resolution: If the DMS is required for DCE measurement export DMS_FORCEON=1 prior to running the DCE process. 45. JAGaa35854 : This problem occurs when servers running on well- known endpoint does a server ping using a fully bound binding handle before listening. A dced thread wakes up and receives the ping failure error. This results in dced deleting the endpoint without verifying if the server has begun listening. Resolution: dced now does a ping to the server entry before it deletes endpoints from the database. 46. JAGaa46651 : pwd_config assumes that both TCP & UDP protocols are supported in the environment. Through "rpccp", it always tries to export both TCP and UDP protocols and expect the call to succeed. If only TCP or UDP protocols are used in the environment, then pwd_config fails saying "unsupported protocol". Resolution: Consider the rpccp call as succeeded if it successfully exports either TCP or UDP protocol. 47. JAGaa45926 : The CCM client agent which runs on MS-WindowsNT is built upon MSRPC. The same problem which made most of the CCM servers dump core was due to the interoperability of the OSF DCE with MSRPC. There seems to be an optimization done in the MSRPC which used the server association to make an RPC to a server. Hence, the client association on the HPDCE side was receiving a REQUEST packet which resulted in the servers dumping core. Resolution: This fix has been provided in the DCE RPC to discard the REQUEST packet on an client association and send an appropriate status code back to the client which made the RPC on a server association. 48. JAGaa47108 : The problem is that the error condition is cached in the association data structure and the subsequent calls on that particular interface on this association return the error condition without sending the alter_context PDU even after the server registers the second interface. Ultimately when the association is terminated after the default period of the IDLE association, a new association is created to service the RPC on the second interface and this passes. Resolution: The change is to send an alter_context PDU on the association if the previous negotiation failed with the rpc_s_unknown_if. 49. JAGaa68656 : MSRPC server does not send a SHUTDOWN PDU ten seconds after the completion of the RPC. This made the HPDCE client keep the idle connections keep open for 5 minutes after the completion of the RPC. Resolution: An environment variable is provided in the DCE RPC runtime with which the idle association termination time can be tuned to be a lesser value than the architected value of the 5 minutes. With this environment variable, the idle association termination can be tuned to any value in the range of 1 to 300 seconds. The environment variable is HPDCE_CLIENT_DISC_TIME. Enhancement: No SR: 5003355339 8606281655 4701412692 1653293902 4701425389 1653245670 8606112629 8606104900 5003419762 8606124339 5003435396 5003443358 8606127265 8606112015 5003412486 8606106848 8606110658 8606106988 8606131362 8606103193 8606140834 8606143781 8606145208 8606145734 8606145481 8606152323 8606158068 8606168412 8606157061 8606170564 8606169652 8606155487 8606160781 8606169328 8606184829 8606184167 8606176695 8606170864 8606199310 8606207589 8606141321 8606197040 8606220058 8606197059 8606202982 8606217328 8606236017 8606173904 8606215911 8606227015 8606202381 8606233359 8606218966 8606237735 8606250424 8606157068 8606267629 8606273813 8606218980 8606264836 8606213557 8606275359 8606280240 8606232817 8606275174 8606335138 8606335500 8606337651 Patch Files: DCE-Core.DCE-JPN-E-MSG,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/lib/nls/msg/ja_JP.eucJP/dcelib.cat /usr/lib/nls/msg/ja_JP.eucJP/dcesad.cat /usr/lib/nls/msg/ja_JP.eucJP/dcetcl.cat DCE-Core.DCE-JPN-S-MSG,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/lib/nls/msg/ja_JP.SJIS/dcelib.cat /usr/lib/nls/msg/ja_JP.SJIS/dcesad.cat /usr/lib/nls/msg/ja_JP.SJIS/dcetcl.cat DCE-Core.DCEC-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/share/man/man1.Z/uuidgen.1 /usr/share/man/man5.Z/passwd_override.5 /usr/share/man/man1m.Z/passwd_export.1m /usr/share/man/man1m.Z/dced.1m /usr/share/man/man1m.Z/dcecp_cdsalias.1m DCE-Core.DCE-CORE-SHLIB,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/lib/libcma.1 /usr/lib/libcma.2 /usr/lib/libdce.1 /usr/lib/libdce.2 DCE-Core.DCE-CORE-DTS,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /opt/dce/sbin/dtsd /opt/dce/lib/zoneinfo/Australia/NSW /opt/dce/lib/zoneinfo/Australia/Victoria DCE-Core.DCE-CORE-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /opt/dce/bin/passwd_export /opt/dce/bin/acl_edit /opt/dce/sbin/cdsadv /opt/dce/bin/dcecp /opt/dce/bin/rpccp /opt/dce/sbin/dced /opt/dce/bin/kdestroy /opt/dce/bin/klist /opt/dce/bin/uuidgen /opt/dce/dcecp/dir_ops.dcecp /opt/dce/dcecp/registry.dcp /opt/dce/bin/dce_config /opt/dce/bin/pwd_config /opt/dce/bin/dce.rm /opt/dce/bin/dce.unconfig /opt/dce/newconfig/etc/opt/dce/dce_com_utils /opt/dce/bin/dce_shutdown /sbin/init.d/dce /sbin/init.d/Rpcd /usr/lib/libdcedpvt.1 /usr/lib/libdcecp.1 what(1) Output: DCE-Core.DCE-JPN-E-MSG,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/lib/nls/msg/ja_JP.eucJP/dcelib.cat: None /usr/lib/nls/msg/ja_JP.eucJP/dcesad.cat: None /usr/lib/nls/msg/ja_JP.eucJP/dcetcl.cat: None DCE-Core.DCE-JPN-S-MSG,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/lib/nls/msg/ja_JP.SJIS/dcelib.cat: None /usr/lib/nls/msg/ja_JP.SJIS/dcesad.cat: None /usr/lib/nls/msg/ja_JP.SJIS/dcetcl.cat: None DCE-Core.DCEC-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/share/man/man1.Z/uuidgen.1: None /usr/share/man/man1m.Z/passwd_export.1m: None /usr/share/man/man5.Z/passwd_override.5: None /usr/share/man/man1m.Z/dced.1m: None /usr/share/man/man1m.Z/dcecp_cdsalias.1m: None DCE-Core.DCE-CORE-SHLIB,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/lib/libcma.1: HP DCE/9000 1.5 PHSS_27962-65 Module: libcma.1 (Expo rt) Date: Oct 3 2002 10:43:57 /usr/lib/libcma.2: HP DCE/9000 1.7-1.7.1 PHSS_27962-65 Module: libcma.2 (Export) Date: Sep 27 2002 21:10:05 /usr/lib/libdce.1: dpeaclstore.c 7 (DECdns) 11/17/1991 dpeaclaccess.c 4 (DECdns) 12/11/1991 qarith_lib.c 7 (DECdns) 11/9/1990 krb5rpc.c 3 - 10/10/91 krb5-manual-glue.c 13 - 12/12/91 rc_base.c 3 - 10/24/91 localaddr.c 3 - 10/24/91 locate_kdc.c 3 - 10/24/91 HP DCE/9000 1.5 PHSS_19739-40 Module: libdce.sl (Exp ort) Date: Sep 6 1999 18:22:15 rec_seq.c 8.2 (Berkeley) 9/7/93 libXOM 1.9 (BULL S.A) 7/1/92 $RCSfile: environment.c,v $ $Revision: /main/HPDCE02 /2 $ (OSF) $Date: 1994/12/05 19:53 UTC $ /usr/lib/libdce.2: dpeaclstore.c 7 (DECdns) 11/17/1991 dpeaclaccess.c 4 (DECdns) 12/11/1991 qarith_lib.c 7 (DECdns) 11/9/1990 krb5rpc.c 3 - 10/10/91 krb5-manual-glue.c 13 - 12/12/91 rc_base.c 3 - 10/24/91 localaddr.c 3 - 10/24/91 locate_kdc.c 3 - 10/24/91 HP DCE/9000 1.7-1.7.1 PHSS_29963 Module: libdce.2 (E xport) Date: Nov 11 2003 00:09:07 rec_seq.c 8.2 (Berkeley) 9/7/93 libXOM 1.9 (BULL S.A) 7/1/92 $RCSfile: environment.c,v $ $Revision: /main/HPDCE02 /HPDCE_64/1 $ (OSF) $Date: 1997/11/06 19:44 UTC $ DCE-Core.DCE-CORE-DTS,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /opt/dce/sbin/dtsd: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ HP DCE/9000 1.7-1.7.1 PHSS_27962-65 Module: dtsd (Ex port) Date: Sep 27 2002 21:54:02 /opt/dce/lib/zoneinfo/Australia/NSW: None /opt/dce/lib/zoneinfo/Australia/Victoria: None DCE-Core.DCE-CORE-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /opt/dce/bin/passwd_export: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ HP DCE/9000 1.7-1.7.1 PHSS_27962-65 Module: passwd_e xport (Export) Date: Sep 27 2002 21:57:41 /opt/dce/bin/acl_edit: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ HP DCE/9000 1.7-1.7.1 PHSS_27962-65 Module: acl_edit (Export) Date: Sep 27 2002 21:57:00 /opt/dce/sbin/cdsadv: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ dpeaclstore.c 7 (DECdns) 11/17/1991 dpeaclaccess.c 4 (DECdns) 12/11/1991 HP DCE/9000 1.7-1.7.1 PHSS_27962-65 Module: cdsadv ( Export) Date: Sep 27 2002 22:02:57 /opt/dce/bin/dcecp: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ HP DCE/9000 1.7-1.7.1 PHSS_27962-65 Module: dcecp (E xport) Date: Sep 27 2002 22:08:19 /opt/dce/bin/rpccp: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ HP DCE/9000 1.7-1.7.1 PHSS_27962-65 Module: rpccp (E xport) Date: Sep 27 2002 21:52:49 /opt/dce/sbin/dced: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ krb5rpc.c 3 - 10/10/91 krb5-manual-glue.c 13 - 12/12/91 rc_base.c 3 - 10/24/91 localaddr.c 3 - 10/24/91 locate_kdc.c 3 - 10/24/91 HP DCE/9000 1.7-1.7.1 PHSS_27962-65 Module: dced (Ex port) Date: Sep 27 2002 22:06:47 $RCSfile: environment.c,v $ $Revision: /main/HPDCE02 /HPDCE_64/1 $ (OSF) $Date: 1997/11/06 19:44 UTC $ /opt/dce/bin/kdestroy: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ krb5rpc.c 3 - 10/10/91 krb5-manual-glue.c 13 - 12/12/91 rc_base.c 3 - 10/24/91 localaddr.c 3 - 10/24/91 locate_kdc.c 3 - 10/24/91 HP DCE/9000 1.7-1.7.1 PHSS_27962-65 Module: kdestroy (Export) Date: Sep 27 2002 21:58:12 $RCSfile: environment.c,v $ $Revision: /main/HPDCE02 /HPDCE_64/1 $ (OSF) $Date: 1997/11/06 19:44 UTC $ /opt/dce/bin/klist: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ krb5rpc.c 3 - 10/10/91 krb5-manual-glue.c 13 - 12/12/91 rc_base.c 3 - 10/24/91 localaddr.c 3 - 10/24/91 locate_kdc.c 3 - 10/24/91 HP DCE/9000 1.7-1.7.1 PHSS_27962-65 Module: klist (E xport) Date: Sep 27 2002 21:58:07 $RCSfile: environment.c,v $ $Revision: /main/HPDCE02 /HPDCE_64/1 $ (OSF) $Date: 1997/11/06 19:44 UTC $ /opt/dce/bin/uuidgen: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ HP DCE/9000 1.7-1.7.1 PHSS_27962-65 Module: uuidgen (Export) Date: Sep 27 2002 21:52:40 /opt/dce/dcecp/dir_ops.dcecp: None /opt/dce/dcecp/registry.dcp: None /opt/dce/bin/dce_config: HP DCE/9000 1.7.1 Module: dce_config $Revision: /main/HPDCE02/103 $ $D ate: 1997/08/26 19:23 UTC $ /opt/dce/bin/pwd_config: None /opt/dce/bin/dce.rm: HP DCE/9000 1.7.1 Module: dce.rm $Revision: /main/HPDCE02/DAVIS_FIX/1 $ $Date: 1997/09/26 05:33 UTC $ /opt/dce/bin/dce.unconfig: HP DCE/9000 1.7.1 Module: dce.unconfig $Revision: /main/HPDCE02/18 $ $ Date: 1997/08/20 15:41 UTC $ /opt/dce/newconfig/etc/opt/dce/dce_com_utils: HP DCE/9000 1.7.1 Module: dce_com_utils $Revision: /main/HPDCE02/30 $ $Date: 1997/02/14 12:00 UTC $ /opt/dce/bin/dce_shutdown: HP DCE/9000 1.7.1 Module: dce_shutdown $Revision: /main/HPDCE02/18 $ $ Date: 1997/06/03 17:34 UTC $ /sbin/init.d/dce: HP DCE/9000 1.7.1 Module: init.d/dce /sbin/init.d/Rpcd: None /usr/lib/libdcedpvt.1: HP DCE/9000 1.7-1.7.1 PHSS_27962-65 Module: libdcedp vt.1 (Export) Date: Sep 27 2002 21:48:52 /usr/lib/libdcecp.1: HP DCE/9000 1.7-1.7.1 PHSS_27962-65 Module: libdcecp .sl (Export) Date: Sep 27 2002 21:52:24 cksum(1) Output: DCE-Core.DCE-JPN-E-MSG,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 3221264198 2525 /usr/lib/nls/msg/ja_JP.eucJP/dcelib.cat 3553768255 15492 /usr/lib/nls/msg/ja_JP.eucJP/dcesad.cat 672394148 25729 /usr/lib/nls/msg/ja_JP.eucJP/dcetcl.cat DCE-Core.DCE-JPN-S-MSG,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 1255434634 2525 /usr/lib/nls/msg/ja_JP.SJIS/dcelib.cat 693051226 15492 /usr/lib/nls/msg/ja_JP.SJIS/dcesad.cat 3222527963 25729 /usr/lib/nls/msg/ja_JP.SJIS/dcetcl.cat DCE-Core.DCEC-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 471347778 3620 /usr/share/man/man1.Z/uuidgen.1 1954537577 2513 /usr/share/man/man1m.Z/passwd_export.1m 2805483793 5098 /usr/share/man/man5.Z/passwd_override.5 3267724249 4622 /usr/share/man/man1m.Z/dced.1m 3484066681 3569 /usr/share/man/man1m.Z/dcecp_cdsalias.1m DCE-Core.DCE-CORE-SHLIB,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 608034588 528384 /usr/lib/libcma.1 103915678 540672 /usr/lib/libcma.2 1599499158 4812800 /usr/lib/libdce.1 3955260640 4853760 /usr/lib/libdce.2 DCE-Core.DCE-CORE-DTS,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 4221034630 399056 /opt/dce/sbin/dtsd 10194180 727 /opt/dce/lib/zoneinfo/Australia/NSW 2464500849 727 /opt/dce/lib/zoneinfo/Australia/Victoria DCE-Core.DCE-CORE-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 3363453514 59088 /opt/dce/bin/passwd_export 2845349131 95952 /opt/dce/bin/acl_edit 1986270504 685776 /opt/dce/sbin/cdsadv 1716264476 595664 /opt/dce/bin/dcecp 3277080086 71376 /opt/dce/bin/rpccp 1405049187 1566416 /opt/dce/sbin/dced 920717075 1300176 /opt/dce/bin/kdestroy 952196478 1304272 /opt/dce/bin/klist 653275028 38608 /opt/dce/bin/uuidgen 3936541434 20500 /opt/dce/dcecp/dir_ops.dcecp 1866852517 6372 /opt/dce/dcecp/registry.dcp 585058562 191555 /opt/dce/bin/dce_config 3503561030 20078 /opt/dce/bin/pwd_config 569628127 10772 /opt/dce/bin/dce.rm 220590561 7420 /opt/dce/bin/dce.unconfig 1073282335 32290 /opt/dce/newconfig/etc/opt/dce/ dce_com_utils 1073657587 8876 /opt/dce/bin/dce_shutdown 1477388754 26356 /sbin/init.d/dce 4060002691 3621 /sbin/init.d/Rpcd 3236069720 176128 /usr/lib/libdcedpvt.1 1569229561 1454080 /usr/lib/libdcecp.1 Patch Conflicts: None Patch Dependencies: s700: 11.00: PHKL_23956 PHCO_23706 s800: 11.00: PHKL_23956 PHCO_23706 Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_17810 PHSS_20444 PHSS_21614 PHSS_27962 Equivalent Patches: None Patch Package Size: 6890 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_29963 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_29963.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_29963. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false 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 PHSS_29963.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_29963.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_29963.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: For this patch to take effect Stop and Start all DCE daemons and application processes OR reboot the machine after the patch is installed. For the fix JAGad71555 to take effect, export HP_CMA_CATCH_SYNC=1. When this environment variable is set to 1, exception handling of synchronous signals via TRY-CATCH block is enabled. Setting this variable may overwrite the stack with exception handling code in the case of unexpected abort of program. Guidelines for installing the DCE Patch: DCE Patches are usually released as a set of 3 patches, namely: 1. Runtime cumulative patch 2. Server/DevTools patch 3. Domestic Patch. This is the latest of the DCE Runtime cumulative patches. The corresponding DCE Server/DevTools cumulative patch is patch PHSS_30401 and there is no corresponding DCE Domestic cumulative patch. After installing this DCE Runtime patch, do not install any of the earlier DCE Runtime, DCE Server/DevTools or DCE Domestic patches. Should you need to install the latest DCE Domestic patch, then please do so before installing this DCE Runtime patch. In this case the order of installation becomes: DCE Runtime patch PHSS_27962, DCE Server/DevTools patch PHSS_27964 if required, DCE Domestic patch PHSS_27965 if required, DCE Runtime patch PHSS_29963, this patch, DCE Server/DevTools patch PHSS_30401 if required.