After installing via the OpenSolaris install CD I ran the GUI package
manager and installed a number of packages into a new BE using release
snv_111:
OpenSolaris 2009.06 snv_111b X86
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 07 May 2009
After booting the new snv_111b BE I ran pkg verify which is reporting
a number of errors. Here are the ones that disturb me:
pkg:/SUNWcs ERROR
file: var/spool/cron/crontabs/root
Group: 'root' should be 'sys'
file: etc/nsswitch.conf
Group: 'root' should be 'sys'
hardlink: etc/rc2.d/S82mkdtab
No such path etc/rc2.d/S82mkdtab
pkg:/SUNWcsl ERROR
file: lib/libc.so.1
Elfhash: 68ac78f98877a18b923037575f48523db53b86da should be
f3f56d9b84d30021ff9bae075bb87275a789cb06
pkg:/SUNWgrub ERROR
file: boot/grub/stage2_eltorito
Hash: d065a5c0b1849da1852c68efcd1437668feff7c4 should be
42fc70438b5f70842e5895465d468d8372da4bb1
file: boot/grub/menu.lst
File does not exist
Note that bootadm list-menu outputs:
the location for the active GRUB menu is: /rpool/boot/grub/menu.lst
0 OpenSolaris 2009.06 initial install
1 opensolaris-111-1 (stable)
2 opensolaris-118 (unstable)
3 opensolaris 117 full install
When I then run pkg fix I see:
Traceback (most recent call last):
File "/usr/bin/pkg", line 2598, in ?
__ret = main_func()
File "/usr/bin/pkg", line 2555, in main_func
return fix_image(img, pargs)
File "/usr/bin/pkg", line 392, in fix_image
success = img.repair(repairs, progresstracker)
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 823, in
repair
ip.execute()
File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 729,
in execute
p.execute_update(src, dest)
File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 271, in
execute_update
dest.install(self, src)
File "/usr/lib/python2.4/vendor-packages/pkg/actions/file.py", line 197, in
install
portable.rename(temp, final_path)
File "/usr/lib/python2.4/vendor-packages/pkg/portable/os_unix.py", line 197,
in rename
os.rename(src, dst)
OSError: [Errno 16] Device busy
pkg: This is an internal error. Please let the developers know about this
problem by filing a bug at http://defect.opensolaris.org and including the
above traceback and this message. The version of pkg(5) is '26c3e2407c53'.
Update Phase ... Action upgrade failed for 'lib/libc.so.1' (pkg:/SUNWcsl):
OSError: [Errno 16] Device busy
============================== end of output ============================
Are these known problems?
I've also noticed that if I run "pkg verify -v" I see:
pkg:/SUNWcs ERROR
file: usr/bin/cat
Warning: package may contain bobcat! (http://xkcd.com/325/)
file: var/spool/cron/crontabs/root
Group: 'root' should be 'sys'
file: etc/nsswitch.conf
Group: 'root' should be 'sys'
hardlink: etc/rc2.d/S82mkdtab
No such path etc/rc2.d/S82mkdtab
and while mildly amusing I'm not sure the bobcat remark belongs in pkg
verify output.
--
Will Fiveash
Sun Microsystems Inc.
http://opensolaris.org/os/project/kerberos/
Sent from mutt, a sweet ASCII MUA