Jerry Jelinek wrote:
Andrew Dishong wrote:
Getting the following error after trying to uninstall a zone,any ideas?

[lab-15k-c]:~\ # zoneadm -z test1 uninstall
Are you sure you want to uninstall zone test1 (y/[n])? y
rm: Unable to remove directory /zonesHA/test1/test1/root/usr/lib/cpu: File exists rm: Unable to remove directory /zonesHA/test1/test1/root/usr/lib: File exists
rm: Unable to remove directory /zonesHA/test1/test1/root/usr: File exists
rm: Unable to remove directory /zonesHA/test1/test1/root: File exists
zoneadm: zone 'test1': '/usr/bin/rm -rf' failed with exit code 2.

/usr/lib/cpu is not one of the files delivered by the base OS.

Hi,

Actually, it is - well it's not a file but a directory containing
cpu related libraries, like:

/usr/lib/cpu/sparcv8plus+vis/libmlib.so.2 f none 0555 root bin 34066720 1652 
1125338468 SUNWmlib
/usr/lib/cpu/sparcv8plus/libCstd_isa.so.1 f none 0755 root bin 167248 3111 
1132778371 SUNWlibC
/usr/lib/cpu/sparcv8plus/libmlib.so.2 f none 0555 root bin 36279924 35129 
1125338469 SUNWmlib
/usr/lib/cpu/sparcv9+vis/sparcv9/libmlib.so.2 f none 0555 root bin 37078988 
46869 1125338471 SUNWmlib
/usr/lib/cpu/sparcv9+vis2/libmlib.so.2 f none 0555 root bin 32034996 4352 
1125338472 SUNWmlib
/usr/lib/cpu/sparcv9+vis2/sparcv9/libmlib.so.2 f none 0555 root bin 34764372 
46904 1125338474 SUNWmlib


I would be more inclined to see if anything was loopback
(or otherwise) mounted into that directory from somewhere.

HTH,

=wb
I am guessing this is a file you somehow added to your system
with some unbundled software.  Do you have an application running
in the global zone that has this file open?  If you have an
application running in the global zone that is opening a file
in the non-global zone that could be a serious security risk.

Jerry
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to