From owner-freebsd-questions@FreeBSD.ORG Fri Sep 3 20:23:34 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 AB66910656D9 for ; Fri, 3 Sep 2010 20:23:34 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.freebsd.org (Postfix) with ESMTP id 3E2DD8FC1B for ; Fri, 3 Sep 2010 20:23:33 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id o83KNWam007183; Fri, 3 Sep 2010 22:23:32 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 380C2BAA4; Fri, 3 Sep 2010 22:23:32 +0200 (CEST) Date: Fri, 3 Sep 2010 22:23:32 +0200 From: Roland Smith To: David DEMELIER Message-ID: <20100903202331.GA19492@slackbox.erewhon.net> References: <20100816181703.GB66710@slackbox.erewhon.net> <20100816225715.GA35248@slackbox.erewhon.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner 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:23:34 -0000 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 : >=20 > markand@Orange ~ $ sudo jexec 1 tcsh > # su - > People# ls -l /dev/pts/* > crw--w---- 1 zazak tty 0, 118 3 Sep 20:39 /dev/pts/0 > crw--w---- 1 zazak tty 0, 99 3 Sep 07:07 /dev/pts/4 > crw--w---- 1 zazak tty 0, 94 3 Sep 20:39 /dev/pts/6 That looks OK. > People# who > zazak pts/0 1 Sep 19:07 (92.147.166.20:S.) > zazak pts/4 10 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 module = or built into the kernel. It's not in the GENERIC kernel. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkyBWUMACgkQEnfvsMMhpyUGPACeO6ZcZMKF8cUt64AxkUzl+Irn SlwAn1/jRLgoUXEzBr82TQC9ff3f6M/A =pYmN -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR--