Date: Thu, 21 Jul 2011 19:47:25 +0200 From: Kurt Jaeger <lists@opsec.eu> To: Artem Belevich <art@freebsd.org> Cc: freebsd-hackers <freebsd-hackers@freebsd.org>, freebsd-jail <freebsd-jail@freebsd.org>, Subbsd <subbsd@gmail.com> Subject: Re: userland dtrace tools not working in jail Message-ID: <20110721174725.GG1202@home.opsec.eu> In-Reply-To: <CAFqOu6hOqwo_89pmfnv_eFFZGx=LPHKb5C7f33ji_tV-vCMN6Q@mail.gmail.com> References: <CAFt_eMpw6boxJEOfzWoGkGTRgG55MuUZ9frsgPFfG6C%2B9Ps3kA@mail.gmail.com> <CAFqOu6hOqwo_89pmfnv_eFFZGx=LPHKb5C7f33ji_tV-vCMN6Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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?20110721174725.GG1202>
