Date: Thu, 21 Jul 2011 22:11:54 +0400 From: Subbsd <subbsd@gmail.com> To: Kurt Jaeger <lists@opsec.eu> Cc: Artem Belevich <art@freebsd.org>, freebsd-jail <freebsd-jail@freebsd.org>, freebsd-hackers <freebsd-hackers@freebsd.org> Subject: Re: userland dtrace tools not working in jail Message-ID: <CAFt_eMoR9shvug2dq3kEz%2Bzvf1r9fAX3=qfWYaiLqRjdVQtf0w@mail.gmail.com> In-Reply-To: <20110721174725.GG1202@home.opsec.eu> References: <CAFt_eMpw6boxJEOfzWoGkGTRgG55MuUZ9frsgPFfG6C%2B9Ps3kA@mail.gmail.com> <CAFqOu6hOqwo_89pmfnv_eFFZGx=LPHKb5C7f33ji_tV-vCMN6Q@mail.gmail.com> <20110721174725.GG1202@home.opsec.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi
On 7/21/11, Kurt Jaeger <lists@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@freebsd.org> was right!
Copy of my /boot to jail solve my problem. Thanks you, all!
May be necessary to document this moment?
>
> --
> pi@opsec.eu +49 171 3101372 9 years to go
> !
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFt_eMoR9shvug2dq3kEz%2Bzvf1r9fAX3=qfWYaiLqRjdVQtf0w>
