 |
≫ |
|
|
 |
パッチ名: PHKL_36767
パッチ摘要: s700_800 11.23 VxFS 3.5 ACLパッチ
作成日: 07/06/22
公開日: 07/08/23
ハードウェアプラットフォームおよびOSリリース:
s700: 11.23
s800: 11.23
現象:
PHKL_36767:
(SR:8606444703 CR:JAGag02244)
親ディレクトリのデフォルトのACL数が8を超えると、mkdir(1)がENOSPCを返し
ます。"dir"ディレクトリを作成しようとすると、次のようなエラーメッセー
ジが表示されます。
"mkdir: cannot create dir: No space left on device"
問題点の説明:
PHKL_36767:
(SR:8606444703 CR:JAGag02244)
ディレクトリの作成時には、親ディレクトリのデフォルトのACLエントリが新
たなサブディレクトリに2度追加されます。最初に追加されるのは、その非デ
フォルトのACLエントリで、2度目に追加されるのは、サブディレクトリのデフ
ォルトのACLエントリです。VxFSバージョン5のファイルシステムでは、最大
1024個のACLがサポートされます。ところが、最大サポートACLエントリ数を決
定するロジックに誤りがあったため、親ディレクトリのデフォルトのACL数が8
を超えると、mkdirがENOSPCで異常終了していました。
解決方法:
ACL数の正しい上限値を使用するようにコードを修正しました。
-----------------------------------------------------------------------------
Patch Name: PHKL_36767
Patch Description: s700_800 11.23 VxFS 3.5 ACL patch
Creation Date: 07/06/22
Post Date: 07/08/23
Hardware Platforms - OS Releases:
s700: 11.23
s800: 11.23
Products: N/A
Filesets:
JFS.VXFS-BASE-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP
JFS.VXFS-BASE-KRN,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP
Automatic Reboot?: Yes
Status: General Release
Critical: No
Category Tags:
defect_repair general_release
Path Name: /hp-ux_patches/s700_800/11.X/PHKL_36767
Symptoms:
PHKL_36767:
( SR:8606444703 CR:JAGag02244 )
mkdir(1) returns ENOSPC when parent directory has more than
8 default ACLs. The following error is seen when attempting
to create a directory "dir".
"mkdir: cannot create dir: No space left on device"
Defect Description:
PHKL_36767:
( SR:8606444703 CR:JAGag02244 )
When a directory is created, the parent directory's
default ACL entries are added to the new subdirectory twice,
first as its non-default ACL entries, and second as the
subdirectory's default ACL entries. On a VxFS version 5
filesystem upto 1024 ACLs are supported. However,
due to a logic error in determining the maximum number of
ACL entries supported, mkdir fails with ENOSPC when the
parent directory has more than 8 default ACLs.
Resolution:
The code has been fixed to use the correct limit on the
number of ACLs.
Enhancement:
No
SR:
8606444703
Patch Files:
JFS.VXFS-BASE-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
/usr/conf/lib/libvxfs.a(vx_acl.o)
JFS.VXFS-BASE-KRN,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
/usr/conf/lib/libvxfs.a(vx_acl.o)
what(1) Output:
JFS.VXFS-BASE-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
/usr/conf/lib/libvxfs.a(vx_acl.o):
vx_acl.c $Date: 2007/06/18 02:39:21 $Revision: r11.2
3/2 PATCH_11.23 (PHKL_36767)
JFS.VXFS-BASE-KRN,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
/usr/conf/lib/libvxfs.a(vx_acl.o):
vx_acl.c $Date: 2007/06/18 02:39:21 $Revision: r11.2
3/2 PATCH_11.23 (PHKL_36767)
cksum(1) Output:
JFS.VXFS-BASE-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
3842880207 47496 /usr/conf/lib/libvxfs.a(vx_acl.o)
JFS.VXFS-BASE-KRN,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
4136304972 22936 /usr/conf/lib/libvxfs.a(vx_acl.o)
Patch Conflicts: None
Patch Dependencies:
s700: 11.23: PHKL_31500
s800: 11.23: PHKL_31500
Hardware Dependencies: None
Other Dependencies: None
Supersedes: None
Equivalent Patches: None
Patch Package Size: 50 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 PHKL_36767
5. Run swinstall to install the patch:
swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHKL_36767.depot
By default swinstall will archive the original software in
/var/adm/sw/save/PHKL_36767. 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 PHKL_36767.text file is
available in the product readme:
swlist -l product -a readme -d @ /tmp/PHKL_36767.depot
To put this patch on a magnetic tape and install from the
tape drive, use the command:
dd if=/tmp/PHKL_36767.depot of=/dev/rmt/0m bs=2k
Special Installation Instructions: None
|