I just ran the following on my snv_129 system:

nice -n 15 pkg image-update -v --be-name opensolaris_132

and this is what I saw:

...
Download: SUNWthunderbirdl10n-extra ...  Done
Action removal failed for 'var/core' (pkg://opensolaris.org/OSOLvpanels):
 OSError: [Errno 16] Device busy: '/tmp/tmp59s9_D/var/core'
 The running system has not been modified. Modifications were only made to a 
clone of the running system.  This clone is mounted at /tmp/tmp59s9_D should 
you wish to inspect it.
pkg: An unexpected error happened during image-update: [Errno 16] Device busy: 
'/tmp/tmp59s9_D/var/core'
Traceback (most recent call last):
  File "/usr/bin/pkg", line 3139, in handle_errors
    __ret = func(*args, **kwargs)
  File "/usr/bin/pkg", line 3116, in main_func
    return func(img, pargs)
  File "/usr/bin/pkg", line 947, in image_update
    ret_code = __api_execute_plan(op, api_inst)
  File "/usr/bin/pkg", line 615, in __api_execute_plan
    api_inst.execute_plan()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 587, in 
execute_plan
    self.__img.imageplan.execute()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 849, 
in execute
    p.execute_removal(src, dest)
  File "/usr/lib/python2.6/vendor-packages/pkg/client/pkgplan.py", line 262, in 
execute_removal
    src.remove(self)
  File "/usr/lib/python2.6/vendor-packages/pkg/actions/directory.py", line 124, 
in remove
    os.rmdir(path)
OSError: [Errno 16] Device busy: '/tmp/tmp59s9_D/var/core'

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 '512c6b2dfda2'.
Removal Phase ... 
=================================================================================

Here is some info on /tmp/tmp59s9_D/var/core:

# df -h /tmp/tmp59s9_D/var/core
Filesystem             size   used  avail capacity  Mounted on
pool/core              228G   8.5G   4.9G    64%    /var/core

# ls /tmp/tmp59s9_D/var/core   
dbx.25154.core              firefox-bin.1100.core       firefox-bin.1831.core   
    firefox-bin.3188.core
firefox-bin.5421.core       firefox-bin.7762.core       gam_server.1016.core    
    gnome-vfs-daemon.224.core
gssd.1292.core              gssd.23299.core             gssd.759.core           
    gssd.776.core
iiimd.23959.core            iiimd.23960.core            iiimd.673.core          
    java.3071.core
kadmin.local.4363.core      kcfd.2615.core              kinit.1107.core         
    kinit.29686.core
ksh93.21776.core            ksh93.27420.core            mutt.24968.core         
    openct-control.20692.core
openct-control.20715.core   pcscd.2750.core             scanf.328.core          
    scanf.337.core
scanf.546.core              snmpd.5229.core             start-openct.20691.core 
    su.24942.core
su.25297.core               su.25308.core

Is this a known issue and is there a fix/workaround?

-- 
Will Fiveash
Sun Microsystems Inc.
http://opensolaris.org/os/project/kerberos/
Sent from mutt, a sweet ASCII MUA

Reply via email to