userland dtrace tools not working in jail

Subbsd subbsd at gmail.com
Thu Jul 21 18:11:56 UTC 2011


Hi

On 7/21/11, Kurt Jaeger <lists at opsec.eu> wrote:
> 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 ?

Yes!  Artem Belevich <art at freebsd.org>  was right!
Copy of my /boot to jail solve my problem. Thanks you, all!
May be necessary to document this moment?

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


More information about the freebsd-hackers mailing list