From owner-freebsd-questions@FreeBSD.ORG Mon Aug 16 22:57:18 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 152E11065674 for ; Mon, 16 Aug 2010 22:57:18 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id 841A78FC15 for ; Mon, 16 Aug 2010 22:57:17 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id o7GMvFoM074226; Tue, 17 Aug 2010 00:57:15 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 96CBFBAA2; Tue, 17 Aug 2010 00:57:15 +0200 (CEST) Date: Tue, 17 Aug 2010 00:57:15 +0200 From: Roland Smith To: David DEMELIER Message-ID: <20100816225715.GA35248@slackbox.erewhon.net> References: <20100816181703.GB66710@slackbox.erewhon.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" 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: Mon, 16 Aug 2010 22:57:18 -0000 --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 17, 2010 at 12:09:23AM +0200, David DEMELIER wrote: > > Does /dev/pts/0 actually exist in the jail's devfs instance, and are its > > permissions correct? > > >=20 > (In jail) : >=20 > # ls -l /dev/pts/* > crw--w---- 1 markand tty 0, 94 17 Aug 00:06 /people/dev/pts/0 > crw--w---- 1 markand tty 0, 96 17 Aug 00:06 /people/dev/pts/1 > crw--w---- 1 root tty 0, 101 21 Jul 00:07 /people/dev/pts/2 > crw--w---- 1 markand tty 0, 108 17 Aug 00:06 /people/dev/pts/3 > crw--w---- 1 markand tty 0, 99 16 Aug 01:28 /people/dev/pts/4 > crw--w---- 1 markand tty 0, 112 17 Aug 00:05 /people/dev/pts/5 > crw--w---- 1 root tty 0, 111 17 Aug 00:06 /people/dev/pts/6 > crw--w---- 1 root tty 0, 114 16 Aug 23:53 /people/dev/pts/7 > crw--w---- 1 root tty 0, 100 17 Aug 00:06 /people/dev/pts/8 I think you mounted your devfs incorrectly or you started the jail in the wrong directory. If ls is run inside the jail, it should be /dev/pts/N, not /people/dev/pts/N! 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) --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxpwksACgkQEnfvsMMhpyU2lwCgm92JFTNN8qxCYGMZYo+RlfUI uRQAn0ihBH06yo+f7pJe5cMgXLpMsguU =admK -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--