From owner-freebsd-questions@FreeBSD.ORG Fri Sep 3 20:51:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA8B310656E1 for ; Fri, 3 Sep 2010 20:51:13 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 74A8D8FC1A for ; Fri, 3 Sep 2010 20:51:12 +0000 (UTC) Received: by bwz20 with SMTP id 20so2288885bwz.13 for ; Fri, 03 Sep 2010 13:51:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zV//ybgSjpywaF2Fk7zncvBu5l2qB1EEfKdRGdCXWl4=; b=E9EGrDCFOqMNWV2x+AdWlnow8j+vPM37ZMrugJ0HvrDRlPMVDjwvGUXRJjPOfc9Xw+ drlb8BjqPlTmaUDwfx/mjEjDsnOfEF9YpxpHm+YY8Ha3wFU7JbIfdE1nW7pmkbFd8/dN l5eGtLi2t+bKnacr7eGflzm4Tg0qqogSoX8q8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LLWpB4s96GbR9K9sDXgdYnrkNWkLwXlgHptPfPS1LQ2vjnvu/ouhD7CCs3aLEB14sl vaffjhgYZVjlJd1bSfQ1T+RPKeDenDGhCKvq62bdHC+pFyCf0vml1EPgdJn086ZgkPfL w8H0f6aFT4+6AUxURtXtiV5wKPt+1mcYk/xfo= MIME-Version: 1.0 Received: by 10.204.160.90 with SMTP id m26mr159139bkx.45.1283547071934; Fri, 03 Sep 2010 13:51:11 -0700 (PDT) Received: by 10.204.80.167 with HTTP; Fri, 3 Sep 2010 13:51:11 -0700 (PDT) In-Reply-To: <20100903202331.GA19492@slackbox.erewhon.net> References: <20100816181703.GB66710@slackbox.erewhon.net> <20100816225715.GA35248@slackbox.erewhon.net> <20100903202331.GA19492@slackbox.erewhon.net> Date: Fri, 3 Sep 2010 22:51:11 +0200 Message-ID: From: David DEMELIER To: Roland Smith Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: watch(8) does not work in jails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2010 20:51:14 -0000 2010/9/3 Roland Smith : > On Fri, Sep 03, 2010 at 08:40:01PM +0200, David DEMELIER wrote: >> Sorry I made a mistake while I was writing. In fact there is the >> permissions in the jail : >> >> markand@Orange ~ $ sudo jexec 1 tcsh >> # su - >> People# ls -l /dev/pts/* >> crw--w---- =C2=A01 zazak =C2=A0tty =C2=A0 =C2=A00, 118 =C2=A03 Sep 20:39= /dev/pts/0 >> crw--w---- =C2=A01 zazak =C2=A0tty =C2=A0 =C2=A00, =C2=A099 =C2=A03 Sep = 07:07 /dev/pts/4 >> crw--w---- =C2=A01 zazak =C2=A0tty =C2=A0 =C2=A00, =C2=A094 =C2=A03 Sep = 20:39 /dev/pts/6 > > That looks OK. > >> People# who >> zazak =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pts/0 =C2=A0 =C2=A0 1 Sep 19:07= (92.147.166.20:S.) >> zazak =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pts/4 =C2=A0 =C2=A010 Aug 16:00= (92.147.166.20:S.) >> People# watch pts/0 >> watch: fatal: cannot open snoop device > > For watch(1) to work, you need the device snp(4) either loaded as a modul= e or > built into the kernel. It's not in the GENERIC kernel. > > Roland > -- > R.F.Smith =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://www.xs4all.n= l/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 =C2=A0B7CE 1277 EFB0 C321 A725 (KeyID: C321= A725) > As I said in the first post it's present in my kernel config. I did not built as module. --=20 Demelier David