Drew Balfour
2010-12-15 22:23:06 UTC
Howdy all,
I'm trying to run dtrace in an on10 branded zone on an onnv machine:
# zoneadm list -v
ID NAME STATUS PATH BRAND IP
0 global running / ipkg shared
10 zfstestzone running /export/home/zfstestzone solaris10 shared
I've given the zone dtrace privs:
# zonecfg -z zfstestzone info limitpriv
limitpriv: default,dtrace_proc,dtrace_user
but it doesn't seem to work:
# zlogin -l root zfstestzone
[Connected to zone 'zfstestzone' pts/7]
Last login: Wed Dec 15 08:14:17 on pts/7
Oracle Corporation SunOS 5.10 Generic Patch January 2005
You have new mail.
# dtrace -l | grep " stat "
78297 syscall stat entry
78298 syscall stat return
# dtrace -n 'syscall::stat:*' -c 'ls /'dtrace: description 'syscall::stat:*'
matched 2 probes
bin export mnt proc
ts-auto-pool.dat
boot home net rpool
usr
core kernel opt sbin
var
dev lib output.stf_execute.7348
system zfs-test-run.sh
etc lost+found platform tmp
zonepool
dtrace: pid 4879 has exited
#
Am I missing something? Is it not supposed to work, or is this a bug? Nothing
popped up in either a bug search, or a mail archive search.
Thanks,
Drew
I'm trying to run dtrace in an on10 branded zone on an onnv machine:
# zoneadm list -v
ID NAME STATUS PATH BRAND IP
0 global running / ipkg shared
10 zfstestzone running /export/home/zfstestzone solaris10 shared
I've given the zone dtrace privs:
# zonecfg -z zfstestzone info limitpriv
limitpriv: default,dtrace_proc,dtrace_user
but it doesn't seem to work:
# zlogin -l root zfstestzone
[Connected to zone 'zfstestzone' pts/7]
Last login: Wed Dec 15 08:14:17 on pts/7
Oracle Corporation SunOS 5.10 Generic Patch January 2005
You have new mail.
# dtrace -l | grep " stat "
78297 syscall stat entry
78298 syscall stat return
# dtrace -n 'syscall::stat:*' -c 'ls /'dtrace: description 'syscall::stat:*'
matched 2 probes
bin export mnt proc
ts-auto-pool.dat
boot home net rpool
usr
core kernel opt sbin
var
dev lib output.stf_execute.7348
system zfs-test-run.sh
etc lost+found platform tmp
zonepool
dtrace: pid 4879 has exited
#
Am I missing something? Is it not supposed to work, or is this a bug? Nothing
popped up in either a bug search, or a mail archive search.
Thanks,
Drew