Date: Fri, 3 Sep 2010 22:23:32 +0200 From: Roland Smith <rsmith@xs4all.nl> To: David DEMELIER <demelier.david@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: watch(8) does not work in jails Message-ID: <20100903202331.GA19492@slackbox.erewhon.net> In-Reply-To: <AANLkTikcUfDos5sobb4FG-LPJuAEZMJp4mcZ1UAsOEkr@mail.gmail.com> References: <AANLkTikPvVqcOAdk3EJBmmP-6_AkFs-TuQnNqbi2r=Vr@mail.gmail.com> <20100816181703.GB66710@slackbox.erewhon.net> <AANLkTiku2SzjSVrSj3eZJnoY0dwbX4piKwOZ6R5ieoes@mail.gmail.com> <20100816225715.GA35248@slackbox.erewhon.net> <AANLkTikcUfDos5sobb4FG-LPJuAEZMJp4mcZ1UAsOEkr@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100903202331.GA19492>