From owner-freebsd-jail@FreeBSD.ORG Thu Jul 21 18:11:56 2011 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A93D106566B; Thu, 21 Jul 2011 18:11:56 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id CCA948FC18; Thu, 21 Jul 2011 18:11:55 +0000 (UTC) Received: by qyk30 with SMTP id 30so3998422qyk.13 for ; Thu, 21 Jul 2011 11:11:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=73hoMSCnRzI4RLfnzbtF9GdQd93hyev+wRZoQGGoSqk=; b=BP27TX+mDAERZNaXOwmDQXZ8dpFfSwbB0GdX9ubfROjdqEkH09qxIWellJ/oaTGt7I pBZ2T7zg8Z+KArO6iliNYECehROAGxV9bZfQ9koJ5czRgtD0D1a6ovakEaNmCVHERReR kric2/PcDROt/NDnI3xR5k/QGCvVJ+tvhU6Sw= MIME-Version: 1.0 Received: by 10.229.61.151 with SMTP id t23mr495069qch.245.1311271915099; Thu, 21 Jul 2011 11:11:55 -0700 (PDT) Received: by 10.229.219.19 with HTTP; Thu, 21 Jul 2011 11:11:54 -0700 (PDT) In-Reply-To: <20110721174725.GG1202@home.opsec.eu> References: <20110721174725.GG1202@home.opsec.eu> Date: Thu, 21 Jul 2011 22:11:54 +0400 Message-ID: From: Subbsd To: Kurt Jaeger Content-Type: text/plain; charset=ISO-8859-1 Cc: Artem Belevich , freebsd-jail , freebsd-hackers Subject: Re: userland dtrace tools not working in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2011 18:11:56 -0000 Hi On 7/21/11, Kurt Jaeger 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 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 > ! >