OpenSolaris

Printable Version Enter a New Search
Bug ID 6656105
Synopsis SUNWatigfx postinstall failure - Cannot access file (/a/etc/minor_perm)
State 10-Fix Delivered (Fix available in build)
Category:Subcategory consolidation:os-net-pkgs
Keywords
Responsible Engineer Randy Fishel
Reported Against snv_82
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_84
Fixed In snv_84
Release Fixed solaris_nevada(snv_84)
Related Bugs 6396468 , 6662466
Submit Date 28-January-2008
Last Update Date 27-February-2008
Description
The SUNWatigfx has a postinstall failure seen in all installs in the install_log.

Cannot access file (/a/etc/minor_perm).
pkgadd: ERROR: postinstall script did not complete successfully

Installation of <SUNWatigfx> failed.


The minor_perm is part of the SUNWcsd.  The SUNWatigfx package does not have a depend file which should contain a dependency on SUNWcsd.
This also shows up during snv_82 when we try to setup an x86 diskless client, this will fail as follow:

 /usr/sadm/bin/smosservice add -H line3-v480:898 -u root -p ins123 -- -o line3-v480 -x mediapath=/net/ins3525-svr/export/nv/x/82_lxml_staroffice -x platform=i386.i86pc.Solaris_11 -x cluster=SUNWCXall -x locale= 
Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli from line3-v480:898
Login to line3-v480 as user root was successful.
Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from line3-v480:898 was successful.
Feb  5 18:32:31 line3-v480 su: 'su root' succeeded for ding on /dev/pts/1
Feb  5 20:23:24 line3-v480 WBEM_Logging_Service[29608]: Failed to create clone area /export/root/clone/Solaris_11/i86pc.
Failed to create clone area /export/root/clone/Solaris_11/i86pc.

Looking at the /var/sadm/wbem/log/wbem_log, the following error was seen:

# cd /var/sadm/wbem/log
# ls
wbem_log
# strings wbem_log | more
Solaris_OsService@#@0@#@0@#@root@#@line3-v480@#@line3-v480@#@1202271804882@#@Sys
tem command return value.@#@System command, /usr/sbin/pkgadd -S -n -R /export/ro
ot/clone/Solaris_11/i86pc -a /tmp/admin.DOaGly -d /export/root/templates/Solaris
_11/SUNWatigfx_11.11,REV=2008.01.23.01.20_i386.all all, returned value of: 
NAME=i.none
FILELIST=/export/root/clone/Solaris_11/i86pc/var/sadm/pkg/SUNWatigfx/save/fileli
st
( a big list of output)
+ shift 6 
drvname=atiatom
cmd=add_drv -b /export/root/clone/Solaris_11/i86pc -m '* 0644 root sys' -i '
"pci1002,4752" 
' atiatom
+ /usr/bin/grep ^atiatom[ 
] /export/root/clone/Solaris_11/i86pc/etc/name_to_major 
+ [ 2 -ne 0 ] 
+ eval add_drv -b /export/root/clone/Solaris_11/i86pc -m '* 0644 root sys' -i ' 
"pci1002,4752" ' atiatom 
+ add_drv -b /export/root/clone/Solaris_11/i86pc -m * 0644 root sys -i  "pci1002
,4752"  atiatom 
No such file or directory
Cannot access file (/export/root/clone/Solaris_11/i86pc/etc/minor_perm).
EXIT=1
+ exit 1 
pkgadd: ERROR: postinstall script did not complete successfully
Installation of <SUNWatigfx> failed.
.@#@null@#@0@#@0@#@off@#@
Solaris_OsService@#@0@#@0@#@root@#@line3-v480@#@line3-v480@#@1202271804886@#@Cre
ating clone area.@#@Creating clone area /export/root/clone/Solaris_11/i86pc.@#@n
ull@#@0@#@0@#@off@#@
Work Around
N/A
Comments
N/A