Date: Mon, 16 Aug 2010 20:17:03 +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: <20100816181703.GB66710@slackbox.erewhon.net> In-Reply-To: <AANLkTikPvVqcOAdk3EJBmmP-6_AkFs-TuQnNqbi2r=Vr@mail.gmail.com> References: <AANLkTikPvVqcOAdk3EJBmmP-6_AkFs-TuQnNqbi2r=Vr@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Mon, Aug 16, 2010 at 11:23:00AM +0200, David DEMELIER wrote: > Hi, > > I enabled `device snp' in my kernel config file and with this I can > use the command watch(8) to see any tty device attached. For example : > > # watch ttyv0 > > Give me the output of the console. > > But in jails, it's not the same thing, I tried the following : > > # jexec 1 tcsh > # su - > People# watch pts/0 > watch: fatal: cannot open snoop device > > Is there a limitation of watch(8), or jails ? Does /dev/pts/0 actually exist in the jail's devfs instance, and are its permissions correct? Roland -- 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) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxpgJ8ACgkQEnfvsMMhpyVNXwCgpYGC/uZXruPtFc8Y10/jje8i usgAn0mz4mcS8lXk8WlTNdFci9BpNsle =ds3F -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100816181703.GB66710>
