 |
≫ |
|
|
 |
パッチ名: PHNE_35514
パッチ摘要: s700_800 11.23 RPCコマンドおよびデーモン累積パッチ
作成日: 07/01/25
公開日: 07/02/06
ハードウェアプラットフォームおよびOSリリース:
s700: 11.23
s800: 11.23
現象:
PHNE_35514:
1.(SR:8606456394 CR:JAGag12805)
"-l"オプション付きのrpcbindを起動すると、コアダンプが取られます。
2.(SR:8606461972 CR:JAGag17899)
ログファイル名の長さが64文字を超えると、一部のNISデーモン(ypbind、
rpc.yppasswddおよびypserv)がログファイルを作成できません。
3.(SR:8606466173 CR:JAGag21697)
chkeyおよびnewkeyでの問題。
問題点の説明:
PHNE_35514:
1.(SR:8606456394 CR:JAGag12805)
ロギング関数の呼び出し時に、rpcbindは不正に、構造体へのポインタではな
く構造体をロギング関数に渡していました。そのため、IPFシステムの場合、
rpcbindでコアダンプが取られていました。
解決方法:
構造体へのポインタを指定してロギング関数を呼び出すようにrpcbindを修正
しました。
2.(SR:8606461972 CR:JAGag17899)
ログファイル名の長さが64文字を超えると、一部のNISデーモン内でバッファ
オーバーフローが起きていました。そのため、ログファイルを作成できません
でした。
解決方法:
ログファイル名を保持する配列の大きさを最大パス長に拡張しました。ファイ
ル名の長さが1023文字を超える場合は、ログファイル名を1023文字で切り捨て
ます。
3.(SR:8606466173 CR:JAGag21697)
chkeyおよびnewkeyのが正常に機能しませんでした。
解決方法:
chkeyおよびnewkeyのコードを修正しました。
-----------------------------------------------------------------------------
Patch Name: PHNE_35514
Patch Description: s700_800 11.23 RPC commands and daemons cumulative patch
Creation Date: 07/01/25
Post Date: 07/02/06
Hardware Platforms - OS Releases:
s700: 11.23
s800: 11.23
Products:
NFS B.11.23;
Filesets:
NFS.NFS-ENG-A-MAN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,v=HP
NFS.KEY-CORE,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP
NFS.NFS2-CLIENT,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP
NFS.NFS2-CORE,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP
NFS.NFS2-SERVER,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP
NFS.KEY-CORE,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP
NFS.NFS2-CLIENT,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP
NFS.NFS2-CORE,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP
NFS.NFS2-SERVER,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP
Automatic Reboot?: Yes
Status: General Release
Critical:
Yes
PHNE_35514: ABORT
PHNE_33102: ABORT MEMORY_LEAK
Category Tags:
defect_repair enhancement general_release critical
halts_system memory_leak
Path Name: /hp-ux_patches/s700_800/11.X/PHNE_35514
Symptoms:
PHNE_35514:
( SR:8606456394 CR:JAGag12805 )
If rpcbind is started with the "-l" option it dumps core.
( SR:8606461972 CR:JAGag17899 )
Some RPC daemons (rpc.rexd, rpc.rstatd, rpc.rusersd,
rpc.rwalld, and rpc.sprayd) cannot create a logfile if the
file name length exceeds 64 characters.
( SR:8606466173 CR:JAGag21697 )
Problem with chkey and newkey.
PHNE_35119:
( SR:8606379232 CR:JAGaf39481 )
The rstat(3N) man page incorrectly defines the size of
stats.cp_time, statswtch.cp_time, and statstime.cp_time.
( SR:8606394075 CR:JAGaf54115 )
This product update is a member of a set needed to enable
the optional HP-UX Enhanced Key Components feature. Upon
installation, the HP-UX Enhanced Key Components bundle
(ENHKEY) will install the full set of product updates
(including this one) to enable the HP-UX Enhanced Key
Components feature. If the HP-UX Enhanced Key Components
product is not installed, this product update will have no
impact on your system.
( SR:8606440810 CR:JAGaf98610 )
Incorrect permissions for logfiles.
PHNE_33102:
( SR:8606402638 CR:JAGaf62573 )
The rpc.rexd process does not log data to the wtmps
database.
( SR:8606405252 CR:JAGaf65172 )
The rpc.rquotad process increases in size and may dump core.
PHNE_32056:
( SR:8606379191 CR:JAGaf39440 )
Quotas cannot be established for user ID's greater than
67,000,000.
( SR:8606375121 CR:JAGaf35426 )
The on command fails with the error message "Unable to
mount" when executed from an AutoFS mount point.
( SR:8606375402 CR:JAGaf35705 )
The setoncenv command accepts AUTOMOUNT as a valid
configurable environment variable.
Defect Description:
PHNE_35514:
( SR:8606456394 CR:JAGag12805 )
When rpcbind calls the logging function, it incorrectly
passes a structure to the logging function instead of a
pointer to the structure. This causes rpcbind to dump core
on IPF systems.
Resolution:
Modified rpcbind to call the logging function with a pointer
to the structure.
( SR:8606461972 CR:JAGag17899 )
Buffer overflow occurs in some RPC daemons when the length
of the logfile name exceeds 64 characters. This causes the
creation of the logfile to fail.
Resolution:
Increased the size of the array that holds the logfile name
to the maximum path length. If the file name length exceeds
1023 characters, then the logfile name is truncated to 1023
characters.
( SR:8606466173 CR:JAGag21697 )
The chkey and newkey code does not function properly.
Resolution:
Modified the chkey and newkey code to fix the problem.
PHNE_35119:
( SR:8606379232 CR:JAGaf39481 )
The rstat(3N) man page is inconsistent with the code. This
can cause compilations using the cp_time field to fail.
Resolution:
Modified the rstat(3N) man page to correct the size of
stats.cp_time, statswtch.cp_time, and statstime.cp_time.
( SR:8606394075 CR:JAGaf54115 )
This product update contains minor enhancements required to
enable the HP-UX Enhanced Key Components feature.
Resolution:
Modified the key components to execute in enhanced mode in
the presence of the HP-UX Enhanced Key Components product.
Modified the man pages for the key components to include
information for using HP-UX Enhanced Key Components.
( SR:8606440810 CR:JAGaf98610 )
The logfiles created by the rpc.rexd, rpc.rstatd,
rpc.rusersd, rpc.rwalld, rpc.sprayd, and rpcbind daemons
allow all users to write to the file.
Resolution:
Only allow the file owner to have write permission.
PHNE_33102:
( SR:8606402638 CR:JAGaf62573 )
The rpc.rexd process still logs data to the wtmp database
instead of the wtmps database.
Resolution:
Modified rpc.rexd to log data to the wtmps database.
( SR:8606405252 CR:JAGaf65172 )
Memory allocated for arguments in rpc.rquotad is not freed.
This results in a memory leak which can lead to a core dump.
Resolution:
The memory allocated for arguments in rpc.rquotad is now
freed before returning from the function.
PHNE_32056:
( SR:8606379191 CR:JAGaf39440 )
There is a restriction that limits establishing quotas to
user ID's less than 67,000,000. The rpc.rquotad does not
currently support large files. Large files must be supported
to establish quotas for user ID's greater than or equal to
67,000,000.
Resolution:
Modified the rpc.rquotad to support large files. This
change, in conjunction with the optional HP-UX DiskQuota-Enh
feature, eliminates the restriction of only being able to
establish quotas for user ID's less than 67,000,000.
( SR:8606375121 CR:JAGaf35426 )
For an AutoFS loopback mount (LOFS), the filesystem name is
not passed correctly from the on command. This causes a
mount failure and thus the on command also fails.
Resolution:
Modified the on command to mount the correct filesystem for
loopback mounts (LOFS).
( SR:8606375402 CR:JAGaf35705 )
The AUTOMOUNT configurable environment variable was
obsoleted for the HP-UX 11i v2 release. The setoncenv
command was not modified to remove it.
Resolution:
Modified the setoncenv command so that AUTOMOUNT is not a
configurable variable. Removed references to AUTOMOUNT from
the setoncenv man page.
Enhancement:
No (superseded patches contained enhancements)
PHNE_35119:
Support added for the HP-UX Enhanced Key Components
product.
SR:
8606456394 8606461972 8606466173 8606379232 8606394075
8606440810 8606402638 8606405252 8606375121 8606375402
8606379191
Patch Files:
NFS.NFS-ENG-A-MAN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,v=HP:
/usr/share/man/man1.Z/chkey.1
/usr/share/man/man1m.Z/newkey.1m
/usr/share/man/man1m.Z/setoncenv.1m
/usr/share/man/man3.Z/getpublickey.3n
/usr/share/man/man3.Z/rstat.3n
/usr/share/man/man3.Z/getsecretkey.3n
/usr/share/man/man3.Z/havedisk.3n
/usr/share/man/man3.Z/publickey.3n
/usr/share/man/man3.Z/publickey.3r
/usr/share/man/man4.Z/publickey.4
NFS.KEY-CORE,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
/usr/bin/chkey
/usr/sbin/newkey
NFS.NFS2-CLIENT,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
/usr/bin/on
NFS.NFS2-CORE,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
/usr/sbin/rpcbind
/usr/sbin/setoncenv
NFS.NFS2-SERVER,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
/usr/sbin/rpc.rexd
/usr/sbin/rpc.rquotad
/usr/lib/netsvc/rstat/rpc.rstatd
/usr/lib/netsvc/rusers/rpc.rusersd
/usr/lib/netsvc/rwall/rpc.rwalld
/usr/lib/netsvc/spray/rpc.sprayd
NFS.KEY-CORE,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
/usr/bin/chkey
/usr/sbin/newkey
NFS.NFS2-CLIENT,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
/usr/bin/on
NFS.NFS2-CORE,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
/usr/sbin/rpcbind
/usr/sbin/setoncenv
NFS.NFS2-SERVER,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
/usr/sbin/rpc.rexd
/usr/sbin/rpc.rquotad
/usr/lib/netsvc/rstat/rpc.rstatd
/usr/lib/netsvc/rusers/rpc.rusersd
/usr/lib/netsvc/rwall/rpc.rwalld
/usr/lib/netsvc/spray/rpc.sprayd
what(1) Output:
NFS.NFS-ENG-A-MAN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,v=HP:
/usr/share/man/man1.Z/chkey.1:
None
/usr/share/man/man1m.Z/newkey.1m:
None
/usr/share/man/man1m.Z/setoncenv.1m:
None
/usr/share/man/man3.Z/getpublickey.3n:
None
/usr/share/man/man3.Z/rstat.3n:
None
/usr/share/man/man3.Z/getsecretkey.3n:
None
/usr/share/man/man3.Z/havedisk.3n:
None
/usr/share/man/man3.Z/publickey.3n:
None
/usr/share/man/man3.Z/publickey.3r:
None
/usr/share/man/man4.Z/publickey.4:
None
NFS.KEY-CORE,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
/usr/bin/chkey:
chkey.c $Date: 2006/08/10 17:46:50 $Revision: r11.23
/2 PATCH_11.23 (PHNE_35119)
chkey_common.c $Date: 2004/08/05 12:52:41 $Revision:
i380/3 PATCH_11.23 (PHKL_31500)
update.c $Date: 2006/12/05 10:54:31 $Revision: r11.2
3/1 PATCH_11.23 (PHNE_35514)
/usr/sbin/newkey:
newkey.c $Date: 2006/08/10 17:49:54 $Revision: r11.2
3/2 PATCH_11.23 (PHNE_35119)
chkey_common.c $Date: 2004/08/05 12:52:41 $Revision:
i380/3 PATCH_11.23 (PHKL_31500)
update.c $Date: 2006/12/05 10:54:31 $Revision: r11.2
3/1 PATCH_11.23 (PHNE_35514)
NFS.NFS2-CLIENT,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
/usr/bin/on:
on.c $Date: 2004/08/05 12:57:21 $Revision: i380/3 PA
TCH_11.23 (PHKL_31500)
where.c $Date: 2004/10/19 13:58:57 $Revision: r11.23
/2 PATCH_11.23 (PHNE_32056)
NFS.NFS2-CORE,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
/usr/sbin/rpcbind:
rpcb_svc_com.c $Date: 2006/12/01 10:59:22 $Revision:
r11.23/2 PATCH_11.23 (PHNE_35514)
rpcbind.c $Date: 2006/08/11 16:52:50 $Revision: r11.
23/3 PATCH_11.23 (PHNE_35119)
/usr/sbin/setoncenv:
setoncenv.c $Date: 2004/11/11 17:40:19 $Revision: r1
1.23/2 PATCH_11.23 (PHNE_32056)
NFS.NFS2-SERVER,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
/usr/sbin/rpc.rexd:
rexd.c $Date: 2006/12/01 11:03:41 $Revision: r11.23/
4 PATCH_11.23 (PHNE_35514)
unix_login.c $Date: 2005/07/11 10:58:15 $Revision: r
11.23/1 PATCH_11.23 (PHNE_33102)
/usr/sbin/rpc.rquotad:
rpc.rquota.c $Date: 2005/06/27 12:49:41 $Revision: r
11.23/3 PATCH_11.23 (PHNE_33102)
/usr/lib/netsvc/rstat/rpc.rstatd:
rpc.rstatd.c $Date: 2006/12/01 11:06:23 $Revision: r
11.23/3 PATCH_11.23 (PHNE_35514)
/usr/lib/netsvc/rusers/rpc.rusersd:
rpc.ruserd.c $Date: 2006/12/01 11:08:52 $Revision: r
11.23/3 PATCH_11.23 (PHNE_35514)
/usr/lib/netsvc/rwall/rpc.rwalld:
rpc.rwalld.c $Date: 2006/12/01 11:10:38 $Revision: r
11.23/3 PATCH_11.23 (PHNE_35514)
/usr/lib/netsvc/spray/rpc.sprayd:
rpc.sprayd.c $Date: 2006/12/01 11:16:56 $Revision: r
11.23/3 PATCH_11.23 (PHNE_35514)
NFS.KEY-CORE,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
/usr/bin/chkey:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
chkey.c $Date: 2006/08/10 17:46:50 $Revision: r11.23
/2 PATCH_11.23 (PHNE_35119)
chkey_common.c $Date: 2004/08/05 12:52:41 $Revision:
i380/3 PATCH_11.23 (PHKL_31500)
update.c $Date: 2006/12/05 10:54:31 $Revision: r11.2
3/1 PATCH_11.23 (PHNE_35514)
/usr/sbin/newkey:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
newkey.c $Date: 2006/08/10 17:49:54 $Revision: r11.2
3/2 PATCH_11.23 (PHNE_35119)
chkey_common.c $Date: 2004/08/05 12:52:41 $Revision:
i380/3 PATCH_11.23 (PHKL_31500)
update.c $Date: 2006/12/05 10:54:31 $Revision: r11.2
3/1 PATCH_11.23 (PHNE_35514)
NFS.NFS2-CLIENT,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
/usr/bin/on:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
on.c $Date: 2004/08/05 12:57:21 $Revision: i380/3 PA
TCH_11.23 (PHKL_31500)
where.c $Date: 2004/10/19 13:58:57 $Revision: r11.23
/2 PATCH_11.23 (PHNE_32056)
NFS.NFS2-CORE,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
/usr/sbin/rpcbind:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
rpcb_svc_com.c $Date: 2006/12/01 10:59:22 $Revision:
r11.23/2 PATCH_11.23 (PHNE_35514)
rpcbind.c $Date: 2006/08/11 16:52:50 $Revision: r11.
23/3 PATCH_11.23 (PHNE_35119)
/usr/sbin/setoncenv:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
setoncenv.c $Date: 2004/11/11 17:40:19 $Revision: r1
1.23/2 PATCH_11.23 (PHNE_32056)
NFS.NFS2-SERVER,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
/usr/sbin/rpc.rexd:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
rexd.c $Date: 2006/12/01 11:03:41 $Revision: r11.23/
4 PATCH_11.23 (PHNE_35514)
unix_login.c $Date: 2005/07/11 10:58:15 $Revision: r
11.23/1 PATCH_11.23 (PHNE_33102)
/usr/sbin/rpc.rquotad:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
rpc.rquota.c $Date: 2005/06/27 12:49:41 $Revision: r
11.23/3 PATCH_11.23 (PHNE_33102)
/usr/lib/netsvc/rstat/rpc.rstatd:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
rpc.rstatd.c $Date: 2006/12/01 11:06:23 $Revision: r
11.23/3 PATCH_11.23 (PHNE_35514)
/usr/lib/netsvc/rusers/rpc.rusersd:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
rpc.ruserd.c $Date: 2006/12/01 11:08:52 $Revision: r
11.23/3 PATCH_11.23 (PHNE_35514)
/usr/lib/netsvc/rwall/rpc.rwalld:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
rpc.rwalld.c $Date: 2006/12/01 11:10:38 $Revision: r
11.23/3 PATCH_11.23 (PHNE_35514)
/usr/lib/netsvc/spray/rpc.sprayd:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
rpc.sprayd.c $Date: 2006/12/01 11:16:56 $Revision: r
11.23/3 PATCH_11.23 (PHNE_35514)
cksum(1) Output:
NFS.NFS-ENG-A-MAN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,v=HP:
1518378747 1692 /usr/share/man/man1.Z/chkey.1
2855734738 2023 /usr/share/man/man1m.Z/newkey.1m
2463950706 1184 /usr/share/man/man1m.Z/setoncenv.1m
111702636 1927 /usr/share/man/man3.Z/getpublickey.3n
2871883230 2717 /usr/share/man/man3.Z/rstat.3n
111702636 1927 /usr/share/man/man3.Z/getsecretkey.3n
2871883230 2717 /usr/share/man/man3.Z/havedisk.3n
111702636 1927 /usr/share/man/man3.Z/publickey.3n
111702636 1927 /usr/share/man/man3.Z/publickey.3r
2786558148 1029 /usr/share/man/man4.Z/publickey.4
NFS.KEY-CORE,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
2738730824 105588 /usr/bin/chkey
3872309297 105828 /usr/sbin/newkey
NFS.NFS2-CLIENT,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
2093102061 61964 /usr/bin/on
NFS.NFS2-CORE,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
2055251853 171628 /usr/sbin/rpcbind
2754333432 13756 /usr/sbin/setoncenv
NFS.NFS2-SERVER,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
972017210 101604 /usr/sbin/rpc.rexd
1876100699 28284 /usr/sbin/rpc.rquotad
2718041511 52444 /usr/lib/netsvc/rstat/rpc.rstatd
2152182833 43180 /usr/lib/netsvc/rusers/rpc.rusersd
1576375902 33844 /usr/lib/netsvc/rwall/rpc.rwalld
2084738763 33700 /usr/lib/netsvc/spray/rpc.sprayd
NFS.KEY-CORE,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
2534561397 61440 /usr/bin/chkey
1022930964 61440 /usr/sbin/newkey
NFS.NFS2-CLIENT,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
3774739197 49152 /usr/bin/on
NFS.NFS2-CORE,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
2923530552 102400 /usr/sbin/rpcbind
3892852286 24576 /usr/sbin/setoncenv
NFS.NFS2-SERVER,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
102186988 61440 /usr/sbin/rpc.rexd
3864708884 32768 /usr/sbin/rpc.rquotad
4275226130 45056 /usr/lib/netsvc/rstat/rpc.rstatd
561027550 36864 /usr/lib/netsvc/rusers/rpc.rusersd
891602918 32768 /usr/lib/netsvc/rwall/rpc.rwalld
3911503403 32768 /usr/lib/netsvc/spray/rpc.sprayd
Patch Conflicts: None
Patch Dependencies:
s700: 11.23: PHKL_31500
s800: 11.23: PHKL_31500
Hardware Dependencies: None
Other Dependencies: None
Supersedes:
PHNE_35119 PHNE_33102 PHNE_32056
Equivalent Patches: None
Patch Package Size: 620 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 PHNE_35514
5. Run swinstall to install the patch:
swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHNE_35514.depot
By default swinstall will archive the original software in
/var/adm/sw/save/PHNE_35514. 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 PHNE_35514.text file is
available in the product readme:
swlist -l product -a readme -d @ /tmp/PHNE_35514.depot
To put this patch on a magnetic tape and install from the
tape drive, use the command:
dd if=/tmp/PHNE_35514.depot of=/dev/rmt/0m bs=2k
Special Installation Instructions: None
|