I am running into a similar problem when running a script inside a zone.

Further inspection indicates that I cannot access the /proc filesystem inside of
the zone (as well as the /swap partition).

Is this proper behavior (I assume it is not). I don't see here any issues 
related
to 32 bit or 64 bit as it is in a zone and the commands below do work on the
global zone.

[pre]

bash-3.00# uname -a
SunOS cadco-zone4 5.10 Generic i86pc i386 i86pc

bash-3.00# echo a | sort
sort: getexecname() failed

bash-3.00# ls /proc
/proc: Value too large for defined data type
[/pre]

Follows the mount table for the zone:

[pre]
bash-3.00# mount
/ on / 
read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1980000
 on Wed Jul 19 11:26:36 2006
/dev on /dev read/write/setuid/devices/zonedevfs/dev=4640002 on Thu Aug 24 
17:33:02 2006
/lib on /lib read only/setuid/nodevices/nosub/dev=1980000 on Thu Aug 24 
17:33:02 2006
/platform on /platform read only/setuid/nodevices/nosub/dev=1980000 on Thu Aug 
24 17:33:02 2006
/sbin on /sbin read only/setuid/nodevices/nosub/dev=1980000 on Thu Aug 24 
17:33:02 2006
/usr on /usr read only/setuid/nodevices/nosub/dev=1980000 on Thu Aug 24 
17:33:02 2006
/proc on proc read/write/setuid/nodevices/zone=qa-demo01-zone0/dev=4400002 on 
Thu Aug 24 17:33:02 2006
/system/contract on ctfs 
read/write/setuid/nodevices/zone=qa-demo01-zone0/dev=43c0003 on Thu Aug 24 
17:33:02 2006
/etc/svc/volatile on swap 
read/write/setuid/nodevices/xattr/zone=qa-demo01-zone0/dev=4480007 on Thu Aug 
24 17:33:02 2006
/etc/mnttab on mnttab 
read/write/setuid/nodevices/zone=qa-demo01-zone0/dev=4440003 on Thu Aug 24 
17:33:02 2006
/lib/libc.so.1 on /usr/lib/libc/libc_hwcap1.so.1 
read/write/setuid/devices/zone=qa-demo01-zone0/dev=1980000 on Thu Aug 24 
17:33:03 2006
/dev/fd on fd read/write/setuid/nodevices/zone=qa-demo01-zone0/dev=4680003 on 
Thu Aug 24 17:33:03 2006
/tmp on swap read/write/setuid/nodevices/xattr/zone=qa-demo01-zone0/dev=4480008 
on Thu Aug 24 17:33:04 2006
/var/run on swap 
read/write/setuid/nodevices/xattr/zone=qa-demo01-zone0/dev=4480009 on Thu Aug 
24 17:33:04 2006

[/pre]
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to