Patch Name: PHSS_29964
Patch Description: s700_800 11.11 HP DCE/9000 1.8 DCE Client IPv6 patch
Creation Date: 03/11/12
Post Date: 03/11/17
Hardware Platforms - OS Releases:
s700: 11.11
s800: 11.11
Products: N/A
Filesets:
DCE-Core.DCEC-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP
DCE-Core.DCE-CORE-DTS,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP
DCE-Core.DCE-CORE-RUN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP
DCE-Core.DCE-CORE-SHLIB,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP
DCE-Core.DCE-COR-64SLIB,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP
Automatic Reboot?: No
Status: General Release
Critical:
Yes
PHSS_29964: ABORT
PHSS_29669: HANG ABORT
PHSS_28386: MEMORY_LEAK ABORT
PHSS_26394: MEMORY_LEAK ABORT HANG
Category Tags:
defect_repair enhancement general_release critical
halts_system memory_leak
Path Name: /hp-ux_patches/s700_800/11.X/PHSS_29964
Symptoms:
PHSS_29964:
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. JAGae65000 :
In the single user mode, the swlist command dumps core
with the SIGABRT signal.
4. JAGae60649 :
The swcopy command fails to execute for large amount of
data and displays an error message "communication
failure" for the UDP protocol and "connection closed" for
the TCP protocol.
5. JAGae64263 :
DCE/RPC applications fail to register their endpoints
when the environment variable, RPC_DISABLE_LOCAL is
exported.
6. JAGae66059 :
The cdsadv daemon does not behave properly for certain
type of addresses.
7. JAGae98657 :
The rpcd/dced daemon dumps core due to an illegal state
transition.
PHSS_29669:
1. JAGae87368 :
rpcd either aborts and core dumps; or hangs after
calling cma__bugcheck().
2. JAGae77664 :
On interrupting the command "swlist -l | more "
using either Ctrl C or quit, the command hangs and
consumes 100% CPU.
PHSS_28386:
1. 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.
2. JAGad88128 : Password change in the
/etc/opt/dce/passwd_override does not work if system date
is changed backwards.
3. JAGad82749/JAGae29167 : When multiple client
requests are canceled before completion, memory
leak occurs in the rpcd/dced process.
4. JAGae39434 : dtsd logs error message when shutting
down.
5. JAGaa39906 : The camigrate command on HP-UX 11.XX
should be obsoleted.
6. JAGae41968/JAGae56569 : The dce daemon (dced/rpcd)
does not start up when the file system's block size is
set to 64K.
7. JAGae41050 : DCE startup script results in the following
error:
"ERROR:dced could not create /opt/dcelocal/var/security/sec_
clientd.binding".
8. JAGae41059 : When an rpc application server is not
running, the v6 endpoints are not deleted.
9. JAGae52205 : A threaded application that links to
libcma, some times, exits unexpectedly after the system
call accept() has been made.
10. JAGae44048 : The time service daemon dtsd on the
client system aborts if the dce daemon (dced) on the
master server system is not running.
11. JAGae51228 : The RPC call on an IPv6 enabled
DCE-client results in misinterpretation of data in the
parameters that are used for communication.
12. JAGad15130 : The ilogind process is killed and the
following error message is displayed:
"Assertion failed: found_present == 1 message"
PHSS_27799:
1. JAGae37895 : A multithreaded program linking to libcma
encounters a stack overflow when it gets SIGPIPE signal.
2. JAGae39251 : Exception handling for some synchronous
signals in libcma overwrites original stack and makes
core analysis difficult.
PHSS_27258:
1. JAGae28955 : Unexpected behavior of servers.
PHSS_26394:
1. JAGad39828 : Some message catalog files from the
DCE-Core product are left over after upgrading from HP-UX
10.20 to HP-UX 11.11.
2. JAGad24804 : When a program which makes use of
cma_select is compiled, CC (C++) compiler fails with error
while cc just displays warning message.
3. JAGad29636 : When a program that uses the functions
pthread_getspecific, pthread_cond_wait and pthread_detach is
compiled, it links to pthread_* functions instead of ptdexc_
* functions. Because of this, when any of the pthread_*
functions are compiled with CC (C++ compiler) it fails,
with a type mismatch error.
4. JAGad42160 : A kernel threaded application (Encina
processes, DCE server application) hangs while processing
an incoming RPC.
5. JAGad38604 : The output of a dcecp command is
inconsistent.
6. JAGad54035 : cdsadv core dumps in intercell environment
7. JAGad40128 : When rpc_g_ns_exp_age variable is set to
the default value, RPC fails in Encina environment.
8. 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
9. 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.
10. JAGad89199 : Improper type for "status" in
rpc__set_supported_netaddrs_from_string
11. JAGae05071 : The RPC application server exits
abnormally when an RPC client attempts to import a binding
from CDS, and gets a v6 binding
12. JAGae01595 : When rpcd is started, some extraneous
directories are created under the directory
/opt/dcelocal/var/rpc/local because of the new protocol
sequence introduced to support IPv6.
13. JAGad66256 : rpc__dg_call_end() doesn't call
RPC_UNLOCK(0) when it is canceled and hence the
application deadlocks.
14. JAGad72156 : RPC client application enters deadlock
in ccall_binding_serialize().
15. JAGad86480 : When forking repeatedly, an RPC server
application exits abnormally.
16. JAGad86481 : RPC server application deadlocks when a
cancel is posted.
17. JAGae05084 : The C main() function should be able to
call C++ functions when linked to libcma.
18. JAGad43157 : When "dcecp -c registry designate
replica -master" is executed it displays the following
error:
Error: Group member not found
19. JAGad85085 : While in the function
retry_assoc_action_rtn(), the RPC application is getting an
assertion failure error in the network receiver thread.
20. JAGad71555 : A TRY-CATCH block does not catch
synchronous terminating signals. Instead it dumps core when
the signal is caught.
21. JAGad96077 : pthread_create of DCE thread returns
success but sets errno to EBADF.
22. JAGae02583 : rpccp/dcecp fails with an error message
"Not an RPC tower" which occurs on on NT endpoint maps.
23. JAGae06778 : Due to corruption of buffers returned by
malloc(), a 64-bit dce application is dumping core.
24. JAGad88114 : Memory leak in secd occurs during
authentication.
25. JAGae17560 : When an IPv6 lan interface is marked
'down', dced does not come up. The following is logged in
/opt/dcelocal/var/svc/fatal.log:
2002-04-08-06:43:05.263+00:00I----- dced FATAL dhd general
main.c 720 0x7afc55d8
Cannot use '*all*' protocol sequence, File exists
26. JAGae14871 : Any binary linking with libxnet, libcma
and calling: send , sendto, recv, recvfrom would dump core
on 11.11.
27. JAGae16799 : Japanese characters are displayed
incorrectly.
28. JAGad73270 : samd and opcctla have startup problems.
29. JAGad78412 : RPC servers don't listen on IPv4
addresses on IPv6 machines.
PHSS_25710:
1.JAGad90866 : MeasureWare application fails to start
on IPv6 enabled machine due to IPv6 implementation error
related to the rpc_server_inq_bindings() API.
PHSS_25473:
1.JAGad88751 : Audio Server will not start with
IPv6NCF11i bundle.
2.JAGad90107 : Any application compiled with libSocks.1
results in the following error message :
/usr/lib/dld.sl: Unresolved symbol: dce_g_ipv6_enabled
(data) from /usr/lib/libd4r.1
3.JAGad93739 : DCE client does not come up with
IPv6NCF11i bundle after reboot and restart of DCE client
daemons.
PHSS_24261:
1.JAGad69277: IPv6 Enabling of DCE-Client on 11.11.
Defect Description:
PHSS_29964:
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 been changed with a proper
error return value to handle certain invaild packets.
3. JAGae65000 :
Due to the socket() system call failure in the single
user mode, RPC runtime induces the SIGABRT signal which
terminates the application, and the error message is
logged in the /var/opt/dce/svc/fatal.log file.
Resolution :
Code has been modified to only log the failure in the
/var/opt/dce/svc/error.log file, and not to terminate the
application.
4. JAGae60649 :
In the UDP protocol, swcopy fails due to a timing issue
between the call threads stoppage and listener thread
stoppage in the rpc_mgmt_stop_server_listening()
function. In the TCP protocol, swcopy fails because the
server application exits while the client is still
marshalling data.
Resolution:
In the UDP protocol, the timing issue between the
listener thread and the call threads stoppage is now
tuned properly; and in the TCP protocol, the client
receiver thread exits only after marshalling the data.
5. JAGae64263 :
The environment variable RPC_DISABLE_LOCAL exported by
the DCE/RPC applications causes rpc runtime to use UNIX
domain sockets for rpc communications. The UNIX domain
sockets are not handled properly by rpc runtime.
Resolution:
The RPC runtime behavior is modified to handle the UNIX
domain sockets properly when the RPC_DISABLE_LOCAL
environment variable is exported.
6. JAGae66059 :
The size of data structures used to get cds bindings is
not adequate to hold certain type of addresses. As
a result, the cdsadv daemon does not behave properly.
Resolution:
The size of the data structures is now modified to handle
all types of addresses properly.
7. 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_29669:
1. JAGae87368 :
rpcd either aborts and core dumps; or hangs due to a
failed fstat() call in libcma.
Resolution:
CMA code has been modified to handle the new fstat()
behavior.
2. JAGae77664 :
Interrupting the command "swlist -l | more "
using either Ctrl C or quit results in a broken pipe
which causes the command to hang & consume 100% CPU.
Resolution:
The return value of the cma_write() routine when there
is a broken pipe as a result of an interrupt is now
handled appropriately.
PHSS_28386:
1. 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.
2. 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 every time
the password is changed.
3. JAGad82749/JAGae29167 : When a client is
abnormally terminated, the thread of the server
which is executing the client call does not free the
memory. This results in a memory leak.
Resolution: Code has been modified to free the
memory if the client is abnormally terminated.
4. JAGae39434 : dtsd logs error messages since
credential files are removed before the dts
daemon is stopped.
Resolution : All the dce daemons are stopped before
removing all the credential files.
5. JAGaa39906 : The camigrate utility should not be
delivered on HP-UX 11.XX as the update path for the
KingKong CDS is not supported anymore.
Resolution : The camigrate utility is removed through
the postinstall script.
6. JAGae41968/JAGae56569 : Access to the directory
/var/opt/dce fails during the startup of dced, as the
existing implementation does not support a file system
of blocksize greater than 32K.
Resolution : The hash bucket size is set to 32K,
if the file system's block size is greater than 32K
7. JAGae41050 : On an IPv6 configured machine, the DCE
startup script fails when the environmental variables
RPCD_BIND_ADDRS and RPC_SUPPORTED_NETADDRS are exported to
the following values respectively: "1",
"v4_protocol_seq:v4address, v6_protocol_seq:v6address". This
is because rpcd will try to create sockets for each address
exported with all the protocol sequences (including invalid
combinations like "v4_protocol_seq:v6address and
v6_protocol_seq:v4address") supported by the system.
Resolution : The code has been modified so that sockets
will not be created for the following combinations.
"v4_protocol_seq:v6address" and "v6_protocol_seq:v4address".
8. JAGae41059 : When a rpc application server that exports
v6 bindings to the endpoint database is killed, the function
that monitors the endpoint database for valid bindings does
not remove the v6 bindings.
Resolution : The function has been modified to remove all
UDP and TCP v6 endpoints, when their respective servers
are not up and running.
9. JAGae52205 : The accept() call in cma in turn calls
fstat() to obtain socket information. Sometimes, fstat()
returns an error number, which is not handled in the code,
due to which the problem occurs.
Resolution : The code is modified to handle all possible
error numbers returned from fstat(), which is called
through accept() in cma.
10. JAGae44048 : When the dce daemon (dced) on the master
system is not running the time service daemon dtsd cannot
communicate with master servers, secd and cdsd, in order
to either get security related information from registry
server secd or export the bindings to Name Server (cdsd).
Hence the time service daemon dtsd dumps core after
waiting for a specific period of time.
Resolution : dtsd now exits instead of aborting.
11. JAGae51228 : The parameters get corrupted when an rpc
application linked with a non-IPv6 rpc runtime library
is communicating over the UDP protocol, with another
rpc application that is linked with an IPv6 rpc runtime
library.
Resolution : Backward compatibility has been established
with the RPC forwarding mechanism.
12.JAGad15130 : ilogind exits with assertion because it is
trying to free up a login context from the cache which it is
not able to access.
Resolution: Code has been modified to avoid forced freeing
of a cache item. Thus, resolving the assertion
failure.
PHSS_27799:
1. 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: An error message is not reported when SIGPIPE
is handled.
2. JAGae39251 : The TRY-CATCH exception handling code that
is executed when a synchronous signal is received will
overwrite the stack.
Resolution : A new environment variable
"HP_CMA_CATCH_SYNC" has been introduced, which when set
will enable synchronous signal handling via TRY-CATCH.
PHSS_27258:
1. JAGae28955 : Arguments were not handled properly.
Resolution: Argument handling has been corrected.
PHSS_26394:
1. JAGad39828 : The pre-installation script does not
exist.
Resolution: The pre-installation script has been included to
remove the leftover files.
2. JAGad24804 : The data type of the second, third, and
fourth argument for cma_select() that is declared in
cma_ux.h, has to be set as fd_set *,rather than int*. The
existing declaration of cma_select is:
cma_select (int, int*, int*, int*, struct timeval *)
Resolution: The declaration has now been changed to:
cma_select(int, fd_set*, fd_set*, fd_set*, struct timeval *)
3. JAGad29636 : Programs using the functions
pthread_getspecific, pthread_cond_wait and pthread_detach
link to the pthread_* function declared in /usr/include/sys
/pthread.h instead of the ptdexc_* functions declared in
/usr/include/dce/pthread_exc_kt.h
Resolution: The #defines for pthread_getspecific,
pthread_cond_wait and pthread_detach has been added.
Definition for pthread_getspecific was added to
pthread_exc_kt.c
4. JAGad42160 : The RPC client server application hangs on
shut down. The problem occurs if a new rpc request is
received immediately after the listener thread has
successfully stopped all of its cthreads (rpc__cthread_stop_
all returns successfully), and before the listener thread
socket itself is closed.
Resolution: Code has been modified to change the order of
shutdown i.e., first close the listener socket and then stop
the call threads.
5. JAGad38604 : When the
"dcecp>acl show /.:/ -entry" command is executed
with acl show command, the output changes even if the acl
for the user is not modified. This is because the pointer
that holds the variable is not initialized.
Resolution: The pointer variable ("residual") that caused
the wrong behavior is initialized to NULL, which prevents
the previous iteration's stack value to be used.
6. JAGad54035 : cdsadv dumps core due to memory corruption
in sec_login_db_search_and_store_entry() which is a part of
libdce.2. A malloced pointer is freed by rpc_ss_free().
Resolution: The rpc_ss_allocate() is used to allocate memory
, so that rpc_ss_allocate() and rpc_ss_free() are in
synchronization. This avoids the memory corruption.
7. JAGad40128 : As clerk cache persists 8 through 12
hours, they tend to get stale cache and RPC fails,
especially on Encina environment.
Resolution: A configurable parameter "cdsclerk.ns_exp_age"
in /etc/opt/dce/cds.conf, is now added. Also, a variable
"ns_exp_age" is added to tune the rpc_g_ns_exp_age. If
ns_exp_age is defined in /etc/opt/dce/cds.conf file, then
rpc_g_ns_exp_age will be set to this value, else it is set
to the default value.
8. 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.
9. 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.
10. 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 as
a pointer to unsigned integer.
11. JAGae05071 : RPC maintains all information about the
servers like uuid, ip address etc., in a tower format. The
client recognizes that it can understand a certain tower
information by checking the protocol code in the lower
layers of the tower. If the protocol code for IPv4 and IPv6
is the same, a non-v6 application client would interpret a
v6 tower as a v4 tower,thus interpreting v6 addresses as v4
addresses. This resulted in the rpc application server to
exit abnormally.
Resolution: The protocol code for IPv4 and IPv6 has been
changed.
12. JAGae01595 : The files in /opt/dcelocal/var/rpc/local
directory contain the UNIX domain sockets created by rpcd.
A client socket is created under /opt/dcelocal/var/rpc/local
//c-, where pid is the process id of the
process, and protseq_id is the protocol sequence used. When
files are created with the new protocol sequences (added to
support IPv6), the file structure does not follow the above
syntax, and thus some extraneous files are created. This
results in a communication failure between a pure v6 server
and rpcd.
Resolution: The above defect resulted due an incorrect check
for IPv6. This has been modified appropriately.
13. JAGad66256 : When the thread in an application is
canceled in rpc__dg_call_end(), and it holds the global
lock rpc_g_global_mutex(), pthread_mutex_lock() deadlocks.
Resolution: The pthread_cleanup routine is now implemented
in rpc__dg_call_end(), so that when the thread is canceled,
the new cleanup routine will call RPC_UNLOCK to unlock the
global mutex, thus resolving the deadlock.
14. JAGad72156 : An Encina client (RPC client) application
sometimes encounters a problem, when the server aborts. The
problem was that an RPC client stub routine is blocked on a
condition variable in ccall_binding_serialize(), and never
returns from the function. This leads to the application
entering a deadlock.
Resolution: The call to RPC_BINDING_COND_BROADCAST() after
the variable calls_in_progress, is decremented to 0 in rpc__
dg_call_end. This will convert any other threads that are
waiting on this condition variable to ready state.
15. JAGad86480 : In a RPC server application, a repeated
fork makes the application receive unhandled exception and
exits abnormally. Due to the timing, the condition for the
listener loop is not satisfied, and the listener thread is
not in the listener loop. Therefore, the cancel gets posted
on the thread which is not running (During the fork
operation the listener is canceled and started). The
variable used for the loop testing is set improperly because
of the timing.
Resolution: The do/while loop is now changed to while loop
in the lthread call, so that the loop is executed at least
once.
16. JAGad86481 : During fork, the lthread is canceled and
started again. While doing so, if the call is in network
dispatch and gets canceled , then the global mutex is
locked and is not unlocked.
Resolution: The fix is to disable the cancel in the lthread
before the network dispatch call and enable it back to the
original state after the call.
17. JAGae05084 :The C++ runtime is initialized when _main()
in libCsup is called. This is not done even when libCsup is
linked to an executable.
Resolution: The C++ runtime library is now initialized when
a program is linked to libcma.
18. JAGad43157 : When the master replica is absent, and if
the user tries to convert the slave replica to master by
issuing 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.
19. JAGad85085: If the user has some DCE clients that are
from old OSF version 1.0, packets from the older version of
DCE clients (OSF version 1.0) are returned to the server,
enforcing the usage of retry_assoc_action_rtn(). The
association between the client and server is maintained as a
static object, when it should have been a dynamic object
resulting in assertion failure.
Resolution: The association is now made maintained as a
dynamic object.
20. JAGad71555 : The signal handlers are set by the
function that initializes CMA. Hence, either an explicit
call to the initialization function must be made or the
TRY-CATCH block must be executed by a separate thread
(which ensures that the initialization function has been
called). An 'if' statement in the signal handler ensures
that if the exception did not occur within a TRY block,
then the default behavior for that exception is set
which will make it to dump core. The else part of this
ensures that if the exception occurred within a TRY
block, the exception is raised such that it can be caught
by the CATCH block. however, the default behavior was
being set regardless of whether the exception occurred
within a TRY block or not.
Resolution: The function cma___sig_sync_term should be
modified to make the if - else statement function as
intended.
21. JAGad96077 : When pthread_create() is called, fcntl
calls are made to obtain all valid file description for this
thread. If the last fcntl() call returns EBADF the same is
carried back to pthread_create().
Resolution: Clear errno after initialization of cma fd table
22. JAGae02583 : When a tower with NT protocol version is
encountered, rpccp does not recognize it as a valid tower.
Resolution: The unknown protocol version is bypassed, and
rpccp/dcecp continues to show the other binding handle
information.
23. JAGae06778 : Buffer returned by malloc is getting
truncated to 32 bits and is causing unexpected behavior.
Resolution: Code has now been modified to accept the return
value of malloc as "long" instead of "int".
24. 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.
25. JAGae17560 : When the dced daemon is being started a
check for whether V6 is configured and the interface is up
is to be made. Check for interface is up was missing hence
the failure to start dced.
Resolution: The check for v6 enablement of the machine now
includes a check for whether the lan interface is 'up' or
not.
26. JAGae14871 :The cma wrappers for the following libxnet
calls does not exist : send, sendto, recv, recvfrom
Resolution: Added the corresponding cma wrappers to the
_sysepv vector.
27. JAGae16799 : cma_system() uses /sbin/sh instead of
/usr/bin/sh which supports multibyte character set.
Resolution: Code modified in cma_system() to use
/usr/bin/sh, if present else use /sbin/sh.
28. JAGad73270 : The check for whether the machine has an
IPv6 address was not done.
Resolution: Code modified to check for presence of
configured IPv6 addresses.
29. JAGad78412 : The binding vector did not contain v4
addresses.
Resolution: Code modified so that the binding vector
contains both IPv4 and IPv6 addresses.
PHSS_25710:
1.JAGad90866 : The RPC API, rpc_server_inq_bindings()
returns the rpc binding handle vector. This vector is
processed to obtain the string binding which holds the
network address. During the IPv6 porting, changes
were made to this API so that it returned IPv6
addresses in addition to IPv4 mapped IPv6 address. Any
pure IPv4 application referring to
rpc_server_inq_bindings() resulted in obtaining the
binding vector, which held IPv4 mapped IPv6 address,
not understood by IPv4 applications.
Resolution: Existing rpc_server_inq_bindings() API
returns binding vector with IPv4
addresses. A new API rpc_server_inq_all_bindings()
has been provided to handle IPv6 addresses.
PHSS_25473:
1.JAGad88751 : Decision on the kind of Unix socket to
be created was done by using a global variable. However,
only one global instance of the variable was provided.
Resolution: We have designed a linked list that will be
used to stash the process id of the process. Two new fun-
ctions pid_list_insert and pid_list_retrieve in rpclocal.c
will be used to insert and retrieve data from this list.
The endpoint of the address is used as an index into the
linked list. Also, when an address for building a
binding_handle is chosen, we chose a v6 address if one is
present. Previously, a v4 mapped address was getting
chosen even if a v6 address was present. The size of a
structure in llb.idl was changed to accommodate v6
address.
2.JAGad90107:Applications using SOCKS APIs compiled with
libSocks library result in unresolved symbol
"dce_g_ipv6_enabled", however applications linked with
-ldce also dump core during execution.
Resolution: One of the object viz., getXbyY.o in libd4r.1
is modified to eliminate the problem of unresolved
references to dce_g_ipv6_enabled and the applications
using libSocks need not link with -ldce.
3.JAGad93739 : The problem occurs on a machine where IPv6
address is not configured.
During the IPv6 code changes the part of the IPv4 code
was changed so that a functional block was mis-aligned.
And so a condition was being evaluated and not executing
the proper code path because of the misaligned block.
Resolution: Fixed the mis-aligned code blocks with
proper braces.
PHSS_24261:
1. JAGad69277 : All enhancements related to IPv6 DCE-
Client.
Resolution: DCE-Client code is modified to include IPv6
changes. The modifications ensures the co-existence of
both IPv4 and IPv6 code and resolution will be made at
run time.
Enhancement:
No (superseded patches contained enhancements)
PHSS_26394:
Enabling IPv6 functionality for DCE Client.
SR:
8606170564 8606155487 8606160312 8606172900 8606169328
8606184829 8606170864 8606207589 8606141321 8606220058
8606236005 8606232358 8606197059 8606202982 8606217328
8606217329 8606236017 8606173904 8606215911 8606202381
8606227015 8606233359 8606237735 8606218966 8606221732
8606219611 8606220971 8606224651 8606200093 8606204092
8606209225 8606251495 8606248473 8606250424 8606264626
8606157068 8606218980 8606213557 8606264836 8606275359
8606280240 8606277907 8606292817 8606276976 8606276985
8606288274 8606280073 8606287288 8606145794 8606273813
8606275174 8606325078 8606314922 8606335138 8606335500
8606301555 8606297130 8606300793 8606302700 8606337651
Patch Files:
DCE-Core.DCEC-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
/usr/share/man/man1m.Z/passwd_export.1m
/usr/share/man/man5.Z/passwd_override.5
DCE-Core.DCE-CORE-DTS,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
/opt/dce/sbin/dtsd
DCE-Core.DCE-CORE-RUN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
/usr/lib/libdcedpvtkt.1
/usr/lib/libdcedpvt.1
/usr/lib/libdcecpkt.1
/usr/lib/libdcecp.1
/opt/dce/sbin/cdsadv
/opt/dce/bin/dcecp
/opt/dce/bin/rpccp
/opt/dce/sbin/dced
/opt/dce/bin/getip
/opt/dce/bin/kdestroy
/sbin/init.d/dce
/opt/dce/bin/dce.unconfig
/opt/dce/bin/dce_shutdown
/opt/dce/bin/passwd_export
DCE-Core.DCE-CORE-SHLIB,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
/usr/lib/libdcekt.1
/usr/lib/libd4r.1
/usr/lib/libdce.1
/usr/lib/libdce.2
/usr/lib/libcma.1
/usr/lib/libcma.2
DCE-Core.DCE-COR-64SLIB,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
/usr/lib/pa20_64/libdcekt.1
what(1) Output:
DCE-Core.DCEC-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
/usr/share/man/man5.Z/passwd_override.5:
None
/usr/share/man/man1m.Z/passwd_export.1m:
None
DCE-Core.DCE-CORE-DTS,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
/opt/dce/sbin/dtsd:
HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP
32) $Revision: 75.02 $
HP DCE/9000 1.8 PHSS_28386-88 Module: dtsd Date: Jan
10 2003 00:28:50
DCE-Core.DCE-CORE-RUN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
/usr/lib/libdcedpvtkt.1:
HP DCE/9000 1.8 PHSS_28386-88 Module: libdcedpvtkt.1
Date: Jan 10 2003 01:08:23
/usr/lib/libdcedpvt.1:
HP DCE/9000 1.8 PHSS_28386-88 Module: libdcedpvt.1 D
ate: Jan 10 2003 00:27:50
/usr/lib/libdcecpkt.1:
HP DCE/9000 1.8 PHSS_28386-88 Module: libdcecpkt.sl
Date: Jan 10 2003 01:08:36
/usr/lib/libdcecp.1:
HP DCE/9000 1.8 PHSS_28386-88 Module: libdcecp.sl Da
te: Jan 10 2003 00:28:05
/opt/dce/sbin/cdsadv:
HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP
32) $Revision: 75.02 $
dpeaclstore.c 7 (DECdns) 11/17/1991
dpeaclaccess.c 4 (DECdns) 12/11/1991
HP DCE/9000 1.8 PHSS_29964 Module: cdsadv Date: Nov
7 2003 16:25:41
/opt/dce/bin/dcecp:
HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP
32) $Revision: 75.02 $
HP DCE/9000 1.8 PHSS_28386-88 Module: dcecp Date: Ja
n 10 2003 00:32:26
/opt/dce/bin/rpccp:
HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP
32) $Revision: 75.02 $
HP DCE/9000 1.8 PHSS_28386-88 Module: rpccp Date: Ja
n 10 2003 00:28:32
/opt/dce/bin/getip:
HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP
32) $Revision: 75.02 $
HP DCE/9000 1.8 PHSS_28386-88 Module: getip Date: Ja
n 10 2003 00:28:40
$RCSfile: getip.c,v $ $Revision: /main/HPDCE02/2 $ (
OSF) $Date: 1995/01/30 22:40 UTC $
/opt/dce/bin/kdestroy:
HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP
32) $Revision: 75.02 $
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.8 PHSS_28386-88 Module: kdestroy Date:
Jan 10 2003 00:30:28
$RCSfile: environment.c,v $ $Revision: /main/HPDCE02
/HPDCE_64/1 $ (OSF) $Date: 1997/11/06 19:44
UTC $
/sbin/init.d/dce:
HP DCE/9000 1.8
Module: init.d/dce
/opt/dce/bin/dce.unconfig:
HP DCE/9000 1.8
Module: dce.unconfig $Revision: /main/HPDCE02/18 $ $
Date: 1997/08/20 15:41 UTC $
/opt/dce/sbin/dced:
HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP
32) $Revision: 75.02 $
HP DCE/9000 1.8 PHSS_29964 Module: dced.Dom Date: No
v 7 2003 16:26:30
/opt/dce/bin/dce_shutdown:
HP DCE/9000 1.8
Module: dce_shutdown $Revision: /main/HPDCE02/18 $ $
Date: 1997/06/03 17:34 UTC $
/opt/dce/bin/passwd_export:
HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP
32) $Revision: 75.02 $
HP DCE/9000 1.8 PHSS_28386-88 Module: passwd_export
Date: Jan 10 2003 00:30:14
DCE-Core.DCE-CORE-SHLIB,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
/usr/lib/libdcekt.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.8 PHSS_29964 Module: libdcekt.1 Date:
Nov 7 2003 16:19:20
rec_seq.c 8.2 (Berkeley) 9/7/93
$RCSfile: environment.c,v $ $Revision: /main/HPDCE02
/HPDCE_64/1 $ (OSF) $Date: 1997/11/06 19:44
UTC $
libXOM 1.9 (BULL S.A) 7/1/92
/usr/lib/libd4r.1:
HP DCE/9000 1.8 PHSS_28386-88 Module: libd4r.1 Date:
Jan 7 2003 22:45:59
/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.1 (U.S.
/Canada only) Date: Sep 4 1999 07:37:55
rec_seq.c 8.2 (Berkeley) 9/7/93
$RCSfile: environment.c,v $ $Revision: /main/HPDCE02
/2 $ (OSF) $Date: 1994/12/05 19:53 UTC $
libXOM 1.9 (BULL S.A) 7/1/92
/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.8 PHSS_29964 Module: libdce.2 Date: No
v 7 2003 16:14:12
rec_seq.c 8.2 (Berkeley) 9/7/93
$RCSfile: environment.c,v $ $Revision: /main/HPDCE02
/HPDCE_64/1 $ (OSF) $Date: 1997/11/06 19:44
UTC $
libXOM 1.9 (BULL S.A) 7/1/92
/usr/lib/libcma.1:
HP DCE/9000 1.5 PHSS_29669 Module: libcma.1 (Export)
Date: Sep 6 2003 01:40:48
/usr/lib/libcma.2:
HP DCE/9000 1.8 PHSS_29669 Module: libcma.2 Date: Se
p 5 2003 23:21:29
DCE-Core.DCE-COR-64SLIB,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
/usr/lib/pa20_64/libdcekt.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.8 PHSS_29964 Module: libdcekt.1 Date:
Nov 7 2003 16:19:29
rec_seq.c 8.2 (Berkeley) 9/7/93
$RCSfile: environment.c,v $ $Revision: /main/HPDCE02
/HPDCE_64/1 $ (OSF) $Date: 1997/11/06 19:44
UTC $
libXOM 1.9 (BULL S.A) 7/1/92
cksum(1) Output:
DCE-Core.DCEC-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
1133207048 5099 /usr/share/man/man5.Z/passwd_override.5
3469245994 2450 /usr/share/man/man1m.Z/passwd_export.1m
DCE-Core.DCE-CORE-DTS,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
2159103246 412184 /opt/dce/sbin/dtsd
DCE-Core.DCE-CORE-RUN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
3850813006 184320 /usr/lib/libdcedpvtkt.1
1025950840 184320 /usr/lib/libdcedpvt.1
4125855312 1515520 /usr/lib/libdcecpkt.1
1967576583 1490944 /usr/lib/libdcecp.1
1810773123 711192 /opt/dce/sbin/cdsadv
116180606 612888 /opt/dce/bin/dcecp
2408980652 72216 /opt/dce/bin/rpccp
3623035767 31256 /opt/dce/bin/getip
2781657330 1403416 /opt/dce/bin/kdestroy
1066431519 26354 /sbin/init.d/dce
1539029945 7418 /opt/dce/bin/dce.unconfig
1369552736 346648 /opt/dce/sbin/dced
2525457518 8874 /opt/dce/bin/dce_shutdown
128143610 55832 /opt/dce/bin/passwd_export
DCE-Core.DCE-CORE-SHLIB,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
3568427913 5308416 /usr/lib/libdcekt.1
1473729676 73728 /usr/lib/libd4r.1
3226965394 4853760 /usr/lib/libdce.1
4269436813 5136384 /usr/lib/libdce.2
3576223673 532480 /usr/lib/libcma.1
125364855 565248 /usr/lib/libcma.2
DCE-Core.DCE-COR-64SLIB,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
2579028844 5911232 /usr/lib/pa20_64/libdcekt.1
Patch Conflicts: None
Patch Dependencies:
s700: 11.11: PHCO_24400
s800: 11.11: PHCO_24400
Hardware Dependencies: None
Other Dependencies: None
Supersedes:
PHSS_27799 PHSS_29669 PHSS_24261 PHSS_25473 PHSS_25710 PHSS_26394
PHSS_27258 PHSS_28386
Equivalent Patches: None
Patch Package Size: 10310 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_29964
5. Run swinstall to install the patch:
swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHSS_29964.depot
By default swinstall will archive the original software in
/var/adm/sw/save/PHSS_29964. 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_29964.text file is
available in the product readme:
swlist -l product -a readme -d @ /tmp/PHSS_29964.depot
To put this patch on a magnetic tape and install from the
tape drive, use the command:
dd if=/tmp/PHSS_29964.depot of=/dev/rmt/0m bs=2k
Special Installation Instructions:
1.
For this patch to take effect Stop and Start all
DCE daemons and application processes OR reboot
the system after the patch is installed.
To stop the DCE daemons use:
/sbin/init.d/dce stop
To start the DCE daemons use:
/sbin/init.d/dce start
2.
This patch includes the API, rpc_server_inq_all_bindings()
to handle both IPv4 and IPv6 addresses. The argument types
to this API are identical to those of the API,
rpc_server_inq_bindings(). Applications that require IPv6
bindings will need to use the new API,
rpc_server_inq_all_bindings() instead of the existing API,
rpc_server_inq_bindings(). The new API supports both IPv6
and IPv4 bindings.
Header file (dce/rpc.h) containing the prototype
of rpc_server_inq_all_bindings()
API is delivered in the s700_800 11.11 HP DCE/9000 1.8
Server/DevTools cumulative patch.
The behavior of the environment variable
RPC_SUPPORTED_NETADDRS has been modified as
follows:
When the RPC_SUPPORTED_NETADDRS environment
variable is set with IPv4 and IPv6 addresses,
ONLY the addresses exported will be used by RPC
runtime.
example: export RPC_SUPPORTED_NETADDRS=
ncacn_ip_tcp:15.70.179.110,ncacn_ipv6_tcp:fe80::2
When the environment variable is set with ONLY IPv4
addresses,the IPv4 addresses that are exported
and ALL IPv6 addresses configured will be used
by RPC runtime.
example: export RPC_SUPPORTED_NETADDRS=
ncacn_ip_tcp:15.70.179.110
When the environment variable is set with ONLY IPv6
addresses, the IPv6 addresses that are exported
and ALL IPv4 addresses configured will be
used by RPC runtime.
example: export RPC_SUPPORTED_NETADDRS=
ncacn_ipv6_tcp:fe80::2
NOTE: The usage of IPv6 addresses in all cases is
subject to the system being configured with minimum
one IPv6 address.
NOTE: This behavior is evident only when the
application uses the API rpc_server_inq_all_bindings().
NOTE: Applications using the API
rpc_server_inq_all_bindings(), which need to restrict
the addresses used by RPC runtime to ONLY IPv4 address,
can do so by using a combination of the environment
variables RPC_SUPPORTED_PROTSEQS and
RPC_SUPPORTED_NETADDRS.
example: To use ONLY IPv4 addresses export the following
environment variables:
export RPC_SUPPORTED_PROTSEQS=ncacn_ip_tcp
export RPC_SUPPORTED_NETADDRS=ncacn_ip_tcp:15.70.179.110
Similarly, to use ONLY IPv6 addresses, export the
following environment variables:
export RPC_SUPPORTED_PROTSEQS=ncacn_ipv6_tcp
export RPC_SUPPORTED_NETADDRS=ncacn_ipv6_tcp:fe80::2
3.
To enable exception handling via TRY-CATCH blocks,
export HP_CMA_CATCH_SYNC to any value.
Setting this variable may overwrite the stack with
exception handling code in the case of an unexpected
abort of program.