userland dtrace tools not working in jail

Kurt Jaeger lists at opsec.eu
Thu Jul 21 17:47:25 UTC 2011


Hi!

> > I try to use dtrace in jail on FreeBSD-9-64.
[...]
> > open("/boot/kernel/kernel",O_RDONLY,00)          ERR#2 'No such file
> > or directory'
> 
> Here's your problem ^^^.
> 
> dtrace extracts CTF information from the binaries. In case of kernel
> probes, that would be the kernel itself and loadable modules. All that
> stuff lives in /boot and is not accessible from your jail.

If he copied /boot to the jail, would it work ?

-- 
pi at opsec.eu            +49 171 3101372                         9 years to go !


More information about the freebsd-hackers mailing list